CVE-2026-98492

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

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 78d901897b3cae06b38f54e48a2378cf9da21175 to before bda487567d0b7b15dfa876511085c0666b9efad5Affected
  • 78d901897b3cae06b38f54e48a2378cf9da21175 to before 259e6cbb6a097da8ced544ee92a6fbde35aa1338Affected
  • 78d901897b3cae06b38f54e48a2378cf9da21175 to before 23d42b9a3bcd55b17d3b371544fedc708c2397e9Affected
  • 982a4d9a2e12b693f684eff943043a607628d871Affected
  • 6.17.3 to before 6.18Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.