Invalid kernel access via freed MAC entry
Published Apr 17, 2024 · Updated Aug 5, 2026
Use-after-free in the Sparx5 switch driver in Linux allows attackers to trigger an invalid kernel-memory access during MAC-table removal. The sparx5_del_mact_entry function frees mac_entry with devm_kfree and then reads its vid member to remove the corresponding hardware entry. The path is limited to systems using Sparx5 switching hardware, and the public record documents no demonstrated consequence beyond the invalid post-free access.
Summary
What happened
Use-after-free in the Sparx5 switch driver in Linux allows attackers to trigger an invalid kernel-memory access during MAC-table removal. The sparx5_del_mact_entry function frees mac_entry with devm_kfree and then reads its vid member to remove the corresponding hardware entry. The path is limited to systems using Sparx5 switching hardware, and the public record documents no demonstrated consequence beyond the invalid post-free access.
The record
- CVE
- CVE-2024-26856
- Published
- Apr 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 17, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.14
- Affected versionversion=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <0de693d68b0a18d5e256556c7c62d92cca35ad52
- Affected versionversion=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <71809805b95052ff551922f11660008fb3666025
- Affected versionversion=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <89d72d4125e94aa3c2140fedd97ce07ba9e37674
- Affected versionversion=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <e46274df1100fb0c06704195bfff5bfbd418bf64
- Affected versionversion=b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2 <e83bebb718fd1f42549358730e1206164e0861d6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo