Re: [PATCH] rtc: fix use-after-free on device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 10 Dec 2021 17:09:51 +0100, Vincent Whitchurch wrote:
> If the irqwork is still scheduled or running while the RTC device is
> removed, a use-after-free occurs in rtc_timer_do_work().  Cleanup the
> timerqueue and ensure the work is stopped to fix this.
> 
>  BUG: KASAN: use-after-free in mutex_lock+0x94/0x110
>  Write of size 8 at addr ffffff801d846338 by task kworker/3:1/41
> 
> [...]

Applied, thanks!

[1/1] rtc: fix use-after-free on device removal
      commit: c8fa17d9f08a448184f03d352145099b5beb618e

Best regards,
-- 
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux