CVE-2022-49046
i2c: dev: check return value when calling dev_set_name()
Reported by linux · Published February 26, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 5.7, 2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 |
| Linux | Linux | 5.7, 0, 5.10.236 |
| linux | linux_kernel | 5.7, 5.7, 5.7 |
| Linux | Linux | 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, 1413ef638abae4ab5621901cf4d8ef08a4a48ba6, 1413ef638abae4ab5621901cf4d8ef08a4a48ba6 |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Dec 3, 2025 PoC Published
- Apr 29, 2026 Security Advisory (12 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (11 in total, the first dated here)
- May 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-49046
vulnetix vdb fixes CVE-2022-49046
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-49046/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart