Bug 2363753 (CVE-2023-53091) - CVE-2023-53091 kernel: ext4: update s_journal_inum if it changes after journal replay
Summary: CVE-2023-53091 kernel: ext4: update s_journal_inum if it changes after journa...
Keywords:
Status: NEW
Alias: CVE-2023-53091
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 16:04 UTC by OSIDB Bzimport
Modified: 2025-05-05 07:19 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:04:21 UTC
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.

Comment 1 Avinash Hanwate 2025-05-05 07:08:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050220-CVE-2023-53091-9433@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.