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: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A null pointer dereference in the Airoha QDMA driver occurs when the driver attempts to access a reserved memory region that is not present in the device tree. The missing region causes of_reserved_mem_lookup() to return NULL, which is then dereferenced, leading to a kernel panic that brings the entire system down. This flaw directly results in a denial of service and has no known path for arbitrary code execution.

Affected Systems

The flaw resides in the Linux kernel’s airoha network driver and therefore affects all Linux distributions that ship the affected driver and have not applied the patch commit. The issue is not limited to a specific vendor or distribution; any system using a kernel version prior to the NULL‑check fix and containing an Airoha network device is vulnerable. If the device tree for the Airoha NIC references a memory-region node that does not exist in the reserved‑memory table, the system is susceptible.

Risk and Exploitability

The CVSS score is not publicly listed and the EPSS score is unavailable, but the nature of a kernel null‑pointer dereference implies a high severity. An attacker would need local or privileged access to manipulate or remove the memory‑region reference in the device tree, or delay the system’s access to the reserved region. While the vulnerability cannot be directly leveraged for code execution, it can cause repeated crashes, making it a serious availability threat. The vulnerability is not yet listed in the CISA KEV catalog, indicating no confirmed exploit in the wild.

Generated by OpenCVE AI on July 1, 2026 at 18:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the NULL‑check patch for airoha_qdma_init_hfwd_queues()
  • If a, verify that the Airoha device’s device tree entry references a valid reserved memory region; correct or remove any missing memory‑region phandles that could trigger the lookup failure
  • After applying the patch or correcting the device tree, reboot the system to ensure the updated code path is loaded and monitor system logs for any kernel panic events

Generated by OpenCVE AI on July 1, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T18:30:15Z

Weaknesses