CVE-2024-27412
power: supply: bq27xxx-i2c: Do not free non existing IRQ
Reported by linux · Published May 17, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 76d2ed844def0cb8704d766924b07b2a918b3e30, dafe9136be7b7fc30f1f3ca410c15b7cc65bee44, 1da9a4b55a6688e3a30c16d0cf2e7c6a90a684fb |
| Linux | Linux | 6.4, 0, 4.19.309 |
| linux | linux_kernel | 4.19.284, 5.4.244, 5.10.181 |
| Linux | Linux | *, *, 76d2ed844def0cb8704d766924b07b2a918b3e30 |
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (449 in total, the first dated here)
- Jan 15, 2026 CVE Updated
- Mar 30, 2026 Distribution Patch (344 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-27412
vulnetix vdb fixes CVE-2024-27412
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-27412/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart