{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49046","id":"CVE-2022-49046","title":"i2c: dev: check return value when calling dev_set_name()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: dev: check return value when calling dev_set_name()\n\nIf dev_set_name() fails, the dev_name() is null, check the return\nvalue of dev_set_name() to avoid the null-ptr-deref.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: dev: check return value when calling dev_set_name()\n\nIf dev_set_name() fails, the dev_name() is null, check the return\nvalue of dev_set_name() to avoid the null-ptr-deref.","published":"2025-02-26T01:54:22.837Z","updated":"2026-11-17T07:01:14.041710021Z","reserved":"2025-02-26T01:49:39.242Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1413ef638abae4ab5621901cf4d8ef08a4a48ba6","lessThan":"2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2","status":"affected","versionType":"git"},{"version":"1413ef638abae4ab5621901cf4d8ef08a4a48ba6","lessThan":"2f345bb14ad4744950499ff222e2899209297afa","status":"affected","versionType":"git"},{"version":"1413ef638abae4ab5621901cf4d8ef08a4a48ba6","lessThan":"c74d77a2d07744147d734138acd6ce9dba715e5d","status":"affected","versionType":"git"},{"version":"1413ef638abae4ab5621901cf4d8ef08a4a48ba6","lessThan":"993eb48fa199b5f476df8204e652eff63dd19361","status":"affected","versionType":"git"},{"version":"1c1b4327970c79c1a2d0c3becfc12b9696177c55","status":"affected","versionType":"git"},{"version":"c0d34399045609eda76882fa6d01fdfaf5b20d38","status":"affected","versionType":"git"},{"version":"f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507","status":"affected","versionType":"git"},{"version":"a612c4ece2eb757011ae88a8410b48e523220b8d","status":"affected","versionType":"git"},{"version":"1bed86cfe5cb4529d036a14980d379aee8539982","status":"affected","versionType":"git"},{"version":"8a231148135d2d08a3ef721d438cd468ea4209d2","status":"affected","versionType":"git"},{"version":"4.4.225","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.225","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.182","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.125","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.43","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.6.15","lessThan":"5.7","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","status":"unaffected","versionType":"semver"},{"version":"5.10.236","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.35","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.4","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49046.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49046","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00264,"epssPercentile":0.18608,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49046","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49046","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49046","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49046","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}