kernel_samsung_a53x/drivers/misc/vmw_vmci
Vasiliy Kovalev d63c928098 VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
commit e606e4b71798cc1df20e987dde2468e9527bd376 upstream.

The changes are similar to those given in the commit 19b070fefd0d
("VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()").

Fix filling of the msg and msg_payload in dg_info struct, which prevents a
possible "detected field-spanning write" of memcpy warning that is issued
by the tracking mechanism __fortify_memcpy_chk.

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Link: https://lore.kernel.org/r/20240219105315.76955-1-kovalev@altlinux.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:23:15 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_context.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_context.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_datagram.c VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler() 2024-11-19 09:23:15 +01:00
vmci_datagram.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_doorbell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_doorbell.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_driver.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_driver.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_event.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_guest.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_handle_array.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_handle_array.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_host.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_queue_pair.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_queue_pair.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_resource.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_resource.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_route.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmci_route.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00