kernel-aes67/drivers/misc/vmw_vmci
Vasiliy Kovalev e606e4b717 VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
The changes are similar to those given in the commit 19b070fefd
("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>
2024-03-01 16:03:32 -08:00
..
Kconfig VMCI: Add support for ARM64 2022-04-24 17:32:14 +02:00
Makefile
vmci_context.c misc: vmw_vmci: Rename kvfree_rcu() to kvfree_rcu_mightsleep() 2023-04-05 13:48:03 +00:00
vmci_context.h
vmci_datagram.c VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler() 2024-03-01 16:03:32 -08:00
vmci_datagram.h
vmci_doorbell.c
vmci_doorbell.h
vmci_driver.c
vmci_driver.h
vmci_event.c misc: vmw_vmci: Rename kvfree_rcu() to kvfree_rcu_mightsleep() 2023-04-05 13:48:03 +00:00
vmci_event.h
vmci_guest.c VMCI: Use threaded irqs instead of tasklets 2023-01-20 13:24:11 +01:00
vmci_handle_array.c VMCI: Remove handle_arr_calc_size() 2023-12-15 17:27:04 +01:00
vmci_handle_array.h Char/Misc and other Driver changes for 6.8-rc1 2024-01-17 16:47:17 -08:00
vmci_host.c vmci_host: fix a race condition in vmci_host_poll() causing GPF 2023-04-05 19:37:35 +02:00
vmci_queue_pair.c use less confusing names for iov_iter direction initializers 2022-11-25 13:01:55 -05:00
vmci_queue_pair.h
vmci_resource.c
vmci_resource.h
vmci_route.c
vmci_route.h