CVE-2025-22113
ext4: avoid journaling sb update on error if journal is destroying
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < b6d27f4869c9c4dedce0ba1c719d6c748a4ecc68; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < eddca44ddf810e27f0c96913aa3cc92ebd679ddb; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < db05767b5bc307143d99fe2afd8c43af58d2ebef; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < ce2f26e73783b4a7c46a86e3af5b5c8de0971790
- Anyone running Linux 5.11
Vulnerability facts
- Affected
- Linux >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < b6d27f4869c9c4dedce0ba1c719d6c748a4ecc68; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < eddca44ddf810e27f0c96913aa3cc92ebd679ddb; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < db05767b5bc307143d99fe2afd8c43af58d2ebef; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < ce2f26e73783b4a7c46a86e3af5b5c8de0971790; Linux 5.11
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid journaling sb update on error if journal is destroying Presently we always BUG_ON if trying to start a transaction on a journal marked with JBD2_UNMOUNT, since this should never happen. However, while ltp running stress tests, it was observed that in case of some error handling paths, it is possible for update_super_work to start a transaction after the journal is destroyed eg: (umount) ext4_kill_sb kill_block_super generic_shutdown_super sync_filesystem /* commits all txns */ evict_inodes /* might start a new txn */ ext4_put_super flush_work(&sbi->s_sb_upd_work) /* flush the workqueue */ jbd2_journal_destroy journal_kill_thread journal->j_flags |= JBD2_UNMOUNT; jbd2_journal_commit_transaction jbd2_journal_get_descriptor_buffer jbd2_journal_bmap ext4_journal_bmap ext4_map_blocks ... ext4_inode_error ext4_handle_error schedule_work(&sbi->s_sb_upd_work) /* work queue kicks in */ update_super_work jbd2_journal_start start_this_handle BUG_ON(journal->j_flags & JBD2_UNMOUNT) Hence, introduce a new mount flag to indicate journal is destroying and only do a journaled (and deferred) update of sb if this flag is not set. Otherwise, just fallback to an un-journaled commit. Further, in the journal destroy path, we have the following sequence: 1. Set mount flag indicating journal is destroying 2. force a commit and wait for it 3. flush pending sb updates This sequence is important as it ensures that, after this point, there is no sb update that might be journaled so it is safe to update the sb outside the journal. (To avoid race discussed in 2d01ddc86606) Also, we don't need a similar check in ext4_grp_locked_error since it is only called from mballoc and AFAICT it would be always valid to schedule work here.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < b6d27f4869c9c4dedce0ba1c719d6c748a4ecc68; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < eddca44ddf810e27f0c96913aa3cc92ebd679ddb; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < db05767b5bc307143d99fe2afd8c43af58d2ebef; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < ce2f26e73783b4a7c46a86e3af5b5c8de0971790 | — | cvelist |
| Linux | 5.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-22113. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-22113.md Affected: Linux >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < b6d27f4869c9c4dedce0ba1c719d6c748a4ecc68; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < eddca44ddf810e27f0c96913aa3cc92ebd679ddb; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < db05767b5bc307143d99fe2afd8c43af58d2ebef; >= 2d01ddc86606564fb08c56e… Fixed in: no fixed version listed yet 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.
References
Patches
FAQ
Is CVE-2025-22113 being exploited?
There is no confirmed exploitation: CVE-2025-22113 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-22113?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-22113?
Linux >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < b6d27f4869c9c4dedce0ba1c719d6c748a4ecc68; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < eddca44ddf810e27f0c96913aa3cc92ebd679ddb; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < db05767b5bc307143d99fe2afd8c43af58d2ebef; >= 2d01ddc86606564fb08c56e3bc93a0693895f710, < ce2f26e73783b4a7c46a86e3af5b5c8de0971790; Linux 5.11.
Is there a fix for CVE-2025-22113?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-22113?
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.