# CVE-2023-54079: power: supply: bq27xxx: Fix poll\_interval handling and races on remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 9, 2026-11-26)
- **Published:** 2025-12-24T13:06:11.956Z
- **Modified:** 2026-08-05T09:17:02.722Z

## Who should check

- Anyone running Linux \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 4c9615474fb0a41cfad658d78db3c9ec70912969; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 465d919151a1e8d40daf366b868914f59d073211; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 0c5f4cec759679c290720fbcf6bb81768e21c95b; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e85757da9091998276ff21a13915ac25229cc232; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e98e5bebfcafc75a7b41192a607dfea5c1268afa; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< d952a1eaafcc5f0351caad5dbe9b5b3300d1d529; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< b12faeca0e819ea09051a705fef9df7ea7e9e18c; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< c00bc80462afc7963f449d7f21d896d2f629cacc
- Anyone running Linux 3.3

## 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:

1. If the driver is unbound through sysfs, rather then the module being
   rmmod-ed, this changes poll\_interval unexpectedly

2. 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.

## Affected and fixed versions

- Linux: \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 4c9615474fb0a41cfad658d78db3c9ec70912969; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 465d919151a1e8d40daf366b868914f59d073211; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 0c5f4cec759679c290720fbcf6bb81768e21c95b; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e85757da9091998276ff21a13915ac25229cc232; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e98e5bebfcafc75a7b41192a607dfea5c1268afa; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< d952a1eaafcc5f0351caad5dbe9b5b3300d1d529; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< b12faeca0e819ea09051a705fef9df7ea7e9e18c; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< c00bc80462afc7963f449d7f21d896d2f629cacc (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54079. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54079.md
Affected: Linux >= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, < 4c9615474fb0a41cfad658d78db3c9ec70912969; >= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, < 465d919151a1e8d40daf366b868914f59d073211; >= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, < 0c5f4cec759679c290720fbcf6bb81768e21c95b; >= 8cfaaa811894a3ae2d7360a…
Fixed in: Linux 4c9615474fb0a41cfad658d78db3c9ec70912969, Linux 465d919151a1e8d40daf366b868914f59d073211, Linux 0c5f4cec759679c290720fbcf6bb81768e21c95b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54079 being exploited?

There is no confirmed exploitation: CVE-2023-54079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54079?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-54079?

Linux \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 4c9615474fb0a41cfad658d78db3c9ec70912969; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 465d919151a1e8d40daf366b868914f59d073211; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< 0c5f4cec759679c290720fbcf6bb81768e21c95b; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e85757da9091998276ff21a13915ac25229cc232; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< e98e5bebfcafc75a7b41192a607dfea5c1268afa; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< d952a1eaafcc5f0351caad5dbe9b5b3300d1d529; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< b12faeca0e819ea09051a705fef9df7ea7e9e18c; \>= 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db, \< c00bc80462afc7963f449d7f21d896d2f629cacc; Linux 3.3.

### Is there a fix for CVE-2023-54079?

Yes. Fixed in Linux 4c9615474fb0a41cfad658d78db3c9ec70912969, Linux 465d919151a1e8d40daf366b868914f59d073211, Linux 0c5f4cec759679c290720fbcf6bb81768e21c95b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54079?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4c9615474fb0a41cfad658d78db3c9ec70912969>
- other: <https://git.kernel.org/stable/c/465d919151a1e8d40daf366b868914f59d073211>
- other: <https://git.kernel.org/stable/c/0c5f4cec759679c290720fbcf6bb81768e21c95b>
- other: <https://git.kernel.org/stable/c/e85757da9091998276ff21a13915ac25229cc232>
- other: <https://git.kernel.org/stable/c/e98e5bebfcafc75a7b41192a607dfea5c1268afa>
- other: <https://git.kernel.org/stable/c/d952a1eaafcc5f0351caad5dbe9b5b3300d1d529>
- other: <https://git.kernel.org/stable/c/b12faeca0e819ea09051a705fef9df7ea7e9e18c>
- other: <https://git.kernel.org/stable/c/c00bc80462afc7963f449d7f21d896d2f629cacc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54079>

HTML: <https://flawdb.com/CVE-2023-54079> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54079>
