CVE-2024-26856

HIGH

Linux Kernel 5.14-5.15.151, 5.16-6.1.81, 6.2-6.6.21, 6.7-6.7.9 - Use-After-Free in sparx5_del_mact_entry

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0023
EPSS Percentile 13.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (18)
linux/Kernel 5.14.0 - 5.15.152linux
linux/Kernel 5.16.0 - 6.1.82linux
linux/Kernel 6.2.0 - 6.6.22linux
linux/Kernel 6.7.0 - 6.7.10linux
Linux/Linux < 5.14
Linux/Linux 5.14
Linux/Linux 5.15.152 - 5.15.*
Linux/Linux 6.1.82 - 6.1.*
Linux/Linux 6.6.22 - 6.6.*
Linux/Linux 6.7.10 - 6.7.*
... and 8 more
Published Apr 17, 2024
Tracked Since Feb 18, 2026