GHSA-pvj4-6qwf-8pwqunknown
In the Linux kernel, the following vulnerability has been resolved: net: macb: fix...
🔗 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)
- https://nvd.nist.gov/vuln/detail/CVE-2026-98492
- https://git.kernel.org/stable/c/23d42b9a3bcd55b17d3b371544fedc708c2397e9
- https://git.kernel.org/stable/c/259e6cbb6a097da8ced544ee92a6fbde35aa1338
- https://git.kernel.org/stable/c/bda487567d0b7b15dfa876511085c0666b9efad5
- https://github.com/advisories/GHSA-pvj4-6qwf-8pwq