CVE-2024-50170
JSON

7.5high

net: bcmasp: fix potential memory leak in bcmasp_xmit()

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 490cb412007de593e07c1d3e2b1ec4233886707c before 7218de0778aefbbbcfe474a55f88bbf6f244627d, from 490cb412007de593e07c1d3e2b1ec4233886707c before f689f20d3e09f2d4d0a2c575a9859115a33e68bd, from 490cb412007de593e07c1d3e2b1ec4233886707c before fed07d3eb8a8d9fcc0e455175a89bc6445d6faed, 6.6
Not affected: before 6.6, from 6.6.59 up to 6.6.*, from 6.11.6 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.6 before 6.6.59, from 6.7 before 6.11.6, 6.12NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: bcmasp: corrige una posible pérdida de memoria en bcmasp_xmit(). bcmasp_xmit() devuelve NETDEV_TX_OK sin liberar skb en caso de que falle el mapeo, agregue dev_kfree_skb() para solucionarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50170 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-50170 changed 2026-08-04Public domain