[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164496294249.63790.9626913004798028224.b4-ty@bootlin.com>
Date: Tue, 15 Feb 2022 23:09:11 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Vincent Whitchurch <vincent.whitchurch@...s.com>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>, kernel@...s.com,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: fix use-after-free on device removal
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@...tlin.com>
Powered by blists - more mailing lists