CVE-2022-49046

Source
https://cve.org/CVERecord?id=CVE-2022-49046
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49046.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49046
Downstream
Related
Published
2025-02-26T01:54:22.837Z
Modified
2026-04-11T12:43:28.839985Z
Summary
i2c: dev: check return value when calling dev_set_name()
Details

In the Linux kernel, the following vulnerability has been resolved:

i2c: dev: check return value when calling devsetname()

If devsetname() fails, the devname() is null, check the return value of devset_name() to avoid the null-ptr-deref.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49046.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1413ef638abae4ab5621901cf4d8ef08a4a48ba6
Fixed
2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2
Fixed
2f345bb14ad4744950499ff222e2899209297afa
Fixed
c74d77a2d07744147d734138acd6ce9dba715e5d
Fixed
993eb48fa199b5f476df8204e652eff63dd19361
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
1c1b4327970c79c1a2d0c3becfc12b9696177c55
Last affected
c0d34399045609eda76882fa6d01fdfaf5b20d38
Last affected
f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507
Last affected
a612c4ece2eb757011ae88a8410b48e523220b8d
Last affected
1bed86cfe5cb4529d036a14980d379aee8539982
Last affected
8a231148135d2d08a3ef721d438cd468ea4209d2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49046.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.10.236
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.35
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49046.json"