power: supply: qcom_battmgr: fix use-after-free
In the Linux kernel, the following vulnerability has been resolved: power: supply: qcom_battmgr: fix use-after-free qcom_battmgr_pdr_notify() queues enable_work when the PMIC GLINK service comes up, and the worker recovers battmgr through container_of() to issue firmware requests. The PMIC GLINK client stays on the client list until its devres release action runs, so a PDR notification can keep queueing the work, and a pending or running worker can access battmgr after devres frees it. Make enable_work device-managed with devm_work_autocancel(), registered before the PMIC GLINK client is allocated. The devres cleanup then releases the client first, so no further notification can queue the work, and cancels the work before battmgr is freed. This issue was found by an in-house static analysis tool.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.112, 6.18.50, 6.6.160, 7.2.4
- CVEs
- CVE-2026-89467
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 19:25 UTC · Revision 1
Source evidence
power: supply: qcom_battmgr: fix use-after-free
core-osv · Original sourcePublished 11 Sept 2026, 19:43 UTC
In the Linux kernel, the following vulnerability has been resolved: power: supply: qcom_battmgr: fix use-after-free qcom_battmgr_pdr_notify() queues enable_work when the PMIC GLINK service comes up, and the worker recovers battmgr through container_of() to issue firmware requests. The PMIC GLINK client stays on the client list until its devres release action runs, so a PDR notification can keep queueing the work, and a pending or running worker can access battmgr after devres frees it. Make enable_work device-managed with devm_work_autocancel(), registered before the PMIC GLINK client is allocated. The devres cleanup then releases the client first, so no further notification can queue the work, and cancels the work before battmgr is freed. This issue was found by an in-house static analysis tool.
osv:CVE-2026-89467
Kernel
Fixed versions: 6.6.160, 6.12.112, 6.18.50, 7.2.4
Complete source record
{
"id": "fcf21c74d54093b002c96921e7e75f418caadfdc22eb9654f2d63da7d737bf16",
"url": "https://osv.dev/vulnerability/CVE-2026-89467",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "power: supply: qcom_battmgr: fix use-after-free",
"summary": "In the Linux kernel, the following vulnerability has been resolved: power: supply: qcom_battmgr: fix use-after-free qcom_battmgr_pdr_notify() queues enable_work when the PMIC GLINK service comes up, and the worker recovers battmgr through container_of() to issue firmware requests. The PMIC GLINK client stays on the client list until its devres release action runs, so a PDR notification can keep queueing the work, and a pending or running worker can access battmgr after devres frees it. Make enable_work device-managed with devm_work_autocancel(), registered before the PMIC GLINK client is allocated. The devres cleanup then releases the client first, so no further notification can queue the work, and cancels the work before battmgr is freed. This issue was found by an in-house static analysis tool.",
"evidence": "osv:CVE-2026-89467",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.50",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-89467",
"aliases": [
"CVE-2026-89467"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "29e8142b5623b5949587bcc4f591c4e6595c4aca"
},
{
"fixed": "35964ed01e10b61a30066b0c568aa0e0e8fb6432"
},
{
"fixed": "77fefca305db44b0edd3fcdb52d781771c1ce366"
},
{
"fixed": "06618447029c6dddaa02f6e9528efe5dd49fc329"
},
{
"fixed": "49fbcd3da2958159370d25dafbf736e654a4d59b"
},
{
"fixed": "4e40befedfc8ed86f44e1f81df92d13c149c9f8d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89467.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.50"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89467.json"
}
}
],
"modified": "2026-10-28T02:30:31.523702256Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/06618447029c6dddaa02f6e9528efe5dd49fc329",
"https://git.kernel.org/stable/c/35964ed01e10b61a30066b0c568aa0e0e8fb6432",
"https://git.kernel.org/stable/c/49fbcd3da2958159370d25dafbf736e654a4d59b",
"https://git.kernel.org/stable/c/4e40befedfc8ed86f44e1f81df92d13c149c9f8d",
"https://git.kernel.org/stable/c/77fefca305db44b0edd3fcdb52d781771c1ce366",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89467.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89467",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89467.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89467",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 498694,
"published_at": "2026-09-11T19:43:27.247+00:00"
}