# CVE-2024-26856: net: sparx5: Fix use after free inside sparx5\_del\_mact\_entry

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-17 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-26856, DEBIAN-CVE-2024-26856
- Record: https://cvemate.com/vulnerability/CVE-2024-26856 · JSON: https://cvemate.com/vulnerability/CVE-2024-26856/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.322%, percentile 27.181%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 108)

- debian linux (Debian): \< 6.1.82-1 \| \< 6.7.12-1
- ubuntu linux (Ubuntu): \< 5.15.0-112.122
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1063.69
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1063.69~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1063.69+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1066.75
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1065.74~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://ubuntu.com/security/CVE-2024-26856>
- <https://www.cve.org/CVERecord?id=CVE-2024-26856>
- <https://git.kernel.org/linus/89d72d4125e94aa3c2140fedd97ce07ba9e37674>
- <https://ubuntu.com/security/notices/USN-6820-1>
- <https://ubuntu.com/security/notices/USN-6821-1>
- <https://ubuntu.com/security/notices/USN-6821-2>
- <https://ubuntu.com/security/notices/USN-6828-1>
- <https://ubuntu.com/security/notices/USN-6820-2>
- <https://ubuntu.com/security/notices/USN-6821-3>
- <https://ubuntu.com/security/notices/USN-6821-4>
- <https://ubuntu.com/security/notices/USN-6871-1>
- <https://ubuntu.com/security/notices/USN-6892-1>
- <https://ubuntu.com/security/notices/USN-6919-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-26856>

---

Data as of 2026-12-05T09:54:56.080Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
