CVE-2023-53091 (GCVE-0-2023-53091)
Vulnerability from cvelistv5
Published
2025-05-02 15:55
Modified
2026-01-05 10:18
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 345c0dbf3a30872d9b204db96b5857cd00808cae
Version: 345c0dbf3a30872d9b204db96b5857cd00808cae
Version: 345c0dbf3a30872d9b204db96b5857cd00808cae
Version: 345c0dbf3a30872d9b204db96b5857cd00808cae
Version: 51890201da4d654f6ca131bc45a0e892bb10de1d
Version: 7eff961ca9f364be255d279346517ba0158ec8e3
Version: a9855260fe8d8680bf8c4f0d8303b696c861e99b
Version: 795762468125a6412c089651e74f780bee154118
Version: 2fd4629de51974002f4e9cf1a35a1926dd6c9d99
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/super.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "499fef2030fb754c68b1c7cb3a799a3bc1d0d925",
              "status": "affected",
              "version": "345c0dbf3a30872d9b204db96b5857cd00808cae",
              "versionType": "git"
            },
            {
              "lessThan": "70e66bdeae4d0f7c8e87762f425b68aedd5e8955",
              "status": "affected",
              "version": "345c0dbf3a30872d9b204db96b5857cd00808cae",
              "versionType": "git"
            },
            {
              "lessThan": "ee0c5277d4fab920bd31345c49e193ecede9ecef",
              "status": "affected",
              "version": "345c0dbf3a30872d9b204db96b5857cd00808cae",
              "versionType": "git"
            },
            {
              "lessThan": "3039d8b8692408438a618fac2776b629852663c3",
              "status": "affected",
              "version": "345c0dbf3a30872d9b204db96b5857cd00808cae",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "51890201da4d654f6ca131bc45a0e892bb10de1d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7eff961ca9f364be255d279346517ba0158ec8e3",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a9855260fe8d8680bf8c4f0d8303b696c861e99b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "795762468125a6412c089651e74f780bee154118",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "2fd4629de51974002f4e9cf1a35a1926dd6c9d99",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/super.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.104",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.104",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.21",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.8",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.85",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.221",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.221",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.178",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.73",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: update s_journal_inum if it changes after journal replay\n\nWhen mounting a crafted ext4 image, s_journal_inum may change after journal\nreplay, which is obviously unreasonable because we have successfully loaded\nand replayed the journal through the old s_journal_inum. And the new\ns_journal_inum bypasses some of the checks in ext4_get_journal(), which\nmay trigger a null pointer dereference problem. So if s_journal_inum\nchanges after the journal replay, we ignore the change, and rewrite the\ncurrent journal_inum to the superblock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:18:09.686Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/499fef2030fb754c68b1c7cb3a799a3bc1d0d925"
        },
        {
          "url": "https://git.kernel.org/stable/c/70e66bdeae4d0f7c8e87762f425b68aedd5e8955"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee0c5277d4fab920bd31345c49e193ecede9ecef"
        },
        {
          "url": "https://git.kernel.org/stable/c/3039d8b8692408438a618fac2776b629852663c3"
        }
      ],
      "title": "ext4: update s_journal_inum if it changes after journal replay",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53091",
    "datePublished": "2025-05-02T15:55:36.852Z",
    "dateReserved": "2025-05-02T15:51:43.552Z",
    "dateUpdated": "2026-01-05T10:18:09.686Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…