CVE-2022-49608 Details
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible failure of the allocation, data->domains might be NULL pointer and will cause the dereference of the NULL pointer later. Therefore, it might be better to check it and directly return -ENOMEM without releasing data manually if fails, because the comment of the devm_kmalloc() says "Memory allocated with this function is automatically freed on driver detach.".
A vulnerability in the Linux kernel's pinctrl subsystem for Ralink devices can lead to a null pointer dereference. This issue arises because the memory allocation function devm_kcalloc can fail, potentially leaving data->domains as a null pointer. If this null pointer is later dereferenced, it can cause a crash. The vulnerability has been addressed by adding a check for null allocations, ensuring that -ENOMEM is returned without manually releasing data if the allocation fails.
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.
CISA-ADP
Assessed Oct 1, 2025References 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/13596e6c9e541e90e5fc2c52b23f08b951370da9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44016a85419ca0d4f1e4d0127b330f8e4e2a57d0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5595d30c4dc27d939635c3188c68203b6ece1711 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5694b162f275fb9a9f89422701b2b963be11e496 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6194c021496addc11763d1ffa89ce5751889fe3c | kernel.org | Patch |
| https://git.kernel.org/stable/c/c3b821e8e406d5650e587b7ac624ac24e9b780a8 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.18, < 4.19.254 >= 4.20, < 5.4.208 >= 5.5, < 5.10.134 >= 5.11, < 5.15.58 >= 5.16, < 5.18.15 5.19 rc1 5.19 rc2 5.19 rc3 5.19 rc4 5.19 rc5 5.19 rc6 5.19 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 11, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |