Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53091

ext4: update s_journal_inum if it changes after journal replay

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 345c0dbf3a30872d9b204db96b5857cd00808cae to < 499fef2030fb754c68b1c7cb3a799a3bc1d0d925affected
  • 345c0dbf3a30872d9b204db96b5857cd00808cae to < 70e66bdeae4d0f7c8e87762f425b68aedd5e8955affected
  • 345c0dbf3a30872d9b204db96b5857cd00808cae to < ee0c5277d4fab920bd31345c49e193ecede9ecefaffected
  • 345c0dbf3a30872d9b204db96b5857cd00808cae to < 3039d8b8692408438a618fac2776b629852663c3affected
  • 51890201da4d654f6ca131bc45a0e892bb10de1daffected
  • 7eff961ca9f364be255d279346517ba0158ec8e3affected
  • a9855260fe8d8680bf8c4f0d8303b696c861e99baffected
  • 795762468125a6412c089651e74f780bee154118affected
  • 2fd4629de51974002f4e9cf1a35a1926dd6c9d99affected
  • 3.16.85 to < 3.17affected
  • 4.4.221 to < 4.5affected
  • 4.9.221 to < 4.10affected
  • 4.14.178 to < 4.15affected
  • 4.19.73 to < 4.20affected

Linux Linux

Default version status: affected

  • 5.2affected
  • 0 to < 5.2unaffected
  • 5.15.104 to ≤ 5.15.*unaffected
  • 6.1.21 to ≤ 6.1.*unaffected
  • 6.2.8 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References