{"id":"CVE-2023-54021","summary":"ext4: set goal start correctly in ext4_mb_normalize_request","details":"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 ]","modified":"2026-03-20T12:33:24.384967Z","published":"2025-12-24T10:55:51.373Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54021.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530"},{"type":"WEB","url":"https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54021.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54021"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c9de560ded61faa5b754137b7753da252391c55a"},{"fixed":"2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530"},{"fixed":"390eee955d4de4662db5e3e9e9a9eae020432cb7"},{"fixed":"cee78217a7ae72d11c2e21e1a5263b8044489823"},{"fixed":"3ca3005b502ca8ea87d6a344323b179b48c4e4a3"},{"fixed":"bc4a3e1d07a86ae5845321d371190244acacb2f2"},{"fixed":"c6bee8970075b256fc1b07bf4873049219380818"},{"fixed":"abb330ffaa3a0ae7ce632e28c9260b461c01f19f"},{"fixed":"b07ffe6927c75d99af534d685282ea188d9f71a6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54021.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.25"},{"fixed":"4.14.316"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.284"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.244"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54021.json"}}],"schema_version":"1.7.5"}