{"id":"CVE-2023-54021","aliases":["CVE-2023-54021"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: set goal start correctly in ext4_mb_normalize_request","summary":"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->pright; otherwise\n  we could end up passing an underflowed value of ar->pright - size to\n  ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on.\n  - TYT ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->pright; otherwise\n  we could end up passing an underflowed value of ar->pright - size to\n  ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on.\n  - TYT ]","source":"cvelist"}],"published":"2025-12-24T10:55:51.373Z","modified":"2026-06-17T06:46:33.200Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"390eee955d4de4662db5e3e9e9a9eae020432cb7","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"cee78217a7ae72d11c2e21e1a5263b8044489823","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"3ca3005b502ca8ea87d6a344323b179b48c4e4a3","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"bc4a3e1d07a86ae5845321d371190244acacb2f2","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"c6bee8970075b256fc1b07bf4873049219380818","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"abb330ffaa3a0ae7ce632e28c9260b461c01f19f","status":"affected"},{"type":"git","introduced":"c9de560ded61faa5b754137b7753da252391c55a","fixed":"b07ffe6927c75d99af534d685282ea188d9f71a6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.25","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.25","status":"unaffected"},{"type":"semver","introduced":"4.14.316","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.284","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.244","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.113","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.30","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.4","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54021","url":"https://www.cve.org/CVERecord?id=CVE-2023-54021","licence":"CVE Terms of Use","modified":"2026-05-11T19:53:45.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54021","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54021","licence":"Public domain","modified":"2026-06-17T06:46:33.200Z"}],"updatedAt":"2026-11-25T22:58:35.145Z","epss":{"score":0.0021,"percentile":0.1188,"date":"2026-12-01T12:00:22.000Z"}}