Commit c247677
committed
NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
jira VULN-8056
cve CVE-2023-1652
commit-author Xingyuan Mo <[email protected]>
commit e6cf91b
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: f4e44b3 ("NFSD: delay unmount source's export after inter-server copy completed.")
Signed-off-by: Xingyuan Mo <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
(cherry picked from commit e6cf91b)
Signed-off-by: Anmol Jain <[email protected]>1 parent 3a5f59a commit c247677
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
| 1331 | + | |
1331 | 1332 | | |
1332 | 1333 | | |
1333 | 1334 | | |
| |||
0 commit comments