Description
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 (11)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
1.4%
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 (10)
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_kernel
6.12 rc1
linux/linux_kernel
4.17 - 5.10.227
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026