imPC@ndo IT

Tracker / CVE-2024-49955

CVE-2024-49955

Medium 5.5

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().

Affected products and versions

linux linux_kernel
linux linux_kernel · 4.17 → 5.10.227
linux linux_kernel · 5.11 → 5.15.168
linux linux_kernel · 5.16 → 6.1.113
linux linux_kernel · 6.11 → 6.11.3
linux linux_kernel · 6.2 → 6.6.55
linux linux_kernel · 6.7 → 6.10.14

Analysis

This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.

References