CVE-2026-53298: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
In the Linux kernel, the following vulnerability has been resolved:
net: airoha: Move ndesc initialization at end of airohaqdmainitrxqueue()
If queue entry or DMA descriptor list allocation fails in airohaqdmainitrxqueue routine, airohaqdmacleanup() will trigger a NULL pointer dereference running netifnapidel() for RX queue NAPIs since netifnapiadd() has never been executed to this particular RX NAPI. The issue is due to the early ndesc initialization in airohaqdmainitrxqueue() since airohaqdmacleanup() relies on ndesc value to check if the queue is properly initialized. Fix the issue moving ndesc initialization at end of airohaqdmainittx routine. Move pagepool allocation after descriptor list allocation in order to avoid memory leaks if desc allocation fails.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53298?
CVE-2026-53298 has a severity rating of 11, indicating a critical risk.
How do I fix CVE-2026-53298?
To mitigate CVE-2026-53298, ensure that you update to the patched version of the Linux kernel where the vulnerability has been resolved.
What type of vulnerability is CVE-2026-53298?
CVE-2026-53298 is classified as a Null Pointer Dereference vulnerability.
Which software is affected by CVE-2026-53298?
CVE-2026-53298 affects the Linux kernel.
What is the impact of CVE-2026-53298?
The impact of CVE-2026-53298 can lead to a NULL pointer dereference, potentially causing system instability.