CVE-2024-26856: net: sparx5: Fix use after free inside sparx5_del_mact_entry
In the Linux kernel, the following vulnerability has been resolved:
net: sparx5: Fix use after free inside sparx5delmactentry
Based on the static analyzis of the code it looks like when an entry from the MAC table was removed, the entry was still used after being freed. More precise the vid of the macentry was used after calling devmkfree on the macentry. The fix consists in first using the vid of the macentry to delete the entry from the HW and after that to free it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26856?
CVE-2024-26856 is classified as a medium severity vulnerability.
How do I fix CVE-2024-26856?
To fix CVE-2024-26856, upgrade to the patched versions of the Linux kernel specified in the advisory.
What systems are affected by CVE-2024-26856?
CVE-2024-26856 affects specific Debian Linux kernel versions, including 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.11-1, and 6.12.12-1.
What does CVE-2024-26856 exploit?
CVE-2024-26856 exploits a use-after-free vulnerability in the MAC table management of the Linux kernel's sparx5 driver.
Is CVE-2024-26856 under active exploitation?
As of the latest information, there are no confirmed reports indicating active exploitation of CVE-2024-26856.