lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 13 Aug 2023 21:04:54 +0400
From:   Song Liu <song@...nel.org>
To:     Li Lingfeng <lilingfeng@...weicloud.com>
Cc:     linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
        yukuai3@...wei.com, linan122@...wei.com, yi.zhang@...wei.com,
        yangerkun@...wei.com, lilingfeng3@...wei.com, pmenzel@...gen.mpg.de
Subject: Re: [PATCH -next v3] md: Hold mddev->reconfig_mutex when trying to
 get mddev->sync_thread

On Thu, Aug 3, 2023 at 11:20 AM Li Lingfeng <lilingfeng@...weicloud.com> wrote:
>
> From: Li Lingfeng <lilingfeng3@...wei.com>
>
> Commit ba9d9f1a707f ("Revert "md: unlock mddev before reap sync_thread in
> action_store"") removed the scenario of calling md_unregister_thread()
> without holding mddev->reconfig_mutex, so add a lock holding check before
> acquiring mddev->sync_thread by passing mdev to md_unregister_thread().
>
> Signed-off-by: Li Lingfeng <lilingfeng3@...wei.com>
> Reviewed-by: Yu Kuai <yukuai3@...wei.com>

Applied to md-next.

Thanks,
Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ