summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2024-10-14 18:38:03 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-16 04:43:08 +0300
commit811a7ca7320c062e15d0f5b171fe6ad8592d1434 (patch)
treee2828100b98f78a8bd1b1f2e71278573c96a0d8e /tools/perf/scripts/python/export-to-postgresql.py
parent3945c799f12b8d1f49a3b48369ca494d981ac465 (diff)
downloadlinux-811a7ca7320c062e15d0f5b171fe6ad8592d1434.tar.xz
net: af_can: do not leave a dangling sk pointer in can_create()
On error can_create() frees the allocated sk object, but sock_init_data() has already attached it to the provided sock object. This will leave a dangling sk pointer in the sock object and may cause use-after-free later. Signed-off-by: Ignat Korchagin <ignat@cloudflare.com> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://patch.msgid.link/20241014153808.51894-5-ignat@cloudflare.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions