PT-2026-167243

CVE-2026-143385

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
9p: fall back to the normal open path for non-regular files
v9fs vfs atomic open() and v9fs vfs atomic open dotl() call finish open(file, dentry, generic file open) regardless of the file type the server reported for the created dentry. The supplied callback replaces f op->open in do dentry open(), so blkdev open() never runs for a server-reported device node: an open() with O CREAT succeeds with f op = def blk fops while f mapping still points at the 9p inode, because the bdev mapping swap only happens inside blkdev open(). The block file methods then derive their block device from that inode with I BDEV(); the loads land at the tail of a 656-byte v9fs inode cache object (offsets +624 and +632), which KASAN reports as slab-out-of-bounds, and the garbage they read is then dereferenced, so the first read(), write(), ioctl() or close() ends in a NULL pointer write and a panic. In the ioctl(BLKGETSIZE64) variant the value read this way is returned to userspace.
The server controls the file type reported for the create, so a malicious server can crash the client this way. KASAN report of the read() variant, on a build of linux-stable 2709dd5ae32f:
BUG: KASAN: slab-out-of-bounds in blkdev read iter+0x3cd/0x440 Read of size 8 at addr ffff88800828ceb0 by task repro/1
Call Trace: dump stack lvl+0x7b/0xa0 print report+0xd0/0x630 kasan report+0xe5/0x120 blkdev read iter+0x3cd/0x440 vfs read+0x718/0xa50 ksys read+0x10f/0x200 do syscall 64+0xdd/0x4a0 entry SYSCALL 64 after hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88800828cc40 which belongs to the cache v9fs inode cache of size 656 The buggy address is located 624 bytes inside of allocated 656-byte region [ffff88800828cc40, ffff88800828ced0)
A plain open() without O CREAT is not affected: it runs blkdev open() and either maps the device correctly or fails with -ENXIO for an rdev with no registered device. When the created inode is not a regular file, clunk the fid the create opened. The unopened fid is already on the dentry. Set FMODE CREATED and return finish no open(file, NULL) so the VFS keeps its dentry reference and calls the inode's ->open. Regular files still use finish open() with generic file open.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾