summaryrefslogtreecommitdiffstats
path: root/crypto/tea.c
diff options
context:
space:
mode:
authorCurtis Klein <curtis.klein@hpe.com>2021-06-22 23:26:23 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2021-08-22 10:28:07 +0200
commitc7b178dae139f8857edc50888cfbf251cd974a38 (patch)
tree8cf6ad286f48f6c3909c68100a609833bc8a500b /crypto/tea.c
parentcf6ea9542372a966544d947c17c94048d4883325 (diff)
downloadlinux-c7b178dae139f8857edc50888cfbf251cd974a38.tar.bz2
watchdog: Fix NULL pointer dereference when releasing cdev
watchdog_hrtimer_pretimeout_stop needs the watchdog device to have a valid pointer to the watchdog core data to stop the pretimeout hrtimer. Therefore it needs to be called before the pointers are cleared in watchdog_cdev_unregister. Fixes: 7b7d2fdc8c3e ("watchdog: Add hrtimer-based pretimeout feature") Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Curtis Klein <curtis.klein@hpe.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/1624429583-5720-1-git-send-email-curtis.klein@hpe.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions