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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:20:52.637Z
- **Modified:** 2026-12-03T04:18:20.383Z

## Who should check

- Anyone running Linux \>= 0dc0fa313bb4e86382a3e7125429710d44383196, \< 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8; \>= 116008ada3d0de4991099edaf6b8c2e9cd6f225a, \< 0081cbc9111627f30b55e37fb26b96eddce5aa2c; \>= 05cbf6ddd9847c7b4f0662c048f195b09405a9d0, \< f5031e378e50aed563489db41c54a65356aca9ff; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 2de6fe2980963a1b23676bff90e4def80646d162; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< ec3c1b42566e6a66f643cadbfd14bdb250c4bf02; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 418adcde99032194416248168df810535a1a93f9; aedea161d031502a423ed1c7597754681a4f8cda; 21f6a80d9234422e2eb445734b22c78fc5bf6719; …
- Anyone running Linux 6.3

## 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 and fixed versions

- Linux: \>= 0dc0fa313bb4e86382a3e7125429710d44383196, \< 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8; \>= 116008ada3d0de4991099edaf6b8c2e9cd6f225a, \< 0081cbc9111627f30b55e37fb26b96eddce5aa2c; \>= 05cbf6ddd9847c7b4f0662c048f195b09405a9d0, \< f5031e378e50aed563489db41c54a65356aca9ff; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 2de6fe2980963a1b23676bff90e4def80646d162; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< ec3c1b42566e6a66f643cadbfd14bdb250c4bf02; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 418adcde99032194416248168df810535a1a93f9; aedea161d031502a423ed1c7597754681a4f8cda; 21f6a80d9234422e2eb445734b22c78fc5bf6719; … (cvelist)
- Linux: 6.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142841. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142841.md
Affected: Linux >= 0dc0fa313bb4e86382a3e7125429710d44383196, < 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8; >= 116008ada3d0de4991099edaf6b8c2e9cd6f225a, < 0081cbc9111627f30b55e37fb26b96eddce5aa2c; >= 05cbf6ddd9847c7b4f0662c048f195b09405a9d0, < f5031e378e50aed563489db41c54a65356aca9ff; >= f31173c19901a96bb2ebf6b…
Fixed in: Linux 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8, Linux 0081cbc9111627f30b55e37fb26b96eddce5aa2c, Linux 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c, Linux 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e, Linux 2de6fe2980963a1b23676bff90e4def80646d162, Linux 418adcde99032194416248168df810535a1a93f9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142841 being exploited?

There is no confirmed exploitation: CVE-2026-142841 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142841?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142841?

Linux \>= 0dc0fa313bb4e86382a3e7125429710d44383196, \< 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8; \>= 116008ada3d0de4991099edaf6b8c2e9cd6f225a, \< 0081cbc9111627f30b55e37fb26b96eddce5aa2c; \>= 05cbf6ddd9847c7b4f0662c048f195b09405a9d0, \< f5031e378e50aed563489db41c54a65356aca9ff; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 2de6fe2980963a1b23676bff90e4def80646d162; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< ec3c1b42566e6a66f643cadbfd14bdb250c4bf02; \>= f31173c19901a96bb2ebf6bcfec8a08df7095c91, \< 418adcde99032194416248168df810535a1a93f9; aedea161d031502a423ed1c7597754681a4f8cda; 21f6a80d9234422e2eb445734b22c78fc5bf6719; …; Linux 6.3.

### Is there a fix for CVE-2026-142841?

Yes. Fixed in Linux 5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8, Linux 0081cbc9111627f30b55e37fb26b96eddce5aa2c, Linux 6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c, Linux 6d9c2843d61183c4a9573f77d675ccbf8eba3e1e, Linux 2de6fe2980963a1b23676bff90e4def80646d162, Linux 418adcde99032194416248168df810535a1a93f9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142841?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5f4dd0edc0d88578c2988f9fd637e3ef9f0767a8>
- other: <https://git.kernel.org/stable/c/0081cbc9111627f30b55e37fb26b96eddce5aa2c>
- other: <https://git.kernel.org/stable/c/f5031e378e50aed563489db41c54a65356aca9ff>
- other: <https://git.kernel.org/stable/c/6ea4264d66b6bb22a6bf5a8dce3d70dfed85ec4c>
- other: <https://git.kernel.org/stable/c/6d9c2843d61183c4a9573f77d675ccbf8eba3e1e>
- other: <https://git.kernel.org/stable/c/2de6fe2980963a1b23676bff90e4def80646d162>
- other: <https://git.kernel.org/stable/c/ec3c1b42566e6a66f643cadbfd14bdb250c4bf02>
- other: <https://git.kernel.org/stable/c/418adcde99032194416248168df810535a1a93f9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142841>

HTML: <https://flawdb.com/CVE-2026-142841> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142841>
