
دراسة الثغرة 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 # Script para arrancar la VM con QEMU
├── shared/
│ └── poc.py # Proof of Concept del CVE
├── linux-vulnerable/ # Fuentes del kernel (checkout a v6.6.86)
└── Reporte.md # Análisis técnico completo