CVE-2022-49046
i2c: dev: check return value when calling dev_set_name()
Check your servers for CVE-2022-49046
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49046 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, before 2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 affected from 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, before 2f345bb14ad4744950499ff222e2899209297afa affected from 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, before c74d77a2d07744147d734138acd6ce9dba715e5d affected from 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, before 993eb48fa199b5f476df8204e652eff63dd19361 affected 1c1b4327970c79c1a2d0c3becfc12b9696177c55 affected c0d34399045609eda76882fa6d01fdfaf5b20d38 affected f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507 affected a612c4ece2eb757011ae88a8410b48e523220b8d affected 1bed86cfe5cb4529d036a14980d379aee8539982 affected 8a231148135d2d08a3ef721d438cd468ea4209d2 affected from 4.4.225, before 4.5 affected from 4.9.225, before 4.10 affected from 4.14.182, before 4.15 affected from 4.19.125, before 4.20 affected from 5.4.43, before 5.5 affected from 5.6.15, before 5.7
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.236 up to and including 5.10.* unaffected from 5.15.35 up to and including 5.15.* unaffected from 5.17.4 up to and including 5.17.* unaffected 5.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49046 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49046
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49046
trivy image --scanners vuln IMAGE | grep CVE-2022-49046
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 git.kernel.org
- https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa git.kernel.org
- https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d git.kernel.org
- https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2022-49046 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse