Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: power: supply: sc2731_charger: cancel work on remove The USB notifier and initial charger detection can schedule info->work. The remove path unregisters the notifier, but does not cancel queued or running work before the devm-allocated driver data is released. Set the platform drvdata used by remove, then cancel the work after unregistering the notifier. This issue was found by a static analysis tool.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before bb74a5ab30963022981381ea6aee176fd0c7957c; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before 232e9e946b496e4706e2f34ce4a617460d8ae713; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before 05c188addc6d1af51e28496e95096f4df9a000e9; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before 972d88069050d0272b776145b824198b8f899dce; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before c6df6e0c099086bc553d44410015cc81795070e6; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before d5266b4c5c77152e386a3a2d9d5244b3b6cbd57a; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before aab9d81a415c6653b44b057695ebfbba34dc9556; affected 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 before dfc859bb8d332c525872f1a44028137724fa1998 |
| Linux / Linux | affected 5.0; unaffected 0 before 5.0; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bb74a5ab30963022981381ea6aee176fd0c7957c
- https://git.kernel.org/stable/c/232e9e946b496e4706e2f34ce4a617460d8ae713
- https://git.kernel.org/stable/c/05c188addc6d1af51e28496e95096f4df9a000e9
- https://git.kernel.org/stable/c/972d88069050d0272b776145b824198b8f899dce
- https://git.kernel.org/stable/c/c6df6e0c099086bc553d44410015cc81795070e6
- https://git.kernel.org/stable/c/d5266b4c5c77152e386a3a2d9d5244b3b6cbd57a
- https://git.kernel.org/stable/c/aab9d81a415c6653b44b057695ebfbba34dc9556
- https://git.kernel.org/stable/c/dfc859bb8d332c525872f1a44028137724fa1998