CVE-2024-26856
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.32% probability · 25th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52Mailing List, Patch
- https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025Mailing List, Patch
- https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674Mailing List, Patch
- https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64Mailing List, Patch
- https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6Mailing List, Patch
- https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52Mailing List, Patch
- https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025Mailing List, Patch
- https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674Mailing List, Patch
- https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64Mailing List, Patch
- https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6Mailing List, Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.