CVE-2024-35854
published high CVSS 3.1 · 7.8mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc9c9af91f1d9a636aecc55302c792538e549a430 to < e118e7ea24d1392878ef85926627c6bc640c4388 · c9c9af91f1d9a636aecc55302c792538e549a430 to < a429a912d6c779807f4d72a6cc0a1efaaa3613e1 · c9c9af91f1d9a636aecc55302c792538e549a430 to < 4c89642ca47fb620914780c7c51d8d1248201121 · c9c9af91f1d9a636aecc55302c792538e549a430 to < 813e2ab753a8f8c243a39ede20c2e0adc15f3887 · c9c9af91f1d9a636aecc55302c792538e549a430 to < 311eeaa7b9e26aba5b3d57b09859f07d8e9fc049 · c9c9af91f1d9a636aecc55302c792538e549a430 to < a02687044e124f8ccb427cd3632124a4e1a7d7c1 · c9c9af91f1d9a636aecc55302c792538e549a430 to < 54225988889931467a9b55fdbef534079b665519 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.275 through 5.4.* (unaffected · semver) · 5.10.216 through 5.10.* (unaffected · semver) · 5.15.158 through 5.15.* (unaffected · semver) · 6.1.90 through 6.1.* (unaffected · semver) · 6.6.30 through 6.6.* (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernelc9c9af91f1d9 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-067 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
Show 108 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| linux | — | linux_kernel0 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.4.275 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.10.216 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.15.158 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.1.90 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.6.30 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.8.9 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.9 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-078 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.8.1.el8_10 | ELSA-2024-4211 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash The rehash delayed work migrates filters from one region to another according to the number of available credits. The migrated from region is destroyed at the end of the work if the number of credits is non-negative as the assumption is that this is indicative of migration being complete. This assumption is incorrect as a non-negative number of credits can also be the result of a failed migration. The destruction of a region that still has filters referencing it can result in a use-after-free [1]. Fix by not destroying the region if migration failed. [1] BUG: KASAN: slab-use-after-free in mlxsw_sp_acl_ctcam_region_entry_remove+0x21d/0x230 Read of size 8 at addr ffff8881735319e8 by task kworker/0:31/3858 CPU: 0 PID: 3858 Comm: kworker/0:31 Tainted: G W 6.9.0-rc2-custom-00782-gf2275c2157d8 #5 Hardware name: Mellanox Technologies Ltd. MSN3700/VMOD0005, BIOS 5.11 01/06/2019 Workqueue: mlxsw_core mlxsw_sp_acl_tcam_vregion_rehash_work Call Trace: <TASK> dump_stack_lvl+0xc6/0x120 print_report+0xce/0x670 kasan_report+0xd7/0x110 mlxsw_sp_acl_ctcam_region_entry_remove+0x21d/0x230 mlxsw_sp_acl_ctcam_entry_del+0x2e/0x70 mlxsw_sp_acl_atcam_entry_del+0x81/0x210 mlxsw_sp_acl_tcam_vchunk_migrate_all+0x3cd/0xb50 mlxsw_sp_acl_tcam_vregion_rehash_work+0x157/0x1300 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30 </TASK> Allocated by task 174: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0x8f/0xa0 __kmalloc+0x19c/0x360 mlxsw_sp_acl_tcam_region_create+0xdf/0x9c0 mlxsw_sp_acl_tcam_vregion_rehash_work+0x954/0x1300 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30 Freed by task 7: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 poison_slab_object+0x102/0x170 __kasan_slab_free+0x14/0x30 kfree+0xc1/0x290 mlxsw_sp_acl_tcam_region_destroy+0x272/0x310 mlxsw_sp_acl_tcam_vregion_rehash_work+0x731/0x1300 process_one_work+0x8eb/0x19b0 worker_thread+0x6c9/0xf70 kthread+0x2c9/0x3b0 ret_from_fork+0x4d/0x80 ret_from_fork_asm+0x1a/0x30
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The only path into the vulnerable rehash work is local configuration of hardware-offloaded tc flower filters via rtnetlink (`mlxsw_sp_flower_replace` → `mlxsw_sp_acl_rule_add`), plus the devlink `acl_region_rehash_interval` knob; the multicast-routing ruleset that could be influenced by received traffic explicitly disables rehash, so no received packet reaches this code. AC:L - The attacker controls every precondition — the number, priority and mask diversity of offloaded filters, and hence the eRP/TCAM resource exhaustion that makes migration and its rollback fail — while the rehash delayed work re-arms itself automatically every 5 s, so there is no race to win and no state outside the attacker's influence. PR:L - Installing offloaded flower filters requires only CAP_NET_ADMIN checked against the owning network namespace's user_ns (`netlink_net_capable(skb, CAP_NET_ADMIN)`), which an unprivileged user holds in their own user namespace once a switch port is delegated to that netns — not real root in the initial namespace. UI:N - The attacker performs all steps itself — adding and removing tc flower rules until the device runs out of resources — and the periodic rehash worker then fires on its own with no victim action. S:U - The freed object and all subsequent dereferences are kernel heap memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed `mlxsw_sp_acl_tcam_region` comes from a sprayable general-purpose kmalloc cache and is later dereferenced as `cregion->region->tcam_region_info` and `cregion->parman`, so reclaiming the slot lets the attacker steer reads to arbitrary kernel addresses; per use-after-free scoring this is High. I:H - The same stale allocation is used for an indirect call `cregion->ops->entry_remove(...)` and for `parman_item_remove()`/`rhashtable_remove_fast()`/`list_del()` writes, giving both a control-flow-hijack and a controlled-write primitive; stale `tcam_region_info` is additionally written to the ASIC, corrupting the switch's hardware ACL state. A:H - The confirmed KASAN slab-use-after-free in `mlxsw_sp_acl_ctcam_region_entry_remove()` runs from the `mlxsw_core` workqueue and reliably oopses/panics the kernel, and because the work re-arms every 5 s the condition recurs until the switch is unusable.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c9c9af91f1d9a636aecc55302c792538e549a430 to < e118e7ea24d1392878ef85926627c6bc640c4388 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < a429a912d6c779807f4d72a6cc0a1efaaa3613e1 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < 4c89642ca47fb620914780c7c51d8d1248201121 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < 813e2ab753a8f8c243a39ede20c2e0adc15f3887 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < 311eeaa7b9e26aba5b3d57b09859f07d8e9fc049 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < a02687044e124f8ccb427cd3632124a4e1a7d7c1 (affected · git)c9c9af91f1d9a636aecc55302c792538e549a430 to < 54225988889931467a9b55fdbef534079b665519 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.275 through 5.4.* (unaffected · semver)5.10.216 through 5.10.* (unaffected · semver)5.15.158 through 5.15.* (unaffected · semver)6.1.90 through 6.1.* (unaffected · semver)6.6.30 through 6.6.* (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | c9c9af91f1d9 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.1 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 0 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.4.275 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.10.216 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.15.158 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.1.90 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.6.30 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.8.9 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.9 (unaffected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
8- https://git.kernel.org/stable/c/311eeaa7b9e26aba5b3d57b09859f07d8e9fc049
- https://git.kernel.org/stable/c/4c89642ca47fb620914780c7c51d8d1248201121
- https://git.kernel.org/stable/c/54225988889931467a9b55fdbef534079b665519
- https://git.kernel.org/stable/c/813e2ab753a8f8c243a39ede20c2e0adc15f3887
- https://git.kernel.org/stable/c/a02687044e124f8ccb427cd3632124a4e1a7d7c1
- https://git.kernel.org/stable/c/a429a912d6c779807f4d72a6cc0a1efaaa3613e1
- https://git.kernel.org/stable/c/e118e7ea24d1392878ef85926627c6bc640c4388
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
3Linux · cna
mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c10fedd95ce127c2d0b868d6b0077188edd3f3e2b608321e07cb3162b90ae08
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record