GHSA-pvj4-6qwf-8pwqunknown

In the Linux kernel, the following vulnerability has been resolved: net: macb: fix...

Published
October 18, 2026
Last Modified
October 18, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (5)