aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/module.rs
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2023-07-25 11:58:58 +0000
committerTrond Myklebust <[email protected]>2023-08-19 14:26:29 +0000
commit4e3733fd2b0f677faae21cf838a43faf317986d3 (patch)
treecff0af28313860eec8604d3b2027bc02e8e12581 /rust/macros/module.rs
parentNFS: Fix sysfs server name memory leak (diff)
downloadkernel-4e3733fd2b0f677faae21cf838a43faf317986d3.tar.gz
kernel-4e3733fd2b0f677faae21cf838a43faf317986d3.zip
NFSv4.2: fix error handling in nfs42_proc_getxattr
There is a slight issue with error handling code inside nfs42_proc_getxattr(). If page allocating loop fails then we free the failing page array element which is NULL but __free_page() can't deal with NULL args. Found by Linux Verification Center (linuxtesting.org). Fixes: a1f26739ccdc ("NFSv4.2: improve page handling for GETXATTR") Signed-off-by: Fedor Pchelkin <[email protected]> Reviewed-by: Benjamin Coddington <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions