CVE-2026-142841
Last modified
CVE-2026-142841 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0dc0fa313bb4e86382a3e7125429710d44383196, < 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8; >= 116008ada3d0de4991099edaf6b8c2e9cd6f225a, < 0081cbc9111627f30b55e37fb26b96eddce5aa2c; >= 05cbf6ddd9847c7b4f0662c048f195b09405a9d0, < f5031e378e50aed563489db41c54a65356aca9ff; >= f31173c19901a96bb2ebf6bcfec8a08df7095c91, < 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c; >= f31173c19901a96bb2ebf6bcfec8a08df7095c91, < 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e; >= f31173c19901a96bb2ebf6bcfec8a08df7095c91, < 2de6fe2980963a1b23676bff90e4def80646d162; >= f31173c19901a96bb2ebf6bcfec8a08df7095c91, < ec3c1b42566e6a66f643cadbfd14bdb250c4bf02; >= f31173c19901a96bb2ebf6bcfec8a08df7095c91, < 418adcde99032194416248168df810535a1a93f9; aedea161d031502a423ed1c7597754681a4f8cda; 21f6a80d9234422e2eb445734b22c78fc5bf6719; a92b67e768bde433b9385cde56c09deb58db269e; a458a8c1d1fc4e10a1813786132b09a3863ad3f2; >= 5.10.173, < 5.10.275; >= 5.15.99, < 5.15.226; >= 6.1.16, < 6.1.193; >= 4.14.308, < 4.15; >= 4.19.276, < 4.20; >= 5.4.235, < 5.5; >= 6.2.3, < 6.3 |
| Linux | Linux | 6.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142841?
How severe is CVE-2026-142841?
How do I fix CVE-2026-142841?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142835In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142836In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142837In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142838In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142839In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-142840In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142842In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142843In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142844In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-142845In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142846In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142847In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142841?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
