CVE-2024-27412

MEDIUM

Linux kernel - Denial of Service via IRQ Free in bq27xxx-i2c Driver

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 15.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (38)
debian/debian_linux 10.0
linux/Kernel < 4.19.309linux
linux/Kernel 4.20.0 - 5.4.271linux
linux/Kernel 5.11.0 - 5.15.151linux
linux/Kernel 5.16.0 - 6.1.81linux
linux/Kernel 5.5.0 - 5.10.212linux
linux/Kernel 6.2.0 - 6.6.21linux
linux/Kernel 6.4.0 - 6.7.9linux
Linux/Linux < 6.4
Linux/Linux 1da9a4b55a6688e3a30c16d0cf2e7c6a90a684fb - d7acc4a569f5f4513120c85ea2b9f04909b7490f
... and 28 more
Published May 17, 2024
Tracked Since Feb 18, 2026