PT-2026-163176

CVE-2026-139135

·

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:
writeback: don't kick a missing wb for dontcache writes
With CONFIG CGROUP WRITEBACK, inode->i wb stays NULL until the inode is dirtied for the first time (folio account dirtied(), mark inode dirty() or wbc attach fdatawrite inode() attach it). generic write sync() calls filemap dontcache kick writeback() for every IOCB DONTCACHE write, including O DIRECT ones, which never dirty the page cache. The function then passes the NULL returned by unlocked inode to wb begin() to wb has dirty io():
fd = open("/dev/ram0", O WRONLY | O DIRECT); pwritev2(fd, &iov, 1, 0, RWF DONTCACHE);
BUG: KASAN: null-ptr-deref in filemap dontcache kick writeback+0xec Oops: general protection fault, probably for non-canonical address RIP: 0010:filemap dontcache kick writeback+0xfd/0x7a0
The task dies inside rcu read lock(). blkdev write iter() gets there for any block device whose page cache has not been dirtied yet. nfs file direct write() calls generic write sync() the same way.
An inode without a wb has never had dirty pages, so there is nothing to flush: skip the kick.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾