CVE-2026-53298

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

Published Jun 26, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel’s airoha network driver, a null pointer dereference can occur when queue entry or DMA descriptor allocation fails during initialization of an RX queue. The cleanup routine, relying on an early‑initialized descriptor count variable, mistakenly thinks the queue is fully set up and attempts to delete a NAPI object that was never added, causing a dereference. The CVE notes that moving the descriptor count initialization to the end of the queue‑setup routine and ordering page‑pool allocation after descriptor allocation prevents both the null dereference and potential memory leaks.

Affected Systems

This vulnerability affects all Linux kernel builds that incorporate the airoha network driver before the fix. The driver is a vendor‑specific piece of the Linux kernel, thus any system running a kernel that includes the airoha driver and has an active airoha network interface is potentially impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity, and the EPSS score of <1% signals a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The description indicates that the flaw requires a failure in driver initialization, which is likely to be triggered by local or privileged actions involving the airoha device. Based on the description, it is inferred that the null pointer dereference could terminate the kernel, leading to a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the fixed airoha driver code.
  • If the kernel cannot be updated immediately, disable or remove the airoha network driver from the system to prevent the vulnerability from being exercised.
  • Monitor system logs for NAPI or kernel error messages and reboot or patch the system if a crash occurs.

Generated by OpenCVE AI on August 12, 2026 at 09:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title net: airoha: Move ndesc initialization at end of airoha_qdma_init_rx_queue()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jun 26, 2026, 7:40 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jun 26, 2026, 8:17 PM
Modified
Jul 8, 2026, 3:39 AM
Severity
Public date
Jun 26, 2026, 12:00 AM