PT-2026-163477

CVE-2026-139436

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
block: take i rwsem for the splice read path
def blk fops wires ->splice read directly to filemap splice read(), which allocates folios based on mapping min folio order() without any lock against set blocksize(). A splice from a block device can race set blocksize() raising the minimum folio order and insert a folio that is too small for the mapping. blkdev read iter() wraps filemap read() in inode lock shared() for this reason, but the splice path was missed.
Splicing from a block device while toggling the block size between 512 bytes and 64K with BLKBSZSET hits this within seconds on a CONFIG DEBUG VM kernel:
page dumped because: VM BUG ON FOLIO(folio order(folio) < mapping min folio order(mapping)) kernel BUG at mm/filemap.c:858! Oops: invalid opcode: 0000 [#1] SMP NOPTI RIP: 0010: filemap add folio+0x51c/0x570 Call Trace: filemap add folio+0x64/0x140 page cache ra order+0x1dd/0x3d0 filemap get pages+0x153/0x760 filemap splice read+0x13f/0x300 splice file to pipe+0xc0/0xd0 do splice+0x6a8/0x890 do splice+0xb0/0x210 x64 sys splice+0x80/0x100 do syscall 64+0x10e/0x520 entry SYSCALL 64 after hwframe+0x77/0x7f
Take inode lock shared() around filemap splice read(), like the read path does.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾