aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2020-03-27 07:50:40 +0300
committerChuck Lever <[email protected]>2020-04-13 10:28:21 -0400
commite1e8399eee72e9d5246d4d1bcacd793debe34dd3 (patch)
tree887478375ca2a2a4acfc756049bb8f29e207dd77 /tools/perf/scripts/python/export-to-sqlite.py
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
nfsd: memory corruption in nfsd4_lock()
New struct nfsd4_blocked_lock allocated in find_or_allocate_block() does not initialized nbl_list and nbl_lru. If conflock allocation fails rollback can call list_del_init() access uninitialized fields and corrupt memory. v2: just initialize nbl_list and nbl_lru right after nbl allocation. Fixes: 76d348fadff5 ("nfsd: have nfsd4_lock use blocking locks for v4.1+ lock") Signed-off-by: Vasily Averin <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions