GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-54021 (GCVE-0-2023-54021)

Vulnerability from cvelistv5 – Published: 2025-12-24 10:55 – Updated: 2026-05-11 19:53
VLAI
Title
ext4: set goal start correctly in ext4_mb_normalize_request
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: set goal start correctly in ext4_mb_normalize_request We need to set ac_g_ex to notify the goal start used in ext4_mb_find_by_goal. Set ac_g_ex instead of ac_f_ex in ext4_mb_normalize_request. Besides we should assure goal start is in range [first_data_block, blocks_count) as ext4_mb_initialize_context does. [ Added a check to make sure size is less than ar->pright; otherwise we could end up passing an underflowed value of ar->pright - size to ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on. - TYT ]
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: c9de560ded61faa5b754137b7753da252391c55a , < 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < 390eee955d4de4662db5e3e9e9a9eae020432cb7 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < cee78217a7ae72d11c2e21e1a5263b8044489823 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < 3ca3005b502ca8ea87d6a344323b179b48c4e4a3 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < bc4a3e1d07a86ae5845321d371190244acacb2f2 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < c6bee8970075b256fc1b07bf4873049219380818 (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < abb330ffaa3a0ae7ce632e28c9260b461c01f19f (git)
Affected: c9de560ded61faa5b754137b7753da252391c55a , < b07ffe6927c75d99af534d685282ea188d9f71a6 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.25
Unaffected: 0 , < 2.6.25 (semver)
Unaffected: 4.14.316 , ≤ 4.14.* (semver)
Unaffected: 4.19.284 , ≤ 4.19.* (semver)
Unaffected: 5.4.244 , ≤ 5.4.* (semver)
Unaffected: 5.10.181 , ≤ 5.10.* (semver)
Unaffected: 5.15.113 , ≤ 5.15.* (semver)
Unaffected: 6.1.30 , ≤ 6.1.* (semver)
Unaffected: 6.3.4 , ≤ 6.3.* (semver)
Unaffected: 6.4 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/mballoc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "390eee955d4de4662db5e3e9e9a9eae020432cb7",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "cee78217a7ae72d11c2e21e1a5263b8044489823",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "3ca3005b502ca8ea87d6a344323b179b48c4e4a3",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "bc4a3e1d07a86ae5845321d371190244acacb2f2",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "c6bee8970075b256fc1b07bf4873049219380818",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "abb330ffaa3a0ae7ce632e28c9260b461c01f19f",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            },
            {
              "lessThan": "b07ffe6927c75d99af534d685282ea188d9f71a6",
              "status": "affected",
              "version": "c9de560ded61faa5b754137b7753da252391c55a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/mballoc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.25"
            },
            {
              "lessThan": "2.6.25",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.316",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.284",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.244",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.181",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.30",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.316",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.284",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.244",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.181",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.113",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.30",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.4",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: set goal start correctly in ext4_mb_normalize_request\n\nWe need to set ac_g_ex to notify the goal start used in\next4_mb_find_by_goal. Set ac_g_ex instead of ac_f_ex in\next4_mb_normalize_request.\nBesides we should assure goal start is in range [first_data_block,\nblocks_count) as ext4_mb_initialize_context does.\n\n[ Added a check to make sure size is less than ar-\u003epright; otherwise\n  we could end up passing an underflowed value of ar-\u003epright - size to\n  ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on.\n  - TYT ]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:53:45.739Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530"
        },
        {
          "url": "https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7"
        },
        {
          "url": "https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823"
        },
        {
          "url": "https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818"
        },
        {
          "url": "https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6"
        }
      ],
      "title": "ext4: set goal start correctly in ext4_mb_normalize_request",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54021",
    "datePublished": "2025-12-24T10:55:51.373Z",
    "dateReserved": "2025-12-24T10:53:46.179Z",
    "dateUpdated": "2026-05-11T19:53:45.739Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-54021",
      "date": "2026-09-15",
      "epss": "0.00192",
      "percentile": "0.09027"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54021\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T11:15:55.103\",\"lastModified\":\"2026-06-17T06:46:33.200\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\next4: set goal start correctly in ext4_mb_normalize_request\\n\\nWe need to set ac_g_ex to notify the goal start used in\\next4_mb_find_by_goal. Set ac_g_ex instead of ac_f_ex in\\next4_mb_normalize_request.\\nBesides we should assure goal start is in range [first_data_block,\\nblocks_count) as ext4_mb_initialize_context does.\\n\\n[ Added a check to make sure size is less than ar-\u003epright; otherwise\\n  we could end up passing an underflowed value of ar-\u003epright - size to\\n  ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on.\\n  - TYT ]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/ext4/mballoc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"390eee955d4de4662db5e3e9e9a9eae020432cb7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"cee78217a7ae72d11c2e21e1a5263b8044489823\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"3ca3005b502ca8ea87d6a344323b179b48c4e4a3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"bc4a3e1d07a86ae5845321d371190244acacb2f2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"c6bee8970075b256fc1b07bf4873049219380818\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"abb330ffaa3a0ae7ce632e28c9260b461c01f19f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c9de560ded61faa5b754137b7753da252391c55a\",\"lessThan\":\"b07ffe6927c75d99af534d685282ea188d9f71a6\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/ext4/mballoc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.25\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.25\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.316\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.284\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.244\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.181\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.113\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.30\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.3.4\",\"lessThanOrEqual\":\"6.3.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.4\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:20:06+00:00",
      "cve": "CVE-2023-54021",
      "id": "CVE-2023-54021",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:fixed": "279",
      "product_status:known_affected": "112",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ext4: set goal start correctly in ext4_mb_normalize_request",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-54021.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T02:04:27Z",
      "cve": "CVE-2023-54021",
      "id": "CVE-2023-54021",
      "initial_release_date": "2025-12-25T00:57:30Z",
      "product_status:known_affected": "554",
      "product_status:known_not_affected": "172",
      "product_status:recommended": "262",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-54021",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-54021.json",
      "version": "24"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…