aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAditya Pakki <[email protected]>2021-04-07 00:09:12 +0000
committerDavid S. Miller <[email protected]>2021-04-07 21:01:24 +0000
commit0c85a7e87465f2d4cbc768e245f4f45b2f299b05 (patch)
treef653dfb46e6bd1f35733c346052343ee5be02643 /net/tipc/node.c
parentdocs: ethtool: fix some copy-paste errors (diff)
downloadkernel-0c85a7e87465f2d4cbc768e245f4f45b2f299b05.tar.gz
kernel-0c85a7e87465f2d4cbc768e245f4f45b2f299b05.zip
net/rds: Avoid potential use after free in rds_send_remove_from_sock
In case of rs failure in rds_send_remove_from_sock(), the 'rm' resource is freed and later under spinlock, causing potential use-after-free. Set the free pointer to NULL to avoid undefined behavior. Signed-off-by: Aditya Pakki <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions