Skip to content
Heist/ feed
Back to feed
HighFix available

net: bcmasp: fix memory leak when bringing down interface

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.6.30, 6.8.9
CVEs
CVE-2024-35858
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:36 UTC · Revision 1

Source evidence

net: bcmasp: fix memory leak when bringing down interface

core-osv · Original source

Published 17 May 2024, 14:47 UTC

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.

osv:CVE-2024-35858

Kernel

Fixed versions: 6.6.30, 6.8.9

Complete source record
{
  "id": "3c9c4d66410c9b2766dc77dbc2a66a94862f865497acbbe022e3b9ff0efc8b75",
  "url": "https://osv.dev/vulnerability/CVE-2024-35858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: bcmasp: fix memory leak when bringing down interface",
    "summary": "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.",
    "evidence": "osv:CVE-2024-35858",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-35858",
      "aliases": [
        "CVE-2024-35858"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "490cb412007de593e07c1d3e2b1ec4233886707c"
                },
                {
                  "fixed": "09040baf8779ad880e0e0d0ea10e57aa929ef3ab"
                },
                {
                  "fixed": "2389ad1990163d29cba5480d693b4c2e31cc545c"
                },
                {
                  "fixed": "9f898fc2c31fbf0ac5ecd289f528a716464cb005"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35858.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.30"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35858.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.568588146Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/09040baf8779ad880e0e0d0ea10e57aa929ef3ab",
        "https://git.kernel.org/stable/c/2389ad1990163d29cba5480d693b4c2e31cc545c",
        "https://git.kernel.org/stable/c/9f898fc2c31fbf0ac5ecd289f528a716464cb005",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35858.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35858",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35858.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35858",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495033,
  "published_at": "2024-05-17T14:47:33.401+00:00"
}