summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJoshua Rogers <linux@joshua.hu>2025-11-07 10:05:33 -0500
committerChuck Lever <chuck.lever@oracle.com>2025-12-08 10:51:26 -0500
commitd4b69a6186b215d2dc1ebcab965ed88e8d41768d (patch)
tree01f00c7fc99f4114596181f3582f297e855c901a /tools/perf/scripts/python/netdev-times.py
parentdf8c841dd92a7f262ad4fa649aa493b181e02812 (diff)
downloadkernel-d4b69a6186b215d2dc1ebcab965ed88e8d41768d.tar.gz
SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
A zero length gss_token results in pages == 0 and in_token->pages[0] is NULL. The code unconditionally evaluates page_address(in_token->pages[0]) for the initial memcpy, which can dereference NULL even when the copy length is 0. Guard the first memcpy so it only runs when length > 0. Fixes: 5866efa8cbfb ("SUNRPC: Fix svcauth_gss_proxy_init()") Cc: stable@vger.kernel.org Signed-off-by: Joshua Rogers <linux@joshua.hu> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
ef='/distro/kernel/commit/drivers/cxl/cxlpci.h?id=a12562bb70776093b270f79a4b6ef18f4bcead2b'>cxl/mem: Merge cxl_dvsec_ranges() and cxl_hdm_decode_init()Dan Williams 2022-05-19cxl/mem: Consolidate CXL DVSEC Range enumeration in the coreDan Williams 2022-02-08cxl/pci: Retrieve CXL DVSEC memory infoBen Widawsky 2022-02-08cxl/core/port: Remove @host argument for dport + decoder enumerationDan Williams 2022-02-08cxl/port: Add a driver for 'struct cxl_port' objectsBen Widawsky 2022-02-08cxl/core: Generalize dport enumeration in the coreDan Williams 2022-02-08cxl/pci: Rename pci.h to cxlpci.hDan Williams