Bug 2493729 (CVE-2026-53298) - CVE-2026-53298 kernel: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
Summary: CVE-2026-53298 kernel: net: airoha: Move ndesc initialization at end of airoh...
Keywords:
Status: NEW
Alias: CVE-2026-53298
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-26 21:03 UTC by OSIDB Bzimport
Modified: 2026-06-29 09:42 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-26 21:03:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()

If queue entry or DMA descriptor list allocation fails in
airoha_qdma_init_rx_queue routine, airoha_qdma_cleanup() will trigger a
NULL pointer dereference running netif_napi_del() for RX queue NAPIs
since netif_napi_add() has never been executed to this particular RX NAPI.
The issue is due to the early ndesc initialization in
airoha_qdma_init_rx_queue() since airoha_qdma_cleanup() relies on ndesc
value to check if the queue is properly initialized. Fix the issue moving
ndesc initialization at end of airoha_qdma_init_tx routine.
Move page_pool allocation after descriptor list allocation in order to
avoid memory leaks if desc allocation fails.

Comment 1 Mauro Matteo Cascella 2026-06-29 09:37:48 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062618-CVE-2026-53298-7ff5@gregkh/T


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