CVE-2024-27412 json
power: supply: bq27xxx-i2c: Do not free non existing IRQ
published 2024-05-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-24616
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
power: supply: bq27xxx-i2c: Do not free non existing IRQ
The bq27xxx i2c-client may not have an IRQ, in which case client->irq will be 0. bq27xxx_battery_i2c_probe() already has an if (client->irq) check wrapping the request_threaded_irq().
But bq27xxx_battery_i2c_remove() unconditionally calls free_irq(client->irq) leading to:
[ 190.310742] ------------[ cut here ]------------ [ 190.310843] Trying to free already-free IRQ 0 [ 190.310861] WARNING: CPU: 2 PID: 1304 at kernel/irq/manage.c:1893 free_irq+0x1b8/0x310
Followed by a backtrace when unbinding the driver. Add an if (client->irq) to bq27xxx_battery_i2c_remove() mirroring probe() to fix this.
Patch / fix
- Linux Linux 4.15, 4.19.309, 5.4.271, 5.10.212, 5.15.151, 6.1.81, 6.4, 6.6.21, 6.7.9, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.7.9-1
debian advisories DEBIAN-CVE-2024-27412
- linux Ubuntu 20.04 LTS 5.4.0-186.206
- linux Ubuntu 22.04 LTS 5.15.0-112.122
- linux-aws Ubuntu 20.04 LTS 5.4.0-1126.136
- linux-aws Ubuntu 22.04 LTS 5.15.0-1063.69
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1130.139
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1062.70
- linux-gke Ubuntu 22.04 LTS 5.15.0-1060.66
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1073.78
ubuntu advisories UBUNTU-CVE-2024-27412
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-livepatch-MICRO-6-0-RT_Update_5 Linux Micro 6.1, Linux Micro 6.0 1-1.1
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
suse advisories SUSE-SU-2025:20166-1SUSE-SU-2025:20249-1SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2973-1SUSE-SU-2024:2203-1
- git.kernel.org/stable/c/d4d813c0a14d6bf52d810a55db06a2e7e3d98eaa commit
- git.kernel.org/stable/c/7394abc8926adee6a817bab10797e0adc898af77 commit
- git.kernel.org/stable/c/d7acc4a569f5f4513120c85ea2b9f04909b7490f commit
- git.kernel.org/stable/c/e601ae81910ce6a3797876e190a2d8ef6cf828bc commit
- git.kernel.org/stable/c/cefe18e9ec84f8fe3e198ccebb815cc996eb9797 commit
- git.kernel.org/stable/c/fbca8bae1ba79d443a58781b45e92a73a24ac8f8 commit
- git.kernel.org/stable/c/083686474e7c97b0f8b66df37fcb64e432e8b771 commit
- git.kernel.org/stable/c/2df70149e73e79783bcbc7db4fa51ecef0e2022c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-27412 updated cvss 5.5
kernel: power: supply: bq27xxx-i2c: Do not free non existing IRQ
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-15 updated
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/d4d813c0a14d6bf52d810a55db06a2e7e3d98eaa
patch
-
git.kernel.org
/stable/c/7394abc8926adee6a817bab10797e0adc898af77
patch
-
git.kernel.org
/stable/c/d7acc4a569f5f4513120c85ea2b9f04909b7490f
patch
-
git.kernel.org
/stable/c/e601ae81910ce6a3797876e190a2d8ef6cf828bc
patch
-
git.kernel.org
/stable/c/cefe18e9ec84f8fe3e198ccebb815cc996eb9797
patch
-
git.kernel.org
/stable/c/fbca8bae1ba79d443a58781b45e92a73a24ac8f8
patch
-
git.kernel.org
/stable/c/083686474e7c97b0f8b66df37fcb64e432e8b771
patch
-
git.kernel.org
/stable/c/2df70149e73e79783bcbc7db4fa51ecef0e2022c
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
third-party-advisory
Sources
- CVE List CVE-2024-27412
- NVD CVE-2024-27412
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.