Vulnerabilities · 2024 · Linux
CVE-2024-26856
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: sparx5: Fix use after free inside sparx5_del_mact_entry 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 mac_entry was used after calling devm_kfree on the mac_entry. The fix consists in first using the vid of the mac_entry to delete the entry from the HW and after that to free it.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52 · Patch
- git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025 · Patch
- git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674 · Patch
- git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64 · Patch
- git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-26856
- cve.org/CVERecord?id=CVE-2024-26856
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.