Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
power: supply: max17040: synchronize work cancellation on suspend

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

Linux
  • ==2.6.31
  • <5a863417fb9a1034ab1cfe4fa0de46ce1f95f3ec
  • =<7.2.*
  • <2.6.31
  • <86a3a8a926aa5969c329d1df2d3259f189961bbc
  • <aad7247bd35ad44af90a5e8974cdff614235b497
  • <36e6ce0f402f965328b27fd31ac793110e8a0c39
  • =<6.18.*
  • =<6.12.*
  • =<*