power: supply: max17040: synchronize work cancellation on suspend
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dc946222e4b5bdb4e92bc3a5a5e8fc4ddac34ec0, Kernel 23783db5642a714f0547c5b5b0c9cdbb1be7b084, Kernel 36e6ce0f402f965328b27fd31ac793110e8a0c39 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: power: supply: max17040: synchronize work cancellation on suspend max17040_work() requeues itself after every poll. cancel_delayed_work() only cancels a pending instance and does not wait for a callback that is already running. If system suspend races with the polling callback, the callback can continue accessing the fuel gauge and requeue itself after the suspend callback returns. Use cancel_delayed_work_sync() to ensure polling is quiesced before suspend completes.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c6f4a42de60b981dd210de01cd3e575835e3158e <dc946222e4b5bdb4e92bc3a5a5e8fc4ddac34ec0, >=c6f4a42de60b981dd210de01cd3e575835e3158e <23783db5642a714f0547c5b5b0c9cdbb1be7b084, >=c6f4a42de60b981dd210de01cd3e575835e3158e <36e6ce0f402f965328b27fd31ac793110e8a0c39, >=c6f4a42de60b981dd210de01cd3e575835e3158e <5a863417fb9a1034ab1cfe4fa0de46ce1f95f3ec, >=c6f4a42de60b981dd210de01cd3e575835e3158e <6bd453e328a0325f838c3bf64d4609c6c1866ed7, >=c6f4a42de60b981dd210de01cd3e575835e3158e <7a9ec6707b545b2a0b35942c8b68d975cb901f77, >=c6f4a42de60b981dd210de01cd3e575835e3158e <86a3a8a926aa5969c329d1df2d3259f189961bbc, >=c6f4a42de60b981dd210de01cd3e575835e3158e <aad7247bd35ad44af90a5e8974cdff614235b497, =2.6.31 | dc946222e4b5bdb4e92bc3a5a5e8fc4ddac34ec0, 23783db5642a714f0547c5b5b0c9cdbb1be7b084, 36e6ce0f402f965328b27fd31ac793110e8a0c39, 5a863417fb9a1034ab1cfe4fa0de46ce1f95f3ec, 6bd453e328a0325f838c3bf64d4609c6c1866ed7, 7a9ec6707b545b2a0b35942c8b68d975cb901f77, 86a3a8a926aa5969c329d1df2d3259f189961bbc, aad7247bd35ad44af90a5e8974cdff614235b497 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=2.6.31 <5.10.270 | 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket