CVE-2024-26856

published 17 Apr 2024 · updated 5 Aug 2026

net: sparx5: Fix use after free inside sparx5_del_mact_entry

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0de693d68b0a18d5e256556c7c62d92cca35ad52, Kernel 71809805b95052ff551922f11660008fb3666025, Kernel 89d72d4125e94aa3c2140fedd97ce07ba9e37674 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <0de693d68b0a18d5e256556c7c62d92cca35ad52, >=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <71809805b95052ff551922f11660008fb3666025, >=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <89d72d4125e94aa3c2140fedd97ce07ba9e37674, >=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <e46274df1100fb0c06704195bfff5bfbd418bf64, >=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <e83bebb718fd1f42549358730e1206164e0861d60de693d68b0a18d5e256556c7c62d92cca35ad52, 71809805b95052ff551922f11660008fb3666025, 89d72d4125e94aa3c2140fedd97ce07ba9e37674, e46274df1100fb0c06704195bfff5bfbd418bf64, e83bebb718fd1f42549358730e1206164e0861d6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26856 severity on Zeptric[![CVE-2024-26856](https://zeptric.io/badge/cve/CVE-2024-26856.svg)](https://zeptric.io/cve/CVE-2024-26856)