VYPR
Medium severity5.5NVD Advisory· Published Oct 21, 2024· Updated Jun 17, 2026

CVE-2024-49955

CVE-2024-49955

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

108

Patches

Vulnerability mechanics

References

13

News mentions

0

No linked articles in our index yet.