Description
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 ]
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 390eee955d4de4662db5e3e9e9a9eae020432cb7
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before cee78217a7ae72d11c2e21e1a5263b8044489823
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 3ca3005b502ca8ea87d6a344323b179b48c4e4a3
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before bc4a3e1d07a86ae5845321d371190244acacb2f2
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before c6bee8970075b256fc1b07bf4873049219380818
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before abb330ffaa3a0ae7ce632e28c9260b461c01f19f
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before b07ffe6927c75d99af534d685282ea188d9f71a6
4.14.316 (semver)
4.19.284 (semver)
5.4.244 (semver)
5.10.181 (semver)
5.15.113 (semver)
6.1.30 (semver)
6.3.4 (semver)
6.4 (original_commit_for_fix)
References
git.kernel.org/...c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530
git.kernel.org/...c/390eee955d4de4662db5e3e9e9a9eae020432cb7
git.kernel.org/...c/cee78217a7ae72d11c2e21e1a5263b8044489823
git.kernel.org/...c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3
git.kernel.org/...c/bc4a3e1d07a86ae5845321d371190244acacb2f2
git.kernel.org/...c/c6bee8970075b256fc1b07bf4873049219380818
git.kernel.org/...c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f
git.kernel.org/...c/b07ffe6927c75d99af534d685282ea188d9f71a6
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.