===================================================== BUG: KMSAN: kernel-infoleak-after-free in instrument_copy_to_user include/linux/instrumented.h:114 [inline] BUG: KMSAN: kernel-infoleak-after-free in _copy_to_user+0xbc/0x110 lib/usercopy.c:40 instrument_copy_to_user include/linux/instrumented.h:114 [inline] _copy_to_user+0xbc/0x110 lib/usercopy.c:40 copy_to_user include/linux/uaccess.h:191 [inline] copy_siginfo_to_user+0x40/0x130 kernel/signal.c:3380 ptrace_request+0xfa7/0x36e0 kernel/ptrace.c:1046 arch_ptrace+0x43b/0x680 arch/x86/kernel/ptrace.c:848 __do_sys_ptrace kernel/ptrace.c:1285 [inline] __se_sys_ptrace+0x2d8/0x760 kernel/ptrace.c:1258 __x64_sys_ptrace+0xbd/0x110 kernel/ptrace.c:1258 x64_sys_call+0x33e9/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:102 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: copy_siginfo include/linux/signal.h:18 [inline] ptrace_getsiginfo kernel/ptrace.c:685 [inline] ptrace_request+0xf33/0x36e0 kernel/ptrace.c:1044 arch_ptrace+0x43b/0x680 arch/x86/kernel/ptrace.c:848 __do_sys_ptrace kernel/ptrace.c:1285 [inline] __se_sys_ptrace+0x2d8/0x760 kernel/ptrace.c:1258 __x64_sys_ptrace+0xbd/0x110 kernel/ptrace.c:1258 x64_sys_call+0x33e9/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:102 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: copy_siginfo include/linux/signal.h:18 [inline] collect_signal kernel/signal.c:587 [inline] __dequeue_signal+0x501/0xad0 kernel/signal.c:616 dequeue_signal+0x14b/0xb20 kernel/signal.c:639 get_signal+0xb46/0x2d00 kernel/signal.c:2790 arch_do_signal_or_restart+0x53/0xcb0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x5d/0x160 kernel/entry/common.c:218 do_syscall_64+0xdc/0x1e0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_free_hook mm/slub.c:2073 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x257/0xa80 mm/slub.c:4344 __sigqueue_free kernel/signal.c:451 [inline] collect_signal kernel/signal.c:594 [inline] __dequeue_signal+0xa58/0xad0 kernel/signal.c:616 dequeue_signal+0x14b/0xb20 kernel/signal.c:639 get_signal+0xb46/0x2d00 kernel/signal.c:2790 arch_do_signal_or_restart+0x53/0xcb0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x5d/0x160 kernel/entry/common.c:218 do_syscall_64+0xdc/0x1e0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Bytes 12-15 of 48 are uninitialized Memory access of size 48 starts at ffff888117a4fc30 Data copied to user address 000000003d936d30 CPU: 1 PID: 5023 Comm: strace-static-x Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================