summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXingyuan Mo <hdthky0@gmail.com>2023-01-11 19:24:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-01 10:34:09 +0300
commit32d5eb95f8f0e362e37c393310b13b9e95404560 (patch)
tree0ece9a986045aca47b0303a7d82bf99b7e8cba66 /arch
parent8103d53f25ec7b9aa99c134642c6e840e896be71 (diff)
downloadlinux-32d5eb95f8f0e362e37c393310b13b9e95404560.tar.xz
NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
[ Upstream commit e6cf91b7b47ff82b624bdfe2fdcde32bb52e71dd ] If signal_pending() returns true, schedule_timeout() will not be executed, causing the waiting task to remain in the wait queue. Fixed by adding a call to finish_wait(), which ensures that the waiting task will always be removed from the wait queue. Fixes: f4e44b393389 ("NFSD: delay unmount source's export after inter-server copy completed.") Signed-off-by: Xingyuan Mo <hdthky0@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions