# CVE-2026-53298: net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-26T19:40:55.867Z
- Modified: 2026-07-08T03:39:49.683Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 23020f04932701d5c8363e60756f12b43b8ed752 before d36be272adda7f313e39dd118086955d993bf6a7; from 23020f04932701d5c8363e60756f12b43b8ed752 before 4d4acfa348a1d8c0941004823662ede0fdb5dea5; from 23020f04932701d5c8363e60756f12b43b8ed752 before 14dc48e5ba73d5c69559bf1a1a6884f7843aade7; from 23020f04932701d5c8363e60756f12b43b8ed752 before 379050947a1828826ad7ea50c95245a56929b35a; 6.11 (not affected: before 6.11; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.11 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/d36be272adda7f313e39dd118086955d993bf6a7> (patch)
- <https://git.kernel.org/stable/c/4d4acfa348a1d8c0941004823662ede0fdb5dea5> (patch)
- <https://git.kernel.org/stable/c/14dc48e5ba73d5c69559bf1a1a6884f7843aade7> (patch)
- <https://git.kernel.org/stable/c/379050947a1828826ad7ea50c95245a56929b35a> (patch)

## Sources

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

---

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