Skip to main content
VulnerabilityPublished

CVE-2026-143105: Linux kernel · fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-143105· High

Not known to be exploited : upgrade to 37774263930a2965b7d50b70746b441dee2821c3 or 9b4b26d110f32008134750f82c98e621f2e4758f soon.

Data as of 3 Dec 2026, 13:17 UTC

Severity
High

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 37774263930a2965b7d50b70746b441dee2821c3, 9b4b26d110f32008134750f82c98e621f2e4758f

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to 37774263930a2965b7d50b70746b441dee2821c3 or 9b4b26d110f32008134750f82c98e621f2e4758f.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ c474bc56b6d147b40b96cfed6a30d8302cef0a33, < 37774263930a2965b7d50b70746b441dee2821c3
Fixed in
  • 37774263930a2965b7d50b70746b441dee2821c3
LinuxLinuxAffected
  • ≥ c474bc56b6d147b40b96cfed6a30d8302cef0a33, < 9b4b26d110f32008134750f82c98e621f2e4758f
Fixed in
  • 9b4b26d110f32008134750f82c98e621f2e4758f
LinuxLinuxAffected
  • =7.3
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU Since commit c474bc56b6d1 ("fs: Provide way for filesystem to wait for metadata writeback") ext2, ext4 without a journal, fat, udf and minix set I_METADATA_WRITEBACK on an inode whose metadata was copied into a buffer that might not have reached the disk yet. Only data integrity writeback, i.e. fsync() and friends, clears it again. The flusher and sync(2) leave it alone. inode_lru_isolate() treats every state bit other than I_REFERENCED as a reason not to reclaim the inode right now. It takes the inode off the LRU and relies on iput(), writeback completion or the removal of the last page from the page cache to put it back once the reason is gone. But I_METADATA_WRITEBACK doesn't go away on its own. iput() puts the inode back on the LRU with the bit still set and the next scan takes it off again. So neither memory pressure nor drop_caches can free these inodes. Only fsync() and friends or unmounting the filesystem get rid of them. On ext4 without a journal ext4_mark_iloc_dirty() sets the bit on every ext4_mark_inode_dirty(), so even an atime update is enough. An unprivileged user creating or touching lots of files grows the inode cache without bound until the OOM killer comes along. The inode can't just be thrown away though. An fsync() after the inode was read back in wouldn't know that its metadata still has to be written out. So let the shrinker reclaim inodes with I_METADATA_WRITEBACK like any other clean inode and make evict() write out what the bit tracks unless the inode is being deleted. Since the previous patch the bit covers the tracked metadata buffers as well, and since the lookup patches ->sync_inode_metadata() doesn't read anything from disk for that. It writes and waits for whatever is still dirty or under writeback. The mmb_sync() calls in ->evict_inode() are redundant with that and the following patches drop them. Handing these inodes to a work item that syncs them and puts them back on the LRU would work too. But that's a second inode reclaim offload mechanism next to the deferred inode reclaim that is being worked on, and it needs a reference on the inode which leaks into remount, freeze and umount. For stable this needs the previous patches as well. Without the lookup changes evict() ends up reading inode blocks from disk with __GFP_NOFAIL allocations from reclaim. v7.3 also still has bfs which sets I_METADATA_WRITEBACK too and reads the inode block in bfs_sync_inode_metadata(), so the backport needs the cache-only lookup for bfs as well.

References

Community reviews

Loading reviews…