CVE-2022-49046 Details
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: dev: check return value when calling dev_set_name() If dev_set_name() fails, the dev_name() is null, check the return value of dev_set_name() to avoid the null-ptr-deref.
A vulnerability in the Linux kernel's i2c subsystem has been addressed, which involved improper handling of device names. The issue arose because the function dev_set_name() was not properly checked for errors. If dev_set_name() failed, it could lead to a null pointer dereference when dev_name() was called. The vulnerability has been resolved by adding a check for the return value of dev_set_name() to prevent the null pointer dereference.
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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.4.225, < 4.5 >= 4.9.225, < 4.10 >= 4.14.182, < 4.15 >= 4.19.125, < 4.20 >= 5.4.43, < 5.5 >= 5.6.15, < 5.15.35 >= 5.16, < 5.17.4 5.18 rc1 5.18 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 10, 2025 | CVE Modified | kernel.org |
| Mar 18, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |