Commit 1116e0e
nfsd: fix potential UAF in nfsd4_cb_getattr_release
Once we drop the delegation reference, the fields embedded in it are no
longer safe to access. Do that last.
Fixes: c596772 ("NFSD: handle GETATTR conflict with write delegation")
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent da05ba2 commit 1116e0e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3078 | 3078 | | |
3079 | 3079 | | |
3080 | 3080 | | |
3081 | | - | |
3082 | 3081 | | |
3083 | 3082 | | |
| 3083 | + | |
3084 | 3084 | | |
3085 | 3085 | | |
3086 | 3086 | | |
| |||
0 commit comments