[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ef18a75-8a1a-aa28-47e8-cba3f60475c7@linux.dev>
Date: Wed, 15 Mar 2023 18:39:50 +0800
From: Guoqing Jiang <guoqing.jiang@...ux.dev>
To: Yu Kuai <yukuai1@...weicloud.com>, agk@...hat.com,
snitzer@...nel.org, song@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org,
yi.zhang@...wei.com, yangerkun@...wei.com,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH v2 5/5] md: protect md_thread with a new disk level spin
lock
On 3/15/23 18:02, Yu Kuai wrote:
> Hi,
>
> 在 2023/03/15 17:39, Guoqing Jiang 写道:
>>
>>
>> On 3/15/23 14:18, Yu Kuai wrote:
>>> From: Yu Kuai <yukuai3@...wei.com>
>>>
>>> Our test reports a uaf for 'mddev->sync_thread':
>>>
>>> T1 T2
>>> md_start_sync
>>> md_register_thread
>>> raid1d
>>> md_check_recovery
>>> md_reap_sync_thread
>>> md_unregister_thread
>>> kfree
>>>
>>> md_wakeup_thread
>>> wake_up
>>> ->sync_thread was freed
>>
>> Better to provide the relevant uaf (user after free perhaps you mean)
>> log from the test.
> Ok, I'll add uaf report(the report is from v5.10) in the next version.
Can you also try with latest mainline instead of just against 5.10 kernel?
Thanks,
Guoqing
Powered by blists - more mailing lists