CVE-2023-54079
kernel: Linux kernel: Race condition in bq27xxx battery driver causes system instability
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
power: supply: bq27xxx: Fix poll_interval handling and races on remove
Before this patch bq27xxx_battery_teardown() was setting poll_interval = 0 to avoid bq27xxx_battery_update() requeuing the delayed_work item.
There are 2 problems with this:
-
If the driver is unbound through sysfs, rather then the module being rmmod-ed, this changes poll_interval unexpectedly
-
This is racy, after it being set poll_interval could be changed before bq27xxx_battery_update() checks it through /sys/module/bq27xxx_battery/parameters/poll_interval
Fix this by added a removed attribute to struct bq27xxx_device_info and using that instead of setting poll_interval to 0.
There also is another poll_interval related race on remove(), writing /sys/module/bq27xxx_battery/parameters/poll_interval will requeue the delayed_work item for all devices on the bq27xxx_battery_devices list and the device being removed was only removed from that list after cancelling the delayed_work item.
Fix this by moving the removal from the bq27xxx_battery_devices list to before cancelling the delayed_work item.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 86 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.46-2.ph4 |
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | kernel-livepatch-5-14-21-150400-24-194-default | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-133-default | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| 15.5 | cluster-md-kmp-default +17 | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.142.1 | SUSE-SU-2026:0411-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.142.1 | SUSE-SU-2026:0411-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
3 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.191-1 |
| 12 | linux | 6.1.37-1 |
| 13 | linux | 6.3.7-1 |
| 14 | linux | 6.3.7-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.37-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.191-1 |
| 12 | rootio-linux | 6.1.37-1 |
| 13 | rootio-linux | 6.3.7-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-83.92 |
ubuntu 4 releases · 34 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1056.61~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1093.104~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1108.117~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1109.118~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1112.121~18.04.1 |
| 18.04-ESM | linux-azure-5-4 | 5.4.0-1115.122~18.04.1 |
55 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-54079
- git.kernel.org https://git.kernel.org/stable/c/0c5f4cec759679c290720fbcf6bb81768e21c95b
- git.kernel.org https://git.kernel.org/stable/c/465d919151a1e8d40daf366b868914f59d073211
- git.kernel.org https://git.kernel.org/stable/c/4c9615474fb0a41cfad658d78db3c9ec70912969
- git.kernel.org https://git.kernel.org/stable/c/b12faeca0e819ea09051a705fef9df7ea7e9e18c
- git.kernel.org https://git.kernel.org/stable/c/c00bc80462afc7963f449d7f21d896d2f629cacc
- git.kernel.org https://git.kernel.org/stable/c/d952a1eaafcc5f0351caad5dbe9b5b3300d1d529
- git.kernel.org https://git.kernel.org/stable/c/e85757da9091998276ff21a13915ac25229cc232
- git.kernel.org https://git.kernel.org/stable/c/e98e5bebfcafc75a7b41192a607dfea5c1268afa
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025122403-CVE-2023-54079-be62@gregkh/T
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.