CVE-2024-26856
net: sparx5: Fix use after free inside sparx5_del_mact_entry
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.
INFO
Published Date :
April 17, 2024, 11:15 a.m.
Last Modified :
Nov. 21, 2024, 9:03 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected kernel packages.
- Reboot the system after patching.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26856.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26856 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26856
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26856 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26856 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.7.10 *cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.14 from (excluding) 5.15.152 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.82 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.22 *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* Added Reference Type CVE: https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6 Types: Mailing List, Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52 Added Reference https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025 Added Reference https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674 Added Reference https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64 Added Reference https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 17, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/e46274df1100fb0c06704195bfff5bfbd418bf64 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0de693d68b0a18d5e256556c7c62d92cca35ad52 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e83bebb718fd1f42549358730e1206164e0861d6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/71809805b95052ff551922f11660008fb3666025 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/89d72d4125e94aa3c2140fedd97ce07ba9e37674 [No types assigned]