linux: In the Linux kernel, the following vulnerability has been resolved: dm cache: fix out-of-bounds access to the dirty...
CVE-2024-50279 is fixed in 72 products on 1 platform, first by DEBIAN-CVE-2024-50279, released November 19, 2024. It is not reported as exploited. Patch Radar priority: High.
In the Linux kernel, the following vulnerability has been resolved: dm cache: fix out-of-bounds access to the dirty bitset when resizing dm-cache checks the dirty bits of the cache blocks to be dropped when shrinking the fast device, but an index bug in bitset iteration causes out-of-bounds access. Reproduce steps: 1. create a cache device of 1024 cache blocks (128 bytes dirty bitset) dmsetup create cmeta --table "0 8192 linear /dev/sdc 0" dmsetup create cdata --table "0 131072 linear /dev/sdc 8192" dmsetup create corig --table "0 524288 linear /dev/sdc 262144" dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct dmsetup create cache --table "0 524288 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0" 2. shrink the fast device to 512 cache blocks, triggering out-of-bounds access to the dirty bitset (offset 0x80) dmsetup suspend cache dmsetup reload cdata --table "0 65536 linear /dev/sdc 8192" dmsetup resume cdata dmsetup resume cache KASAN reports: BUG: KASAN: vmalloc-out-of-bounds in cache_preresume+0x269/0x7b0 Read of size 8 at addr ffffc900000f3080 by task dmsetup/131 (...snip...) The buggy address belongs to the virtual mapping at [ffffc900000f3000, ffffc900000f5000) created by: cache_ctr+0x176a/0x35f0 (...snip...) Memory state around the buggy address: ffffc900000f2f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900000f3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900000f3080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900000f3100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900000f3180: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 Fix by making the index post-incremented.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| bpftool · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| bpftool · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| bpftool-debuginfo · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| dtb-aarch64 · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-64kb · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-64kb · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-azure · opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-azure · sles 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-coco · sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | SUSE-SU-2025:0289-1 | Jan 29, 2025 |
| kernel-coco_debug · sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | SUSE-SU-2025:0289-1 | Jan 29, 2025 |
| kernel-debug · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-debuginfo · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-debuginfo-common-aarch64 · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-debuginfo-common-x86_64 · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-default · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-default · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-default-base · opensuse-leap 15.6 | 6.4.0-150600.23.33.1.150600.12.14.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-default-base · sles 15.6 | 6.4.0-150600.23.33.1.150600.12.14.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-devel · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-docs · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-docs · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-headers · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-kvmsmall · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-libbpf · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-libbpf-devel · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-libbpf-static · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-livepatch-6.1.119-129.201 · amzn 2023 | 1.0-0.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_0 · sles 15.6 | 17-150600.3.1 | SUSE-SU-2025:02069-1 | Jun 23, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_1 · sles 15.6 | 16-150600.2.1 | SUSE-SU-2025:02076-1 | Jun 24, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_2 · sles 15.6 | 12-150600.2.1 | SUSE-SU-2025:02070-1 | Jun 23, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_3 · sles 15.6 | 12-150600.2.1 | SUSE-SU-2025:02077-1 | Jun 24, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_5 · sles 15.6 | 10-150600.2.1 | SUSE-SU-2025:02071-1 | Jun 23, 2025 |
| kernel-livepatch-SLE15-SP6-RT_Update_6 · sles 15.6 | 1-150600.1.3.1 | SUSE-SU-2024:4314-1 | Dec 13, 2024 |
| kernel-livepatch-SLE15-SP6_Update_0 · sles 15.6 | 18-150600.4.46.1 | SUSE-SU-2025:02117-1 | Jun 25, 2025 |
| kernel-livepatch-SLE15-SP6_Update_2 · sles 15.6 | 16-150600.2.1 | SUSE-SU-2025:02126-1 | Jun 26, 2025 |
| kernel-livepatch-SLE15-SP6_Update_3 · sles 15.6 | 16-150600.2.2 | SUSE-SU-2025:02162-1 | Jun 27, 2025 |
| kernel-livepatch-SLE15-SP6_Update_4 · sles 15.6 | 12-150600.2.1 | SUSE-SU-2025:02116-1 | Jun 25, 2025 |
| kernel-livepatch-SLE15-SP6_Update_5 · sles 15.6 | 11-150600.2.1 | SUSE-SU-2025:02127-1 | Jun 26, 2025 |
| kernel-livepatch-SLE15-SP6_Update_6 · sles 15.6 | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 | Dec 13, 2024 |
| kernel-livepatch-SLE15-SP6_Update_7 · sles 15.6 | 1-150600.13.3.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-modules-extra · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-modules-extra-common · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-obs-build · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-obs-build · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-obs-qa · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-rt · opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 | Dec 13, 2024 |
| kernel-rt_debug · opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 | Dec 13, 2024 |
| kernel-source · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-source · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-source-azure · opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-source-azure · sles 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-source-coco · sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | SUSE-SU-2025:0289-1 | Jan 29, 2025 |
| kernel-source-rt · opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 | Dec 13, 2024 |
| kernel-syms · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-syms · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-syms-azure · opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-syms-azure · sles 15.6 | 6.4.0-150600.8.23.1 | SUSE-SU-2025:0117-1 | Jan 15, 2025 |
| kernel-syms-coco · sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | SUSE-SU-2025:0289-1 | Jan 29, 2025 |
| kernel-syms-rt · opensuse-leap 15.6 | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 | Dec 13, 2024 |
| kernel-tools · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-tools-debuginfo · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-tools-devel · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| kernel-uek · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-container · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-container · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-container-debug · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-container-debug · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-core · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-core · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-core · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-core · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-devel · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-devel · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-modules · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-modules · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-modules-extra · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-debug-modules-extra · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-devel · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-devel · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-doc · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-doc · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-modules · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-modules · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-modules-extra · ol 8 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-modules-extra · ol 9 | 0:5.15.0-305.176.4.el9uek | ELSA-2025-20095 | Feb 9, 2025 |
| kernel-uek-tools · ol 8 | 0:5.4.17-2136.340.4.1.el7uek | ELSA-2025-20100 | Feb 12, 2025 |
| kernel-zfcpdump · opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| kernel-zfcpdump · sles 15.6 | 6.4.0-150600.23.33.1 | SUSE-SU-2025:0154-1 | Jan 17, 2025 |
| linux · Debian 12.15 (bookworm) | 6.1.119-1 | DEBIAN-CVE-2024-50279 | Nov 19, 2024 |
| linux · Debian 13.5 (trixie) | 6.11.9-1 | DEBIAN-CVE-2024-50279 | Nov 19, 2024 |
| linux · Debian 14 | 6.11.9-1 | DEBIAN-CVE-2024-50279 | Nov 19, 2024 |
| perf · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| perf-debuginfo · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| python3-perf · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
| python3-perf-debuginfo · amzn 2023 | 6.1.119-129.201.amzn2023 | ALAS2023-2025-802 | Jan 16, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.