VDB

CVE-2024-49955

CVE-2024-49955 PUBLISHED

ACPI: battery: Fix possible crash when unregistering a battery hook

Reported by linux · Published October 21, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux6.1.115-126.197.amzn2023
kernel-livepatch-6.1.115-126.197Amazon Linux1.0-0.amzn2023
python3-perfAmazon Linux6.1.115-126.197.amzn2023
kernel-headersAmazon Linux6.1.115-126.197.amzn2023
kernel-toolsAmazon Linux6.1.115-126.197.amzn2023

Affected products

VendorProductVersions
LinuxLinuxfa93854f7a7ed63d054405bf3779247d5300edd3, fa93854f7a7ed63d054405bf3779247d5300edd3, fa93854f7a7ed63d054405bf3779247d5300edd3
LinuxLinux4.17, 0, 4.19.323
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.115-126.1970
amazon:2023python3-perf0
amazon:2023kernel-headers0
amazon:2023kernel-tools0
linuxlinux_kernel4.17, 4.17, 4.17
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-libbpf-static0
SiemensRUGGEDCOM RST2428P0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
LinuxLinux*, *, *
amazon:2023kernel-modules-extra-common0

…and 2 more

Timeline

  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 22, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Jan 2, 2026 Security Advisory (449 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49955
vulnetix vdb fixes CVE-2024-49955

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49955/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›