mirror-linux/include
David Howells 0e50d99990 rxrpc: Fix a couple of potential use-after-frees
At the end of rxrpc_recvmsg(), if a call is found, the call is put and then
a trace line is emitted referencing that call in a couple of places - but
the call may have been deallocated by the time those traces happen.

Fix this by stashing the call debug_id in a variable and passing that to
the tracepoint rather than the call pointer.

Fixes: 849979051c ("rxrpc: Add a tracepoint to follow what recvmsg does")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-12-28 09:59:23 +00:00
..
acpi More ACPI updates for 6.2-rc1 2022-12-15 10:21:10 -08:00
asm-generic asm-generic bits for 6.2 2022-12-20 08:32:11 -06:00
clocksource
crypto
drm
dt-bindings phy-for-6.2 2022-12-19 08:40:58 -06:00
keys
kunit kunit: add macro to allow conditionally exposing static symbols to tests 2022-12-12 14:13:48 -07:00
kvm
linux fs.vfsuid.ima.v6.2-rc1 2022-12-21 08:13:01 -08:00
math-emu
media
memory
misc
net Including fixes from bpf, netfilter and can. 2022-12-21 08:41:32 -08:00
pcmcia
ras
rdma
rv
scsi SCSI misc on 20221213 2022-12-14 08:58:51 -08:00
soc Networking changes for 6.2. 2022-12-13 15:47:48 -08:00
sound
target
trace rxrpc: Fix a couple of potential use-after-frees 2022-12-28 09:59:23 +00:00
uapi atm: uapi: fix spelling typos in comments 2022-12-22 18:18:37 -08:00
ufs
vdso
video fbdev: omapfb: connector-analog-tv: remove support for platform data 2022-12-14 20:01:49 +01:00
xen