summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-09-09 13:52:14 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-09-13 15:25:17 -0300
commit5f270f091256da1338c3631083e15d7f83cc05e1 (patch)
treeeb025afe43693832083a2318ba3712f8b4f73e9f /tools/perf/scripts/python/bin/stackcollapse-record
parentc65eae6f61d1778ff7a82e4aae4080e26f486af1 (diff)
downloadlinux-next-5f270f091256da1338c3631083e15d7f83cc05e1.tar.gz
linux-next-5f270f091256da1338c3631083e15d7f83cc05e1.zip
smb: client: fix rlist race and missing initialization
TCP_Server_Info.rlist is allocated via kzalloc which zeros both ->next and ->prev to NULL instead of pointing to itself, making list_empty() always return false and list_add() dereference a NULL ->prev pointer. Also, cifs_signal_cifsd_for_reconnect() can be called concurrently from multiple cifsd threads, allowing the same server's rlist node to be added twice into the local list, corrupting it. Closes: https://sashiko.dev/#/patchset/20260911204446.1719356-1-pc%40manguebit.org Fixes: df0e03a4fb94 ("smb: client: fix potential deadlock when reconnecting channels") Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Paulo Alcantara <pc@manguebit.org> Cc: David Howells <dhowells@redhat.com> Cc: Shyam Prasad N <sprasad@microsoft.com> Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Bharath SM <bharathsm@microsoft.com> Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions