{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c474bc56b6d147b40b96cfed6a30d8302cef0a33"
            },
            {
              "fixed": "37774263930a2965b7d50b70746b441dee2821c3"
            },
            {
              "fixed": "9b4b26d110f32008134750f82c98e621f2e4758f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.3.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143105.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs: don't strand I_METADATA_WRITEBACK inodes outside the LRU\n\nSince commit c474bc56b6d1 (\"fs: Provide way for filesystem to wait for\nmetadata writeback\") ext2, ext4 without a journal, fat, udf and minix\nset I_METADATA_WRITEBACK on an inode whose metadata was copied into a\nbuffer that might not have reached the disk yet. Only data integrity\nwriteback, i.e. fsync() and friends, clears it again. The flusher and\nsync(2) leave it alone.\n\ninode_lru_isolate() treats every state bit other than I_REFERENCED as a\nreason not to reclaim the inode right now. It takes the inode off the\nLRU and relies on iput(), writeback completion or the removal of the\nlast page from the page cache to put it back once the reason is gone.\n\nBut I_METADATA_WRITEBACK doesn't go away on its own. iput() puts the\ninode back on the LRU with the bit still set and the next scan takes it\noff again. So neither memory pressure nor drop_caches can free these\ninodes. Only fsync() and friends or unmounting the filesystem get rid\nof them.\n\nOn ext4 without a journal ext4_mark_iloc_dirty() sets the bit on every\next4_mark_inode_dirty(), so even an atime update is enough. An\nunprivileged user creating or touching lots of files grows the inode\ncache without bound until the OOM killer comes along.\n\nThe inode can't just be thrown away though. An fsync() after the inode\nwas read back in wouldn't know that its metadata still has to be\nwritten out. So let the shrinker reclaim inodes with\nI_METADATA_WRITEBACK like any other clean inode and make evict() write\nout what the bit tracks unless the inode is being deleted. Since the\nprevious patch the bit covers the tracked metadata buffers as well, and\nsince the lookup patches -\u003esync_inode_metadata() doesn't read anything\nfrom disk for that. It writes and waits for whatever is still dirty or\nunder writeback. The mmb_sync() calls in -\u003eevict_inode() are redundant\nwith that and the following patches drop them.\n\nHanding these inodes to a work item that syncs them and puts them back\non the LRU would work too. But that's a second inode reclaim offload\nmechanism next to the deferred inode reclaim that is being worked on,\nand it needs a reference on the inode which leaks into remount, freeze\nand umount.\n\nFor stable this needs the previous patches as well. Without the lookup\nchanges evict() ends up reading inode blocks from disk with\n__GFP_NOFAIL allocations from reclaim. v7.3 also still has bfs which\nsets I_METADATA_WRITEBACK too and reads the inode block in\nbfs_sync_inode_metadata(), so the backport needs the cache-only lookup\nfor bfs as well.",
  "id": "CVE-2026-143105",
  "modified": "2026-12-03T10:45:58.703740572Z",
  "published": "2026-12-03T09:19:22.459Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/37774263930a2965b7d50b70746b441dee2821c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b4b26d110f32008134750f82c98e621f2e4758f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143105.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143105"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU"
}