
Estudio del bug CVE-2026-31431
作者: Reyna Mendez Cristian Ignacio
git clone https://github.com/zKaaanon/ProyectoFinalSO.git
或直接从 GitHub 操作:
在 Codespace 终端中执行:
cd /workspaces/ProyectoFinalSO/linux-vulnerable
git remote add upstream https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
git fetch upstream v6.6.86
git checkout FETCH_HEAD
make olddefconfig
make bzImage -j$(nproc)
编译完成后应出现以下消息:
Kernel: arch/x86/boot/bzImage is ready
cd /workspaces/ProyectoFinalSO
./boot-vulnerable.sh
| 用户 | 密码 |
|---|---|
| attacker | attacker |
| root | root |
su -c "mount -t 9p -o trans=virtio host0 /mnt/shared" root
python3 /mnt/shared/poc.py
[*] uid actual : 1000
[*] splice(file->pipe) : 32 bytes
[*] splice(pipe->AEAD) : 32 bytes
[*] Error esperado (HMAC inválido): Bad message
[!] La escritura ocurrió ANTES de que fallara el HMAC
ProyectoFinalSO/
├── boot-vulnerable.sh # 用于使用 QEMU 启动虚拟机的脚本
├── shared/
│ └── poc.py # CVE 的概念验证
├── linux-vulnerable/ # 内核源码(检出到 v6.6.86)
└── Reporte.md # 完整技术分析