Bug 2554890 (CVE-2026-98492) - CVE-2026-98492 kernel: net: macb: fix dma_alloc_coherent() leak on macb_alloc() error paths
Summary: CVE-2026-98492 kernel: net: macb: fix dma_alloc_coherent() leak on macb_alloc...
Keywords:
Status: NEW
Alias: CVE-2026-98492
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 15:25 UTC by OSIDB Bzimport
Modified: 2026-10-20 13:04 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 15:25:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.