CVE-2026-142841 ext4: skip extra isize expansion while unmounting
linux linux: no CVSS score yet. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
On this page
In the Linux kernel, the following vulnerability has been resolved:
ext4: skip extra isize expansion while unmounting
syzbot reports a WARN from ext4_xattr_inode_create() reached through the
unmount path:
EXT4-fs warning (device loop0): ext4_xattr_inode_create:1485: refuse to
create EA inode when umounting
WARNING: fs/ext4/xattr.c:1486 at ext4_xattr_inode_lookup_create
ext4_xattr_block_set
ext4_expand_extra_isize_ea
__ext4_expand_extra_isize
__ext4_mark_inode_dirty
ext4_dirty_inode
__mark_inode_dirty
sync_lazytime
iput
dentry_kill
shrink_dentry_list
shrink_dcache_for_umount
generic_shutdown_super
kill_block_super
ext4_kill_sb
shrink_dcache_for_umount() clears s_root before generic_shutdown_super()
clears SB_ACTIVE, so during the dcache shrink the last iput() of a
lazytime inode still redirties it and reaches the isize expansion. The
expansion can move xattrs out to a block, and creating the EA inode for
them needs s_root, which ext4_xattr_inode_create() refuses without.
ext4_try_to_expand_extra_isize() already declines to expand when the
superblock is not active, but that test does not cover this window.
Decline while s_root is gone as well. The expansion is best effort and
__ext4_mark_inode_dirty() ignores its return value, so nothing else
changes; the inode can be expanded on a later mount.
Running the syzbot reproducer for 60 seconds produced 3583 splats before
this change and none after it, with the same number of mount cycles.
- EPSS
- 0.4% estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.10.275
- Linux Linux: fixed in 5.15.226
- Linux Linux: fixed in 6.1.193
- Linux Linux: fixed in 6.6.163
- Linux Linux: fixed in 6.12.117
- Linux Linux: fixed in 6.18.63
- Linux Linux: fixed in 7.3.4
- Linux Linux: fixed in 7.4-rc1
- Debian: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142841 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142841?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142841?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142841 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | from 5.10.173 before 5.10.275 |
| Linux | from 5.15.99 before 5.15.226 |
| Linux | from 6.1.16 before 6.1.193 |
| Linux | from 4.14.308 before 4.15 |
| Linux | from 4.19.276 before 4.20 |
| Linux | from 5.4.235 before 5.5 |
| Linux | from 6.2.3 before 6.3 |
| Linux | 6.3 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.10 | 5.10.275 |
| Linux | 5.15 | 5.15.226 |
| Linux | 6.1 | 6.1.193 |
| Linux | 6.6 | 6.6.163 |
| Linux | 6.12 | 6.12.117 |
| Linux | 6.18 | 6.18.63 |
| Linux | 7.3 | 7.3.4 |
| Linux | later releases | 7.4-rc1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | linux | no fix listed | DEBIAN-CVE-2026-142841 |
| Debian | 13 | linux | 6.12.117-1 | DEBIAN-CVE-2026-142841 |
| Debian | 14 | linux | 7.3.4-1 | DEBIAN-CVE-2026-142841 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/0081cbc9111627f30b55e37fb26b96eddce5aa2c
- https://git.kernel.org/stable/c/2de6fe2980963a1b23676bff90e4def80646d162
- https://git.kernel.org/stable/c/418adcde99032194416248168df810535a1a93f9
- https://git.kernel.org/stable/c/5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8
- https://git.kernel.org/stable/c/6d9c2843d61183c4a9573f77d675ccbf8eba3e1e
- https://git.kernel.org/stable/c/6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c
- https://git.kernel.org/stable/c/ec3c1b42566e6a66f643cadbfd14bdb250c4bf02
- https://git.kernel.org/stable/c/f5031e378e50aed563489db41c54a65356aca9ff