CVE-2024-49955
Last modified
CVE-2024-49955 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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().. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| 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.2, < 6.6.55 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.14 | — |
| Linux | Linux Kernel | >= 6.11, < 6.11.3 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-49955?
How severe is CVE-2024-49955?
How do I fix CVE-2024-49955?
Are you affected by CVE-2024-49955?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
