CVE-2024-35858
JSON

7.8high

net: bcmasp: fix memory leak when bringing down interface

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.33% (higher than 18% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: fix memory leak when bringing down interface When bringing down the TX rings we flush the rings but forget to reclaimed the flushed packets. This leads to a memory leak since we do not free the dma mapped buffers. This also leads to tx control block corruption when bringing down the interface for power management.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 490cb412007de593e07c1d3e2b1ec4233886707c before 09040baf8779ad880e0e0d0ea10e57aa929ef3ab, from 490cb412007de593e07c1d3e2b1ec4233886707c before 2389ad1990163d29cba5480d693b4c2e31cc545c, from 490cb412007de593e07c1d3e2b1ec4233886707c before 9f898fc2c31fbf0ac5ecd289f528a716464cb005, 6.6
Not affected: before 6.6, from 6.6.30 up to 6.6.*, from 6.8.9 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernelfrom 6.6 before 6.6.30, from 6.7 before 6.8.9, 6.9NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 memory leak when bringing down interface When bringing down the TX rings we flush the rings but forget to reclaimed the flushed packets. This leads to a memory leak since we do not free the dma mapped buffers. This also leads to tx control block corruption when bringing down the interface for power management.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: bcmasp: corrige la pérdida de memoria al desactivar la interfaz. Al desactivar los anillos TX, los limpiamos pero nos olvidamos de recuperar los paquetes eliminados. Esto provoca una pérdida de memoria ya que no liberamos los búfers asignados por dma. Esto también conduce a la corrupción del bloque de control de transmisión al desactivar la interfaz para la administración de energía.

References

Sources

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