CVE-2024-26856
net: sparx5: Fix use after free inside sparx5_del_mact_entry
Mitigation
- Upgrade Linux to 89d72d4125e94aa3c2140fedd97ce07ba9e37674 or later.
Who should check
- Anyone running Linux >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e46274df1100fb0c06704195bfff5bfbd418bf64; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 0de693d68b0a18d5e256556c7c62d92cca35ad52; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e83bebb718fd1f42549358730e1206164e0861d6; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 71809805b95052ff551922f11660008fb3666025; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 89d72d4125e94aa3c2140fedd97ce07ba9e37674
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e46274df1100fb0c06704195bfff5bfbd418bf64; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 0de693d68b0a18d5e256556c7c62d92cca35ad52; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e83bebb718fd1f42549358730e1206164e0861d6; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 71809805b95052ff551922f11660008fb3666025; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 89d72d4125e94aa3c2140fedd97ce07ba9e37674; Linux 5.14
- Fixed in
- Linux 0de693d68b0a18d5e256556c7c62d92cca35ad52, Linux 71809805b95052ff551922f11660008fb3666025, Linux 89d72d4125e94aa3c2140fedd97ce07ba9e37674
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e46274df1100fb0c06704195bfff5bfbd418bf64; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 0de693d68b0a18d5e256556c7c62d92cca35ad52; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e83bebb718fd1f42549358730e1206164e0861d6; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 71809805b95052ff551922f11660008fb3666025; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 89d72d4125e94aa3c2140fedd97ce07ba9e37674 | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26856. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26856.md Affected: Linux >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e46274df1100fb0c06704195bfff5bfbd418bf64; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 0de693d68b0a18d5e256556c7c62d92cca35ad52; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e83bebb718fd1f42549358730e1206164e0861d6; >= b37a1bae742f92cc9b1f777… Fixed in: Linux 0de693d68b0a18d5e256556c7c62d92cca35ad52, Linux 71809805b95052ff551922f11660008fb3666025, Linux 89d72d4125e94aa3c2140fedd97ce07ba9e37674 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64
- https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52
- https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6
- https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025
- https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674
FAQ
Is CVE-2024-26856 being exploited?
There is no confirmed exploitation: CVE-2024-26856 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26856?
High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-26856?
Linux >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e46274df1100fb0c06704195bfff5bfbd418bf64; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 0de693d68b0a18d5e256556c7c62d92cca35ad52; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < e83bebb718fd1f42549358730e1206164e0861d6; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 71809805b95052ff551922f11660008fb3666025; >= b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2, < 89d72d4125e94aa3c2140fedd97ce07ba9e37674; Linux 5.14.
Is there a fix for CVE-2024-26856?
Yes. Fixed in Linux 0de693d68b0a18d5e256556c7c62d92cca35ad52, Linux 71809805b95052ff551922f11660008fb3666025, Linux 89d72d4125e94aa3c2140fedd97ce07ba9e37674. Upgrade Linux to 89d72d4125e94aa3c2140fedd97ce07ba9e37674 or later.
How do I check if I'm affected by CVE-2024-26856?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.