CVE-2026-53338: net: airoha: Add NULL check for of_reserved_mem_lookup() in airoha_qdma_init_hfwd_queues()

Published Jul 1, 2026
·
Updated

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

net: airoha: Add NULL check for ofreservedmemlookup() in airohaqdmainithfwdqueues()

ofreservedmemlookup() 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:

dmaaddr = rmem->base; // line 1156 numdesc = divu64(rmem->size, bufsize); // line 1160

Add a NULL check after ofreservedmemlookup() and return -ENODEV if the lookup fails, which is consistent with the existing error handling for ofparsephandle() failure in the same code block.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In airoha_qdma_init_hfwd_queues(), after calling rmem = of_reserved_mem_lookup(...), add a NULL check: if rmem is NULL, return -ENODEV before dereferencing rmem->base or rmem->size (e.g., lines where dma_addr = rmem->base and num_desc = div_u64(rmem->size, buf_size)).

    Linux kernel (net: airoha) airoha_qdma_init_hfwd_queues() NULL check after of_reserved_mem_lookup() = return -ENODEV

Event History

Jul 1, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via NVD·02:16 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2026-53338?

The severity of CVE-2026-53338 is rated at risk level 27.

2

How do I fix CVE-2026-53338?

To fix CVE-2026-53338, ensure that the Linux kernel is updated to the latest version where this vulnerability has been addressed.

3

What does CVE-2026-53338 affect?

CVE-2026-53338 affects the Linux kernel, specifically the net subsystem in the airoha driver.

4

What vulnerability is addressed in CVE-2026-53338?

CVE-2026-53338 addresses a potential NULL pointer dereference in the airoha_qdma_init_hfwd_queues() function.

5

When was CVE-2026-53338 published?

CVE-2026-53338 was published on July 1, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203