
Estudio del bug CVE-2026-31431
Auteur: Reyna Mendez Cristian Ignacio
git clone https://github.com/zKaaanon/ProyectoFinalSO.git
Ou directement depuis GitHub :
Depuis le terminal du 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)
À la fin de la compilation, le message suivant doit apparaître :
Kernel: arch/x86/boot/bzImage is ready
cd /workspaces/ProyectoFinalSO
./boot-vulnerable.sh
| Utilisateur | Mot de passe |
|---|---|
| attacker | attacker |
| root | root |
su -c "mount -t 9p -o trans=virtio host0 /mnt/shared" root
python3 /mnt/shared/poc.py
[*] uid actuel : 1000
[*] splice(file->pipe) : 32 bytes
[*] splice(pipe->AEAD) : 32 bytes
[*] Erreur attendue (HMAC invalide) : Bad message
[!] L'écriture a eu lieu AVANT que le HMAC ne faille
ProyectoFinalSO/
├── boot-vulnerable.sh # Script pour démarrer la VM avec QEMU
├── shared/
│ └── poc.py # Proof of Concept du CVE
├── linux-vulnerable/ # Sources du noyau (checkout sur v6.6.86)
└── Reporte.md # Analyse technique complète