CVE-2022-49046

published 26 Feb 2025 · updated 17 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.15, Kernel 4.20, Kernel 4.5 and 10 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.14.182 <4.15, >=4.19.125 <4.20, >=4.4.225 <4.5, >=4.9.225 <4.10, >=5.16 <5.17.4, >=5.4.43 <5.5, >=5.6.15 <5.15.35, =5.18, >=1413ef638abae4ab5621901cf4d8ef08a4a48ba6 <2f345bb14ad4744950499ff222e2899209297afa, >=1413ef638abae4ab5621901cf4d8ef08a4a48ba6 <993eb48fa199b5f476df8204e652eff63dd19361, >=1413ef638abae4ab5621901cf4d8ef08a4a48ba6 <c74d77a2d07744147d734138acd6ce9dba715e5d, >=5.6.15 <5.7, =1bed86cfe5cb4529d036a14980d379aee8539982, =1c1b4327970c79c1a2d0c3becfc12b9696177c55, =5.7, =8a231148135d2d08a3ef721d438cd468ea4209d2, =a612c4ece2eb757011ae88a8410b48e523220b8d, =c0d34399045609eda76882fa6d01fdfaf5b20d38, =f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507, >=1413ef638abae4ab5621901cf4d8ef08a4a48ba6 <2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db24.15, 4.20, 4.5, 4.10, 5.17.4, 5.5, 5.15.35, 2f345bb14ad4744950499ff222e2899209297afa, 993eb48fa199b5f476df8204e652eff63dd19361, c74d77a2d07744147d734138acd6ce9dba715e5d, 5.7, 2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2
linux-kernel: Kernel>=4.14.182 <4.15, >=4.19.125 <4.20, >=4.4.225 <4.5, >=4.9.225 <4.10, >=5.11.0 <5.15.35, >=5.16.0 <5.17.4, >=5.4.43 <5.5, >=5.6.15 <5.7, >=5.7.0 <5.10.2364.15, 4.20, 4.5, 4.10, 5.15.35, 5.17.4, 5.5, 5.7, 5.10.236

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49046 severity on Zeptric[![CVE-2022-49046](https://zeptric.io/badge/cve/CVE-2022-49046.svg)](https://zeptric.io/cve/CVE-2022-49046)