Skip to main content
← All vulnerabilities
CVE-2026-98492

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18, 6.18.55, 7.2.9
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 78d901897b3cae06b38f54e48a2378cf9da21175 · fixed in bda487567d0b7b15dfa876511085c0666b9efad5; From 78d901897b3cae06b38f54e48a2378cf9da21175 · fixed in 259e6cbb6a097da8ced544ee92a6fbde35aa1338; From 78d901897b3cae06b38f54e48a2378cf9da21175 · fixed in 23d42b9a3bcd55b17d3b371544fedc708c2397e9; From 6.17.3 · fixed in 6.18

  • Linux Linux

    6.18

  • KernelLinux

    From 6.18.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9

References 3

git.kernel.org