# CVE-2023-53091: ext4: update s_journal_inum if it changes after journal replay

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:36.852Z
- Modified: 2026-11-05T21:17:12.393Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ext4: update s_journal_inum if it changes after journal replay

When mounting a crafted ext4 image, s_journal_inum may change after journal
replay, which is obviously unreasonable because we have successfully loaded
and replayed the journal through the old s_journal_inum. And the new
s_journal_inum bypasses some of the checks in ext4_get_journal(), which
may trigger a null pointer dereference problem. So if s_journal_inum
changes after the journal replay, we ignore the change, and rewrite the
current journal_inum to the superblock.

(As written by CVE List.)

## Affected

- Linux Linux: from 345c0dbf3a30872d9b204db96b5857cd00808cae before 499fef2030fb754c68b1c7cb3a799a3bc1d0d925; from 345c0dbf3a30872d9b204db96b5857cd00808cae before 70e66bdeae4d0f7c8e87762f425b68aedd5e8955; from 345c0dbf3a30872d9b204db96b5857cd00808cae before ee0c5277d4fab920bd31345c49e193ecede9ecef; from 345c0dbf3a30872d9b204db96b5857cd00808cae before 3039d8b8692408438a618fac2776b629852663c3; 51890201da4d654f6ca131bc45a0e892bb10de1d; 7eff961ca9f364be255d279346517ba0158ec8e3; a9855260fe8d8680bf8c4f0d8303b696c861e99b; 795762468125a6412c089651e74f780bee154118; 2fd4629de51974002f4e9cf1a35a1926dd6c9d99; from 3.16.85 before 3.17; from 4.4.221 before 4.5; from 4.9.221 before 4.10; and 3 more (not affected: before 5.2; from 5.15.104 up to 5.15.*; from 6.1.21 up to 6.1.*; from 6.2.8 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: before 5.15.104; from 5.16 before 6.1.21; from 6.2 before 6.2.8

## References

- <https://git.kernel.org/stable/c/499fef2030fb754c68b1c7cb3a799a3bc1d0d925> (patch)
- <https://git.kernel.org/stable/c/70e66bdeae4d0f7c8e87762f425b68aedd5e8955> (patch)
- <https://git.kernel.org/stable/c/ee0c5277d4fab920bd31345c49e193ecede9ecef> (patch)
- <https://git.kernel.org/stable/c/3039d8b8692408438a618fac2776b629852663c3> (patch)

## Sources

- CVE List: [CVE-2023-53091](https://www.cve.org/CVERecord?id=CVE-2023-53091), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53091](https://nvd.nist.gov/vuln/detail/CVE-2023-53091), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53091 · Whole record: https://cve.day/CVE-2023-53091.json · Rebuilt by cve.day 2026-11-25T22:58:34.662Z
