diff options
author | Hyunwoo Kim <v4bel@theori.io> | 2024-10-22 09:32:56 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-11-06 03:30:20 -0500 |
commit | 6ca575374dd9a507cdd16dfa0e78c2e9e20bd05f (patch) | |
tree | e7d9904448ad0b990b8cc137ea746ab88eb3b89b /net/can/proc.c | |
parent | 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff) |
vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
During loopback communication, a dangling pointer can be created in
vsk->trans, potentially leading to a Use-After-Free condition. This
issue is resolved by initializing vsk->trans to NULL.
Cc: stable <stable@kernel.org>
Fixes: 06a8fc78367d ("VSOCK: Introduce virtio_vsock_common.ko")
Signed-off-by: Hyunwoo Kim <v4bel@theori.io>
Signed-off-by: Wongi Lee <qwerty@theori.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Message-Id: <2024102245-strive-crib-c8d3@gregkh>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net/can/proc.c')
0 files changed, 0 insertions, 0 deletions