CVE-2026-142841: ext4: skip extra isize expansion while unmounting

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ext4: skip extra isize expansion while unmounting

syzbot reports a WARN from ext4xattrinodecreate() reached through the unmount path:

EXT4-fs warning (device loop0): ext4xattrinodecreate:1485: refuse to create EA inode when umounting WARNING: fs/ext4/xattr.c:1486 at ext4xattrinodelookupcreate ext4xattrblockset ext4expandextraisizeea ext4expandextraisize ext4markinodedirty ext4dirtyinode markinodedirty synclazytime iput dentrykill shrinkdentrylist shrinkdcacheforumount genericshutdownsuper killblocksuper ext4killsb

shrinkdcacheforumount() clears sroot before genericshutdownsuper() clears SBACTIVE, 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 sroot, which ext4xattrinodecreate() refuses without.

ext4trytoexpandextraisize() already declines to expand when the superblock is not active, but that test does not cover this window. Decline while sroot is gone as well. The expansion is best effort and ext4markinodedirty() 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

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·03:20 AM
Data Sourced
via MITRE·03:20 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel with ext4 filesystems may encounter it during unmount. The reported path involves a lazytime inode whose final reference is dropped while the dcache is being shrunk for unmount.

2

What conditions trigger the warning?

The issue occurs in the interval after the ext4 superblock root has been cleared but before the superblock is marked inactive. If dirtying the final lazytime inode attempts extra inode-size expansion and xattrs must be moved out, ext4 can attempt EA inode creation without an available s_root.

3

How can I tell whether this has occurred?

Kernel logs may contain an EXT4-fs warning for ext4_xattr_inode_create stating that it refused to create an EA inode while unmounting. The stack trace can include ext4_expand_extra_isize_ea, ext4_dirty_inode, sync_lazytime, iput, shrink_dcache_for_umount, and ext4_kill_sb.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203