Files
vuln-cve/data/2026/45xxx/CVE-2026-45946.json
T

243 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-45946",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-05-13T15:03:33.088Z",
"datePublished": "2026-05-27T12:18:02.708Z",
"dateUpdated": "2026-05-27T12:18:02.708Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-27T12:18:02.708Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: ab8500: Fix use-after-free in power_supply_changed()\n\nUsing the `devm_` variant for requesting IRQ _before_ the `devm_`\nvariant for allocating/registering the `power_supply` handle, means that\nthe `power_supply` handle will be deallocated/unregistered _before_ the\ninterrupt handler (since `devm_` naturally deallocates in reverse\nallocation order). This means that during removal, there is a race\ncondition where an interrupt can fire just _after_ the `power_supply`\nhandle has been freed, *but* just _before_ the corresponding\nunregistration of the IRQ handler has run.\n\nThis will lead to the IRQ handler calling `power_supply_changed()` with\na freed `power_supply` handle. Which usually crashes the system or\notherwise silently corrupts the memory...\n\nNote that there is a similar situation which can also happen during\n`probe()`; the possibility of an interrupt firing _before_ registering\nthe `power_supply` handle. This would then lead to the nasty situation\nof using the `power_supply` handle *uninitialized* in\n`power_supply_changed()`.\n\nCommit 1c1f13a006ed (\"power: supply: ab8500: Move to componentized\nbinding\") introduced this issue during a refactorization. Fix this racy\nuse-after-free by making sure the IRQ is requested _after_ the\nregistration of the `power_supply` handle."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/power/supply/ab8500_charger.c"
],
"versions": [
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "43cbb78ee047b9b12d096d40e3be265969d4c1f8",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "551672981fe227122258a25a385a05f5c0746ad6",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "f50433f2603def08b21a4bf2fd238687fb5cbde9",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "847eeb6c0efcd76c7def73857cf798a4fcd8f79b",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "709db4b476e254579d9c48ec34d397a41ca0c407",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "46dbda27b028d78087667e8280966b99cec015ca",
"status": "affected",
"versionType": "git"
},
{
"version": "1c1f13a006ed0d71bb5664c8b7e3e77a28da3beb",
"lessThan": "c4af8a98bb52825a5331ae1d0604c0ea6956ba4b",
"status": "affected",
"versionType": "git"
},
{
"version": "341db343768bc44f3512facc464021730d64071c",
"status": "affected",
"versionType": "git"
},
{
"version": "5.13.4",
"lessThan": "5.14",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/power/supply/ab8500_charger.c"
],
"versions": [
{
"version": "5.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.14",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.202",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.165",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.128",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.75",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.14",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.19.4",
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.0",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "5.15.202"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.1.165"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.6.128"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.12.75"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.18.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.19.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "7.0"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.13.4"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/43cbb78ee047b9b12d096d40e3be265969d4c1f8"
},
{
"url": "https://git.kernel.org/stable/c/551672981fe227122258a25a385a05f5c0746ad6"
},
{
"url": "https://git.kernel.org/stable/c/f50433f2603def08b21a4bf2fd238687fb5cbde9"
},
{
"url": "https://git.kernel.org/stable/c/847eeb6c0efcd76c7def73857cf798a4fcd8f79b"
},
{
"url": "https://git.kernel.org/stable/c/709db4b476e254579d9c48ec34d397a41ca0c407"
},
{
"url": "https://git.kernel.org/stable/c/46dbda27b028d78087667e8280966b99cec015ca"
},
{
"url": "https://git.kernel.org/stable/c/c4af8a98bb52825a5331ae1d0604c0ea6956ba4b"
}
],
"title": "power: supply: ab8500: Fix use-after-free in power_supply_changed()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}