PT-2026-163176
CVE-2026-139135
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾