NULL pointer dereference in Linux
CVE-2022-49046
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 18.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5.6.15, 4.19.125, f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507
- Linux Kernel — versions 5.18
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2
- git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa (Patch)
- git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d (Patch)
- git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html