Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35858
HistoryMay 17, 2024 - 2:47 p.m.

CVE-2024-35858 net: bcmasp: fix memory leak when bringing down interface

2024-05-1714:47:33
Linux
www.cve.org
linux kernel
cve-2024-35858
memory leak
fix
interface
bcmasp
net
tx rings
dma mapped buffers.

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
    ],
    "versions": [
      {
        "version": "490cb412007d",
        "lessThan": "09040baf8779",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "490cb412007d",
        "lessThan": "2389ad199016",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "490cb412007d",
        "lessThan": "9f898fc2c31f",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.30",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.9",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

Related for CVELIST:CVE-2024-35858