CVE-2024-36006: mlxsw: spectrum_acl_tcam: Fix incorrect list API usage
In the Linux kernel, the following vulnerability has been resolved:
mlxsw: spectrum_acl_tcam: Fix incorrect list API usage
Both the function that migrates all the chunks within a region and the
function that migrates all the entries within a chunk call
list_first_entry() on the respective lists without checking that the
lists are not empty. This is incorrect usage of the API, which leads to
the following warning [1].
Fix by returning if the lists are empty as there is nothing to migrate
in this case.
[1]
WARNING: CPU: 0 PID: 6437 at drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c:1266 mlxsw_sp_acl_tcam_vchunk_migrate_all+0x1f1/0>
Modules linked in:
CPU: 0 PID: 6437 Comm: kworker/0:37 Not tainted 6.9.0-rc3-custom-00883-g94a65f079ef6 #39
Hardware name: Mellanox Technologies Ltd. MSN3700/VMOD0005, BIOS 5.11 01/06/2019
Workqueue: mlxsw_core mlxsw_sp_acl_tcam_vregion_rehash_work
RIP: 0010:mlxsw_sp_acl_tcam_vchunk_migrate_all+0x1f1/0x2c0
[...]
Call Trace:
<TASK>
mlxsw_sp_acl_tcam_vregion_rehash_work+0x6c/0x4a0
process_one_work+0x151/0x370
worker_thread+0x2cb/0x3e0
kthread+0xd0/0x100
ret_from_fork+0x34/0x50
ret_from_fork_asm+0x1a/0x30
</TASK>
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel bug in the mlxsw Spectrum ACL TCAM code. On affected systems, empty internal lists can be handled incorrectly during ACL migration, producing kernel warnings. The available sources do not show data theft, privilege escalation, or active exploitation, but kernel faults in network infrastructure code deserve timely patch tracking.
Executive priority
Treat this as a targeted kernel maintenance issue for Linux-based network infrastructure, not a broad emergency. Patch management should prioritize switches, appliances, and systems using Mellanox/NVIDIA Spectrum mlxsw functionality, especially where vendor advisories apply.
Technical view
The bug is incorrect use of list_first_entry() without checking list emptiness in mlxsw_sp_acl_tcam_vchunk_migrate_all and related chunk migration logic. The published fix returns early when there is nothing to migrate. The CVE references Linux stable commits and reports a warning in mlxsw_sp_acl_tcam_vregion_rehash_work.
Likely exposure
Exposure appears limited to affected Linux kernel versions using the mlxsw Spectrum Ethernet switch driver and ACL TCAM migration paths. General Linux hosts without this driver or relevant hardware are less likely to be exposed. Debian LTS and Siemens advisories indicate downstream product relevance, but the bundle does not provide a complete affected-product matrix.
Exploitation context
The bundle marks KEV as false and provides no cited evidence of active exploitation or public weaponization. The documented impact is a kernel warning during mlxsw ACL TCAM rehash work. No exploitability, attacker prerequisites, or remote attack path are established in the provided sources.
Researcher notes
Evidence is narrow: the CVE describes an API misuse and fix, but provides no CVSS, CWE, exploit details, or complete product mapping. The core validation question is whether the affected kernel build contains the mlxsw ACL TCAM code path and lacks the stable backport.
Mitigation direction
Update affected Linux kernels using vendor-supported packages or stable branches containing the referenced fixes.
Review Debian LTS and Siemens advisories if those distributions or products are in scope.
For embedded or appliance systems, obtain guidance from the device vendor before changing kernels.
Prioritize network platforms using mlxsw Spectrum hardware and ACL features.
Track vendor advisories because no CVSS or complete impact assessment is provided.
Validation and detection
Inventory Linux kernel versions against the CVE affected version list.
Confirm whether the mlxsw Spectrum driver is present and in use.
Check kernel source or package changelog for the referenced stable fix commits.
Review kernel logs for mlxsw_sp_acl_tcam_vchunk_migrate_all warnings.
Verify downstream vendor advisory status for Debian LTS or Siemens-managed assets.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-36006 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.