diff options
| author | 2026-07-23 04:00:59 +0800 | |
|---|---|---|
| committer | 2026-08-17 09:02:08 -0700 | |
| commit | 468e458ffde907ba19acd2102ca1fbb8f6fbede2 (patch) | |
| tree | d7c5862afc5a63dbb358ef8f65f3bf6577a2be12 /scripts/Makefile.thinlto | |
| parent | lockd: fix NULL dereference on lockowner allocation failure (diff) | |
NFSv4: Fix incorrect argument passed to nfs4_delete_lease() in nfs4_add_lease()
When nfs4_add_lease() races with a delegation return, it calls
nfs4_delete_lease() to clean up. Previously, it passed priv,
which can legitimately be NULL. Passing a NULL priv eventually
leads to a NULL pointer dereference in generic_setlease().
Fixes: e93a5e9306a5 ("NFSv4: Add support for application leases underpinned by a delegation")
Signed-off-by: Zhansong Gao <zhsgao@hotmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
