{"id":"CVE-2024-49955","aliases":["CVE-2024-49955"],"related":[],"kind":"vulnerability","state":"published","title":"ACPI: battery: Fix possible crash when unregistering a battery hook","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: battery: Fix possible crash when unregistering a battery hook\n\nWhen a battery hook returns an error when adding a new battery, then\nthe battery hook is automatically unregistered.\nHowever the battery hook provider cannot know that, so it will later\ncall battery_hook_unregister() on the already unregistered battery\nhook, resulting in a crash.\n\nFix this by using the list head to mark already unregistered battery\nhooks as already being unregistered so that they can be ignored by\nbattery_hook_unregister().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: battery: Fix possible crash when unregistering a battery hook\n\nWhen a battery hook returns an error when adding a new battery, then\nthe battery hook is automatically unregistered.\nHowever the battery hook provider cannot know that, so it will later\ncall battery_hook_unregister() on the already unregistered battery\nhook, resulting in a crash.\n\nFix this by using the list head to mark already unregistered battery\nhooks as already being unregistered so that they can be ignored by\nbattery_hook_unregister().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ACPI: batería: se corrige un posible fallo al anular el registro de un gancho de batería Cuando un gancho de batería devuelve un error al añadir una batería nueva, el gancho de batería se anula automáticamente el registro. Sin embargo, el proveedor del gancho de batería no puede saberlo, por lo que más tarde llamará a battery_hook_unregister() en el gancho de batería ya anulado, lo que provocará un fallo. Solucione esto utilizando el encabezado de lista para marcar los ganchos de batería ya anulados como ya anulados para que battery_hook_unregister() pueda ignorarlos.","source":"nvd"}],"published":"2024-10-21T18:02:09.707Z","modified":"2026-10-15T01:19:02.440Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-672"],"affected":[{"ranges":[{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"76fb2cbf01571926da8ecf6876cc8cb07d3f5183","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"c47843a831e0eae007ad7e848d208e675ba4c132","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"da964de4c18199e14b961b5b2e5e6570552a313c","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"07b98400cb0285a6348188aa8c5ec6a2ae0551f7","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"ca1fb7942a287b40659cc79551a1de54a2c2e7d5","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"ce31847f109c3a5b2abdd19d7bcaafaacfde53de","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"ca26e8eed9c1c6651f51f7fa38fe444f8573cd1b","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"9f469ef1c79dac7f9ac1518643a33703918f7e13","status":"affected"},{"type":"git","introduced":"fa93854f7a7ed63d054405bf3779247d5300edd3","fixed":"76959aff14a0012ad6b984ec7686d163deccdc16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"4.19.323","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.227","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.17","fixed":"5.10.227"},{"status":"affected","introduced":"5.11","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.113"},{"status":"affected","introduced":"6.2","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","fixed":"6.10.14"},{"status":"affected","introduced":"6.11","fixed":"6.11.3"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/76fb2cbf01571926da8ecf6876cc8cb07d3f5183","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c47843a831e0eae007ad7e848d208e675ba4c132","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da964de4c18199e14b961b5b2e5e6570552a313c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07b98400cb0285a6348188aa8c5ec6a2ae0551f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca1fb7942a287b40659cc79551a1de54a2c2e7d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce31847f109c3a5b2abdd19d7bcaafaacfde53de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca26e8eed9c1c6651f51f7fa38fe444f8573cd1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f469ef1c79dac7f9ac1518643a33703918f7e13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76959aff14a0012ad6b984ec7686d163deccdc16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:35:51.725Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49955","url":"https://www.cve.org/CVERecord?id=CVE-2024-49955","licence":"CVE Terms of Use","modified":"2026-10-15T00:55:09.083Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49955","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49955","licence":"Public domain","modified":"2026-10-15T01:19:02.440Z"}],"updatedAt":"2026-11-25T22:58:47.064Z","epss":{"score":0.00342,"percentile":0.29715,"date":"2026-12-01T12:00:22.000Z"}}