# CVE-2026-98492: net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-18T15:16:21.208Z
- Modified: 2026-10-19T10:19:01.310Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 78d901897b3cae06b38f54e48a2378cf9da21175 before bda487567d0b7b15dfa876511085c0666b9efad5; from 78d901897b3cae06b38f54e48a2378cf9da21175 before 259e6cbb6a097da8ced544ee92a6fbde35aa1338; from 78d901897b3cae06b38f54e48a2378cf9da21175 before 23d42b9a3bcd55b17d3b371544fedc708c2397e9; 982a4d9a2e12b693f684eff943043a607628d871; from 6.17.3 before 6.18; 6.18 (not affected: before 6.18; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/bda487567d0b7b15dfa876511085c0666b9efad5>
- <https://git.kernel.org/stable/c/259e6cbb6a097da8ced544ee92a6fbde35aa1338>
- <https://git.kernel.org/stable/c/23d42b9a3bcd55b17d3b371544fedc708c2397e9>

## Sources

- CVE List: [CVE-2026-98492](https://www.cve.org/CVERecord?id=CVE-2026-98492), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98492](https://nvd.nist.gov/vuln/detail/CVE-2026-98492), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98492 · Whole record: https://cve.day/CVE-2026-98492.json · Rebuilt by cve.day 2026-11-25T22:59:45.200Z
