CVE-2022-49046
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
5.5
(v3.1)
Vulnerability status
Modified
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-02-26 07:00:41.890000
Last modified
2026-11-05 20:16:56.403000
View original CVE JSON
{
"id": "CVE-2022-49046",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2025-02-26T07:00:41.890",
"lastModified": "2026-11-05T20:16:56.403",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: dev: verificar el valor de retorno al llamar a dev_set_name() Si dev_set_name() falla, dev_name() es nulo, verifique el valor de retorno de dev_set_name() para evitar el null-ptr-deref."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/i2c/i2c-dev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "1413ef638abae4ab5621901cf4d8ef08a4a48ba6",
"lessThan": "2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2",
"versionType": "git",
"status": "affected"
},
{
"version": "1413ef638abae4ab5621901cf4d8ef08a4a48ba6",
"lessThan": "2f345bb14ad4744950499ff222e2899209297afa",
"versionType": "git",
"status": "affected"
},
{
"version": "1413ef638abae4ab5621901cf4d8ef08a4a48ba6",
"lessThan": "c74d77a2d07744147d734138acd6ce9dba715e5d",
"versionType": "git",
"status": "affected"
},
{
"version": "1413ef638abae4ab5621901cf4d8ef08a4a48ba6",
"lessThan": "993eb48fa199b5f476df8204e652eff63dd19361",
"versionType": "git",
"status": "affected"
},
{
"version": "1c1b4327970c79c1a2d0c3becfc12b9696177c55",
"versionType": "git",
"status": "affected"
},
{
"version": "c0d34399045609eda76882fa6d01fdfaf5b20d38",
"versionType": "git",
"status": "affected"
},
{
"version": "f1f3b4150baf7c3aa6b4e6b81b8ff1909996d507",
"versionType": "git",
"status": "affected"
},
{
"version": "a612c4ece2eb757011ae88a8410b48e523220b8d",
"versionType": "git",
"status": "affected"
},
{
"version": "1bed86cfe5cb4529d036a14980d379aee8539982",
"versionType": "git",
"status": "affected"
},
{
"version": "8a231148135d2d08a3ef721d438cd468ea4209d2",
"versionType": "git",
"status": "affected"
},
{
"version": "4.4.225",
"lessThan": "4.5",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.9.225",
"lessThan": "4.10",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.14.182",
"lessThan": "4.15",
"versionType": "semver",
"status": "affected"
},
{
"version": "4.19.125",
"lessThan": "4.20",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.4.43",
"lessThan": "5.5",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.6.15",
"lessThan": "5.7",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/i2c/i2c-dev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.7",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.236",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.35",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.17.4",
"lessThanOrEqual": "5.17.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.18",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-11-05T19:42:37.124236Z",
"id": "CVE-2022-49046",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-476"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4.225",
"versionEndExcluding": "4.5",
"matchCriteriaId": "F615000A-22D0-462C-9FE0-FD0C0E87F230"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9.225",
"versionEndExcluding": "4.10",
"matchCriteriaId": "1F06A06D-F043-4FC9-8009-F0FF564F7BE3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.14.182",
"versionEndExcluding": "4.15",
"matchCriteriaId": "8ABA63F0-043F-4A44-A038-EB4D78183624"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19.125",
"versionEndExcluding": "4.20",
"matchCriteriaId": "DE8BC53C-081C-4C0C-8FA5-AFEA4ACDB827"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.4.43",
"versionEndExcluding": "5.5",
"matchCriteriaId": "C0BB4958-AAEF-4720-B7E3-1682593B506A"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.6.15",
"versionEndExcluding": "5.15.35",
"matchCriteriaId": "5705436C-E633-494B-88B3-ED262B8D5848"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.16",
"versionEndExcluding": "5.17.4",
"matchCriteriaId": "E22C86CB-06CD-4D16-AB2A-F21EE8199262"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*",
"matchCriteriaId": "6AD94161-84BB-42E6-9882-4FC0C42E9FC1"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:5.18:rc2:*:*:*:*:*:*",
"matchCriteriaId": "7AB06DDF-3C2B-416D-B448-E990D8FF67A9"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2f345bb14ad4744950499ff222e2899209297afa",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://git.kernel.org/stable/c/993eb48fa199b5f476df8204e652eff63dd19361",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://git.kernel.org/stable/c/c74d77a2d07744147d734138acd6ce9dba715e5d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}