summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorYun Zhou <yun.zhou@windriver.com>2025-10-15 11:32:27 +0300
committerYu Kuai <yukuai@fnnas.com>2025-11-08 11:54:36 +0300
commit0dc76205549b4c25705e54345f211b9f66e018a0 (patch)
treec34b99634f37744b3f796485d9d9d2d1adccce5b /scripts/stackusage
parentcc394b94dc40b661efc9895665abf03640ffff2d (diff)
downloadlinux-0dc76205549b4c25705e54345f211b9f66e018a0.tar.xz
md: fix rcu protection in md_wakeup_thread
We attempted to use RCU to protect the pointer 'thread', but directly passed the value when calling md_wakeup_thread(). This means that the RCU pointer has been acquired before rcu_read_lock(), which renders rcu_read_lock() ineffective and could lead to a use-after-free. Link: https://lore.kernel.org/linux-raid/20251015083227.1079009-1-yun.zhou@windriver.com Fixes: 446931543982 ("md: protect md_thread with rcu") Signed-off-by: Yun Zhou <yun.zhou@windriver.com> Reviewed-by: Li Nan <linan122@huawei.com> Reviewed-by: Yu Kuai <yukuai@fnnas.com> Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions