CVE-2026-98492

net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths

Published Oct 18, 2026 CVSS 3.1 · 1.9 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths

Fix 3 leaks in macb_alloc() error paths:
- Tx buffer allocated but crossing a 4G boundary: Tx leaked.
- Rx buffer allocation fails: Tx leaked.
- Rx buffer allocated but crossing a 4G boundary: Tx & Rx leaked.

This is because our error handling calls macb_free(bp) which in turn
frees the buffers stored in bp->queues[0], but nothing has been stored
in there. Fix by storing allocated buffers into bp->queues[0] ASAP.

Analysis

AI-generated

Technical impact

The Linux kernel network driver for the MACB Ethernet controller contains a flaw that causes dma_alloc_coherent() buffers to leak when macb_alloc() encounters error conditions. Unreleased transmit and receive DMA buffers accumulate, potentially exhausting kernel memory and leading to a system that becomes unresponsive.

Affected Systems

All Linux kernel releases that include the macb driver are affected. The driver is part of the Linux kernel tree and is used on systems with the MACB Ethernet controller. No specific version ranges or vendor release dates are given.

Risk and Exploitability

The CVSS score of 1.9 indicates a low severity. The EPSS score of <1% shows an extremely low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be local or through crafted network packets that force the driver into a failure path, as the description references error conditions in buffer allocation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the macb driver patch referenced by the provided commit hashes
  • If a full kernel update is not possible, disable or remove the MACB network interface so the vulnerable driver is not loaded
  • After applying a patch, monitor system memory usage and DMA buffer allocation to confirm the leak has been resolved

Generated by OpenCVE AI on October 23, 2026 at 07:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 1.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths Fix 3 leaks in macb_alloc() error paths: - Tx buffer allocated but crossing a 4G boundary: Tx leaked. - Rx buffer allocation fails: Tx leaked. - Rx buffer allocated but crossing a 4G boundary: Tx & Rx leaked. This is because our error handling calls macb_free(bp) which in turn frees the buffers stored in bp->queues[0], but nothing has been stored in there. Fix by storing allocated buffers into bp->queues[0] ASAP.
Title net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:20 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Low
Public date
Oct 18, 2026, 12:00 AM