CVE-2026-53338 Details
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.
A NULL pointer dereference vulnerability has been identified in the Linux kernel's Airoha Ethernet driver. This issue arises in the function 'airoha_qdma_init_hfwd_queues()', where the 'of_reserved_mem_lookup()' function is called without a prior NULL check. If the 'memory-region' phandle is misconfigured or the corresponding node is removed, 'of_reserved_mem_lookup()' can return NULL. The absence of a NULL check leads to a kernel crash by dereferencing a NULL pointer, specifically when accessing the reserved memory's base address and size.
The vulnerability has been addressed in the Linux kernel by adding a NULL check after the 'of_reserved_mem_lookup()' call. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/01f7d4b504580664d36faea5671cde5e3f0d8a5b | kernel.org | Patch |
| https://git.kernel.org/stable/c/cdb96c42db7b256348f9b57718debfaa4bca6b39 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9f25118faa4dd2b6e3d14a03d123bbdbd59925d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.16, < 6.18.36 >= 6.19, < 7.0.13 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 7.1 rc6 7.1 rc7 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | Initial Analysis | [email protected] |
| Jul 1, 2026 | New CVE Received | kernel.org |