CVE-2024-49955
MEDIUMLinux Kernel - Use-After-Free in ACPI Battery Hook Unregistration
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: ACPI: battery: Fix possible crash when unregistering a battery hook When a battery hook returns an error when adding a new battery, then the battery hook is automatically unregistered. However the battery hook provider cannot know that, so it will later call battery_hook_unregister() on the already unregistered battery hook, resulting in a crash. Fix this by using the list head to mark already unregistered battery hooks as already being unregistered so that they can be ignored by battery_hook_unregister().
References (13)
Core 13
Core References
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-355557.html
Scores
CVSS v3
5.5
EPSS
0.0034
EPSS Percentile
25.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-672
Status
published
Products (30)
linux/Kernel
4.17.0 - 4.19.323linux
linux/Kernel
4.20.0 - 5.4.285linux
linux/Kernel
5.11.0 - 5.15.168linux
linux/Kernel
5.16.0 - 6.1.113linux
linux/Kernel
5.5.0 - 5.10.227linux
linux/Kernel
6.11.0 - 6.11.3linux
linux/Kernel
6.2.0 - 6.6.55linux
linux/Kernel
6.7.0 - 6.10.14linux
Linux/Linux
< 4.17
Linux/Linux
4.17
... and 20 more
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026