{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0dc0fa313bb4e86382a3e7125429710d44383196"
            },
            {
              "fixed": "5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "116008ada3d0de4991099edaf6b8c2e9cd6f225a"
            },
            {
              "fixed": "0081cbc9111627f30b55e37fb26b96eddce5aa2c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "05cbf6ddd9847c7b4f0662c048f195b09405a9d0"
            },
            {
              "fixed": "f5031e378e50aed563489db41c54a65356aca9ff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "f31173c19901a96bb2ebf6bcfec8a08df7095c91"
            },
            {
              "fixed": "6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c"
            },
            {
              "fixed": "6d9c2843d61183c4a9573f77d675ccbf8eba3e1e"
            },
            {
              "fixed": "2de6fe2980963a1b23676bff90e4def80646d162"
            },
            {
              "fixed": "ec3c1b42566e6a66f643cadbfd14bdb250c4bf02"
            },
            {
              "fixed": "418adcde99032194416248168df810535a1a93f9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "aedea161d031502a423ed1c7597754681a4f8cda"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "21f6a80d9234422e2eb445734b22c78fc5bf6719"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a92b67e768bde433b9385cde56c09deb58db269e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a458a8c1d1fc4e10a1813786132b09a3863ad3f2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.14.308"
            },
            {
              "fixed": "4.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.19.276"
            },
            {
              "fixed": "4.20"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.4.235"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.173"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.99"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.1.16"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.3"
            },
            {
              "fixed": "6.3"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142841.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: skip extra isize expansion while unmounting\n\nsyzbot reports a WARN from ext4_xattr_inode_create() reached through the\nunmount path:\n\n  EXT4-fs warning (device loop0): ext4_xattr_inode_create:1485: refuse to\n  create EA inode when umounting\n  WARNING: fs/ext4/xattr.c:1486 at ext4_xattr_inode_lookup_create\n   ext4_xattr_block_set\n   ext4_expand_extra_isize_ea\n   __ext4_expand_extra_isize\n   __ext4_mark_inode_dirty\n   ext4_dirty_inode\n   __mark_inode_dirty\n   sync_lazytime\n   iput\n   dentry_kill\n   shrink_dentry_list\n   shrink_dcache_for_umount\n   generic_shutdown_super\n   kill_block_super\n   ext4_kill_sb\n\nshrink_dcache_for_umount() clears s_root before generic_shutdown_super()\nclears SB_ACTIVE, so during the dcache shrink the last iput() of a\nlazytime inode still redirties it and reaches the isize expansion.  The\nexpansion can move xattrs out to a block, and creating the EA inode for\nthem needs s_root, which ext4_xattr_inode_create() refuses without.\n\next4_try_to_expand_extra_isize() already declines to expand when the\nsuperblock is not active, but that test does not cover this window.\nDecline while s_root is gone as well.  The expansion is best effort and\n__ext4_mark_inode_dirty() ignores its return value, so nothing else\nchanges; the inode can be expanded on a later mount.\n\nRunning the syzbot reproducer for 60 seconds produced 3583 splats before\nthis change and none after it, with the same number of mount cycles.",
  "id": "CVE-2026-142841",
  "modified": "2026-12-03T04:46:05.668772893Z",
  "published": "2026-12-03T03:20:52.637Z",
  "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/0081cbc9111627f30b55e37fb26b96eddce5aa2c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2de6fe2980963a1b23676bff90e4def80646d162"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/418adcde99032194416248168df810535a1a93f9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d9c2843d61183c4a9573f77d675ccbf8eba3e1e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ec3c1b42566e6a66f643cadbfd14bdb250c4bf02"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f5031e378e50aed563489db41c54a65356aca9ff"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142841.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142841"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ext4: skip extra isize expansion while unmounting"
}