[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DA2747F7-5D2A-4515-9764-B214AAD1DB37@m.fudan.edu.cn>
Date: Fri, 27 Dec 2024 04:45:14 +0800
From: Fudam <huk23@...udan.edu.cn>
To: Pavel Begunkov <asml.silence@...il.com>
Cc: Waiman Long <llong@...hat.com>, axboe@...nel.dk, peterz@...radead.org,
mingo@...hat.com, will@...nel.org, boqun.feng@...il.com,
linux-kernel@...r.kernel.org, jjtan24@...udan.edu.cn,
io-uring@...r.kernel.org
Subject: Re: Bug: slab-use-after-free Read in try_to_wake_up
> Kun Hu, can you try out the patch I sent? It should likely be
> it, but I couldn't reproduce without hand tailoring the kernel
> code with sleeping and such.
Okay, I’ll try again. Please wait for me for a moment. But you mean you couldn’t reproduce using the c program I provided unless you tailor the kernel code?
> 在 2024年12月27日,00:56,Pavel Begunkov <asml.silence@...il.com> 写道:
>
> On 12/26/24 03:43, Kun Hu wrote:
>>> This is not caused by a locking bug. The freed structure is a task_struct which is passed by io_sq_thread() to try_to_wake_up(). So the culprit is probably in the io_uring code. cc'ing the io_uring developers for further review.
>> Thanks. This also seems to involve sqpoll.c and io_uring.c. I'm sending an email to both Pavel Begunkov and Jens Axboe, with a cc to io_uring.
>
> Kun Hu, can you try out the patch I sent? It should likely be
> it, but I couldn't reproduce without hand tailoring the kernel
> code with sleeping and such.
>
> --
> Pavel Begunkov
>
>
Powered by blists - more mailing lists