CVE-2024-26586: Stack Buffer Overflow in Linux mlxsw Spectrum ACL TCAM Handling
- Vendor
- Linux
CVE-2024-26586 is a stack-based buffer overflow in the Linux kernel's mlxsw Spectrum Ethernet switch driver. On Spectrum-2 and newer ASICs, firmware can advertise support for more than 16 ACLs per group, while the driver's PAGT register layout accommodates only 16. Creating traffic-control filters that require more than 16 ACLs in one group can therefore corrupt the kernel stack in mlxsw_sp_acl_tcam_group_update(). Filters added with decreasing priorities and alternating key usage can force allocation into separate TCAM regions and trigger this condition. Successful exploitation can cause a kernel panic and potentially allow local privilege escalation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker with administrative network-configuration privileges can trigger kernel-stack corruption, causing a kernel panic and system-wide denial of service. Privilege escalation is also a potential consequence, although a demonstrated privilege-escalation exploit is not established.
Mitigation
If you can’t patch tonight, do this now.
Prevent the mlxsw_spectrum kernel module from loading where Spectrum switch functionality is not required. This removes access to the vulnerable driver but also disables functionality dependent on it. Until patching is possible, restrict administrative access to traffic-control configuration and avoid filter configurations requiring more than 16 ACLs in a single group.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel or kernel-rt update containing the fix and reboot into the updated kernel. The fix caps the maximum ACL group size at the smaller of the firmware-advertised limit and the capacity of the PAGT register layout. Fixed package examples include RHEL 8.4 kernel 4.18.0-305.130.1.el8_4, RHEL 8.6 kernel 4.18.0-372.102.1.el8_6, and RHEL 9.2 kernel 5.14.0-284.62.1.el9_2. Use the update applicable to the installed distribution and support channel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-26586 exploited in the wild?
- As of Nov 16, 2026, Mallory has no reports of CVE-2024-26586 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-26586?
- As of Nov 16, 2026, Mallory has found no public exploit for CVE-2024-26586.
- Is there a patch for CVE-2024-26586?
- Install a vendor-supported kernel or kernel-rt update containing the fix and reboot into the updated kernel. The fix caps the maximum ACL group size at the smaller of the firmware-advertised limit and the capacity of the PAGT register layout.
- What products are affected by CVE-2024-26586?
- Linux Kernel.
- How severe is CVE-2024-26586?
- CVE-2024-26586 has a CVSS v3.1 score of 6.7 (Medium) and an EPSS score of 0.32% (18th percentile) as of Nov 16, 2026.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.