CVE-2024-26856

Source
https://cve.org/CVERecord?id=CVE-2024-26856
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26856.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26856
Downstream
Related
Published
2024-04-17T10:17:18.475Z
Modified
2026-03-14T12:30:01.062874Z
Summary
net: sparx5: Fix use after free inside sparx5_del_mact_entry
Details

In the Linux kernel, the following vulnerability has been resolved:

net: sparx5: Fix use after free inside sparx5delmact_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 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26856.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b37a1bae742f92cc9b1f777d54e04ee3d86bbfc2
Fixed
e46274df1100fb0c06704195bfff5bfbd418bf64
Fixed
0de693d68b0a18d5e256556c7c62d92cca35ad52
Fixed
e83bebb718fd1f42549358730e1206164e0861d6
Fixed
71809805b95052ff551922f11660008fb3666025
Fixed
89d72d4125e94aa3c2140fedd97ce07ba9e37674

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26856.json"