kernel_samsung_a53x/net/vmw_vsock
Hyunwoo Kim 93e47c9b35 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
commit 6ca575374dd9a507cdd16dfa0e78c2e9e20bd05f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:27 +01:00
..
af_vsock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
af_vsock_tap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hyperv_transport.c hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer 2024-11-30 02:33:27 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_transport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio_transport_common.c vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans 2024-11-30 02:33:27 +01:00
vmci_transport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_transport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_transport_notify.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_transport_notify.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_transport_notify_qstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vsock_addr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vsock_loopback.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00