Skip to content
8.8 High

CVE-2021-47323 In the Linux kernel, the following vulnerability has been resolved: watchdog: sc520_wdt: Fix possible use-after-free…

Description

In the Linux kernel, the following vulnerability has been resolved: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.

Affected products and versions

Product Affected versions Fixed in
Linux 5.14 earliest → < 5.14 5.14
Linux 5.13 earliest → < 5.13.4 5.13.4
Linux 5.12 earliest → < 5.12.19 5.12.19
Linux 5.10 earliest → < 5.10.52 5.10.52
Linux 5.4 earliest → < 5.4.134 5.4.134
Linux 4.19 earliest → < 4.19.198 4.19.198
Linux 4.14 earliest → < 4.14.240 4.14.240
Linux 4.9 earliest → < 4.9.276 4.9.276
Linux 4.4 earliest → < 4.4.276 4.4.276
Show the 9 other branches
Product Affected versions Fixed in
Linux 2.6.12 No fix stated
linux_kernel 5.14 earliest → < 5.14 5.14
linux_kernel 5.13 earliest → < 5.13.4 5.13.4
linux_kernel 5.12 earliest → < 5.12.19 5.12.19
linux_kernel 5.10 earliest → < 5.10.52 5.10.52
linux_kernel 4.19 earliest → < 4.19.198 4.19.198
linux_kernel 4.14 earliest → < 4.14.240 4.14.240
linux_kernel 4.9 earliest → < 4.9.276 4.9.276
linux_kernel 4.4 earliest → < 4.4.276 4.4.276

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE