7.8
High
CVE-2024-39482 In the Linux kernel, the following vulnerability has been resolved: bcache: fix variable length array abuse in…
Description
In 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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.10 | earliest → < 6.10 | 6.10 |
| Linux 6.9 | earliest → < 6.9.5 | 6.9.5 |
| Linux 6.6 | earliest → < 6.6.34 | 6.6.34 |
| Linux 6.1 | earliest → < 6.1.94 | 6.1.94 |
| Linux 5.15 | earliest → < 5.15.162 | 5.15.162 |
| Linux 5.10 | earliest → < 5.10.221 | 5.10.221 |
| Linux | 3.10 | No fix stated |
| RUGGEDCOM RST2428P 3.1 | earliest → < 3.1 | 3.1 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Versions not published |
Show the 2 other branches Hide the 2 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 | earliest → < 3.1 | 3.1 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | earliest → < 1.1.1 | 1.1.1 |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated