Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c6f4a42de60b981dd210de01cd3e575835e3158e to < 6bd453e328a0325f838c3bf64d4609c6c1866ed7affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < 7a9ec6707b545b2a0b35942c8b68d975cb901f77affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < dc946222e4b5bdb4e92bc3a5a5e8fc4ddac34ec0affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < 23783db5642a714f0547c5b5b0c9cdbb1be7b084affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < 5a863417fb9a1034ab1cfe4fa0de46ce1f95f3ecaffectedc6f4a42de60b981dd210de01cd3e575835e3158e to < aad7247bd35ad44af90a5e8974cdff614235b497affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < 36e6ce0f402f965328b27fd31ac793110e8a0c39affectedc6f4a42de60b981dd210de01cd3e575835e3158e to < 86a3a8a926aa5969c329d1df2d3259f189961bbcaffected
Linux Linux
Default version status: affected
2.6.31affected0 to < 2.6.31unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6bd453e328a0325f838c3bf64d4609c6c1866ed7 ↗
- https://git.kernel.org/stable/c/7a9ec6707b545b2a0b35942c8b68d975cb901f77 ↗
- https://git.kernel.org/stable/c/dc946222e4b5bdb4e92bc3a5a5e8fc4ddac34ec0 ↗
- https://git.kernel.org/stable/c/23783db5642a714f0547c5b5b0c9cdbb1be7b084 ↗
- https://git.kernel.org/stable/c/5a863417fb9a1034ab1cfe4fa0de46ce1f95f3ec ↗
- https://git.kernel.org/stable/c/aad7247bd35ad44af90a5e8974cdff614235b497 ↗
- https://git.kernel.org/stable/c/36e6ce0f402f965328b27fd31ac793110e8a0c39 ↗
- https://git.kernel.org/stable/c/86a3a8a926aa5969c329d1df2d3259f189961bbc ↗