5.5medium
ext4: update s_journal_inum if it changes after journal replay
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 345c0dbf3a30872d9b204db96b5857cd00808cae before 499fef2030fb754c68b1c7cb3a799a3bc1d0d925, from 345c0dbf3a30872d9b204db96b5857cd00808cae before 70e66bdeae4d0f7c8e87762f425b68aedd5e8955, from 345c0dbf3a30872d9b204db96b5857cd00808cae before ee0c5277d4fab920bd31345c49e193ecede9ecef, from 345c0dbf3a30872d9b204db96b5857cd00808cae before 3039d8b8692408438a618fac2776b629852663c3, 51890201da4d654f6ca131bc45a0e892bb10de1d, 7eff961ca9f364be255d279346517ba0158ec8e3, a9855260fe8d8680bf8c4f0d8303b696c861e99b, 795762468125a6412c089651e74f780bee154118 and 7 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 * | CVE List |
| linux linux_kernel | before 5.15.104, from 5.16 before 6.1.21, from 6.2 before 6.2.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ext4: actualizar s_journal_inum si cambia después de la reproducción del diario. Al montar una imagen ext4 manipulada, s_journal_inum puede cambiar después de la reproducción del diario, lo cual es obviamente irrazonable porque hemos cargado y reproducido correctamente el diario a través del antiguo s_journal_inum. Y el nuevo s_journal_inum omite algunas de las comprobaciones en ext4_get_journal(), lo que puede desencadenar un problema de desreferencia de puntero nulo. Por lo tanto, si s_journal_inum cambia después de la reproducción del diario, ignoramos el cambio y reescribimos el journal_inum actual en el superbloque.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53091 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2023-53091 changed 2026-11-05 | Public domain |