diff options
| author | Jeff Layton <[email protected]> | 2024-08-23 22:27:39 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-08-26 15:53:05 +0000 |
| commit | 1116e0e372eb16dd907ec571ce5d4af325c55c10 (patch) | |
| tree | f306c49e83fe3e1884fdce6a7c3413a1ebd58a6a /lib/debugobjects.c | |
| parent | nfsd: hold reference to delegation when updating it for cb_getattr (diff) | |
| download | kernel-1116e0e372eb16dd907ec571ce5d4af325c55c10.tar.gz kernel-1116e0e372eb16dd907ec571ce5d4af325c55c10.zip | |
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: c5967721e106 ("NFSD: handle GETATTR conflict with write delegation")
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
