CVE-2022-50364 Details
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: mux: reg: check return value after calling platform_get_resource() It will cause null-ptr-deref in resource_size(), if platform_get_resource() returns NULL, move calling resource_size() after devm_ioremap_resource() that will check 'res' to avoid null-ptr-deref. And use devm_platform_get_and_ioremap_resource() to simplify code.
A vulnerability in the Linux kernel's I2C mux registration process can lead to a null pointer dereference. This issue occurs in the 'i2c-mux-reg' driver when the 'platform_get_resource()' function returns NULL. The vulnerability arises because the 'resource_size()' function is called before checking the validity of the resource, potentially leading to a crash. The problem has been addressed by rearranging the code to check the resource after it has been mapped, and by using a simplified resource management function.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.
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 Jan 14, 2026References 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/2d47b79d2bd39cc6369eccf94a06568d84c906ae | kernel.org | Patch |
| https://git.kernel.org/stable/c/61df25c41b8e0d2c988ccf17139f70075a2e1ba4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8212800943997fab61874550278d653cb378c60c | kernel.org | Patch |
| https://git.kernel.org/stable/c/f5049b3ad9446203b916ee375f30fa217735f63a | kernel.org | Patch |
| https://git.kernel.org/stable/c/f7a440c89b6d460154efeb058272760e41bdfea8 | 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.3, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
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 |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 10, 2025 | Initial Analysis | [email protected] |
| Sep 17, 2025 | New CVE Received | kernel.org |