CVEvulnerability

CVE-2024-26856

7.8 HIGH Published 2024-04-17 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-04-17
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

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.

Affected configurations

• linux linux kernel (>= 5.14 < 5.15.152) • linux linux kernel (>= 5.16 < 6.1.82) • linux linux kernel (>= 6.2 < 6.6.22) • linux linux kernel (>= 6.7 < 6.7.10) • linux linux kernel 6.8

Related

Weakness · CWE (1)

References