CVE-2024-50170Published Nov 7, 2024 · Nov 7Updated Oct 28
net: bcmasp: fix potential memory leak in bcmasp_xmit()
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.596.11.66.12In 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.
From the CVE record · Linux
The Linux kernel's bcmasp_xmit() can leak an skb when mapping fails because it returns without freeing it. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected bcmasp code should check their versions; affected versions are not specified.