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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-04-17T10:17:18.475Z

Updated: 2024-11-05T09:17:03.215Z

Reserved: 2024-02-19T14:20:24.183Z

Link: CVE-2024-26856

cve-icon Vulnrichment

Updated: 2024-08-02T00:14:13.666Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-17T11:15:08.740

Modified: 2024-04-17T12:48:07.510

Link: CVE-2024-26856

cve-icon Redhat

Severity : Low

Publid Date: 2024-04-17T00:00:00Z

Links: CVE-2024-26856 - Bugzilla