CVE-2024-50170 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: fix potential memory leak in bcmasp_xmit() The bcmasp_xmit() returns NETDEV_TX_OK without freeing skb in case of mapping fails, add dev_kfree_skb() to fix it.
A memory leak vulnerability has been identified in the Linux kernel's bcmasp_xmit function, which is part of the network driver for Broadcom ASP2.0 Ethernet controllers. The issue arises because the function returns NETDEV_TX_OK without freeing the socket buffer (skb) when the mapping fails. This oversight can lead to a memory leak, as the allocated memory for the skb is not properly released.
Users can apply the patch available in the Linux kernel stable tree to address this vulnerability. The patch adds a line of code to the bcmasp_xmit function to free the socket buffer when the mapping fails, preventing the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7218de0778aefbbbcfe474a55f88bbf6f244627d | kernel.org | Patch |
| https://git.kernel.org/stable/c/f689f20d3e09f2d4d0a2c575a9859115a33e68bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/fed07d3eb8a8d9fcc0e455175a89bc6445d6faed | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.59 >= 6.7, < 6.11.6 6.12 rc1 6.12 rc2 6.12 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Nov 13, 2024 | Initial Analysis | [email protected] |
| Nov 7, 2024 | New CVE Received | kernel.org |