Description
In the Linux kernel, the following vulnerability has been resolved:

net: airoha: Add NULL check for of_reserved_mem_lookup() in airoha_qdma_init_hfwd_queues()

of_reserved_mem_lookup() may return NULL if the reserved memory region
referenced by the "memory-region" phandle is not found in the reserved
memory table (e.g. due to a misconfigured DTS or a removed
memory-region node). The current code dereferences the returned
pointer without checking for NULL, leading to a kernel NULL pointer
dereference at the following lines:

dma_addr = rmem->base; // line 1156
num_desc = div_u64(rmem->size, buf_size); // line 1160

Add a NULL check after of_reserved_mem_lookup() and return -ENODEV if
the lookup fails, which is consistent with the existing error handling
for of_parse_phandle() failure in the same code block.
Published: 2026-07-01
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The airoha network driver in the Linux kernel lacks a NULL check around the result of of_reserved_mem_lookup(). When a device tree memory-region phandle does not correspond to a reserved memory entry, the function returns NULL. The subsequent code dereferences the pointer, which causes a kernel NULL pointer dereference during driver initialization. A NULL pointer dereference in the kernel results in a panic and brings the entire system down, effectively a denial-of-service.

Affected Systems

All Linux kernel versions that include the airoha QDMA driver and do not yet incorporate the NULL-check patch are affected. Any system that uses a device tree entry for an airoha network interface with a memory-region phandle that could be missing or misconfigured is at risk. The CVE does not provide a list of specific kernel releases, but the vulnerability applies to any configuration that falls under the described conditions.

Risk and Exploitability

The EPSS score is less than 1%, indicating a very low predicted exploitation probability, and the vulnerability is not listed in CISA's KEV catalog. No CVSS score is published. The likely attack vector is modification of the device tree or firmware to reference a non-existent memory region, inferred from the description. Exploitation would require the attacker to alter the device tree configuration or use hardware that presents an incorrect memory-region phandle, which is generally difficult outside of a physical or privileged context. Consequently, the risk remains low for systems where the device tree cannot be modified.

Generated by OpenCVE AI on July 21, 2026 at 14:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the NULL-check addition to airoha_qdma_init_hfwd_queues().
  • Verify that the device tree entry for the airoha NIC contains a valid memory-region phandle; correct or remove any missing or incorrect phandles.
  • Reboot the system after applying the patch or correcting the device tree and monitor kernel logs for residual panic events.

Generated by OpenCVE AI on July 21, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 00:15:00 +0000


Wed, 01 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 01 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: airoha: Add NULL check for of_reserved_mem_lookup() in airoha_qdma_init_hfwd_queues() of_reserved_mem_lookup() may return NULL if the reserved memory region referenced by the "memory-region" phandle is not found in the reserved memory table (e.g. due to a misconfigured DTS or a removed memory-region node). The current code dereferences the returned pointer without checking for NULL, leading to a kernel NULL pointer dereference at the following lines: dma_addr = rmem->base; // line 1156 num_desc = div_u64(rmem->size, buf_size); // line 1160 Add a NULL check after of_reserved_mem_lookup() and return -ENODEV if the lookup fails, which is consistent with the existing error handling for of_parse_phandle() failure in the same code block.
Title net: airoha: Add NULL check for of_reserved_mem_lookup() in airoha_qdma_init_hfwd_queues()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-01T13:32:21.147Z

Reserved: 2026-06-09T07:44:35.399Z

Link: CVE-2026-53338

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-01T00:00:00Z

Links: CVE-2026-53338 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:45:02Z

Weaknesses