Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.4.225, < 4.5 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2
- https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afaPatch
- https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361Patch
- https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5dPatch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
FAQ
What is CVE-2022-49046?
CVE-2022-49046 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 o...
How severe is CVE-2022-49046?
CVE-2022-49046 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49046?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.