CVE-2024-39482
MediumIn the Linux kernel, the following vulnerability has been resolved: bcache: fix variable length array abuse in btree_iter btree_iter is used in two ways: either allocated on the stack with a fixed size MAX_BSETS, or from a mempool with a dynamic size based on the specific cache set. Previously, the struct had a fixed-length array of size MAX_BSETS which was indexed out-of-bounds for the dynamically-sized iterators, which causes UBSAN to complain. This patch uses the same approach as in bcachefs's sort_iter and splits the iterator into a btree_iter with a flexible array member and a btree_iter_stack which embeds a btree_iter as well as a fixed-length data array.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-770CVE-2024-39482 is classified as CWE-770
See CWE-770 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
3.10
and later are affected. Fixed in
5.10.221,
5.15.162,
6.1.94,
6.6.34,
6.9.5,
6.10
and their respective stable series.
References
9 total-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
-
Mailing List Patch
Frequently asked questions
-
What is CVE-2024-39482?
CVE-2024-39482 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.10 onward and has been patched in 5.10.221, 5.15.162, 6.1.94 and others. CVE-2024-39482 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-39482?
CVE-2024-39482 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-39482?
Yes. CVE-2024-39482 has been patched. Fixed versions include 5.10.221, 5.15.162, 6.1.94 and others. If you are running Linux kernel 3.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-39482 actively exploited?
No. CVE-2024-39482 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.