===================================================== 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_iter lib/iov_iter.c:24 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_ubuf include/linux/iov_iter.h:30 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_and_advance2 include/linux/iov_iter.h:300 [inline] BUG: KMSAN: kernel-infoleak-after-free in iterate_and_advance include/linux/iov_iter.h:328 [inline] BUG: KMSAN: kernel-infoleak-after-free in _copy_to_iter+0xf0e/0x33f0 lib/iov_iter.c:185 instrument_copy_to_user include/linux/instrumented.h:114 [inline] copy_to_user_iter lib/iov_iter.c:24 [inline] iterate_ubuf include/linux/iov_iter.h:30 [inline] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] iterate_and_advance include/linux/iov_iter.h:328 [inline] _copy_to_iter+0xf0e/0x33f0 lib/iov_iter.c:185 copy_to_iter include/linux/uio.h:220 [inline] simple_copy_to_iter net/core/datagram.c:521 [inline] __skb_datagram_iter+0x196/0x12c0 net/core/datagram.c:402 skb_copy_datagram_iter+0x5b/0x1e0 net/core/datagram.c:535 skb_copy_datagram_msg include/linux/skbuff.h:4167 [inline] netlink_recvmsg+0x4bb/0xfe0 net/netlink/af_netlink.c:1953 sock_recvmsg_nosec net/socket.c:1065 [inline] sock_recvmsg+0x2dc/0x390 net/socket.c:1087 __sys_recvfrom+0x282/0x550 net/socket.c:2278 __do_sys_recvfrom net/socket.c:2293 [inline] __se_sys_recvfrom net/socket.c:2289 [inline] __x64_sys_recvfrom+0x130/0x200 net/socket.c:2289 x64_sys_call+0x3cbc/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:46 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_free_hook mm/slub.c:2343 [inline] slab_free mm/slub.c:4680 [inline] kfree+0x252/0xec0 mm/slub.c:4879 tomoyo_realpath_from_path+0x952/0x9f0 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path2_perm+0x2ba/0x990 security/tomoyo/file.c:923 tomoyo_path_rename+0x1f2/0x230 security/tomoyo/tomoyo.c:300 security_path_rename+0x2ff/0x740 security/security.c:2026 do_renameat2+0xc35/0x1a50 fs/namei.c:5265 __do_sys_rename fs/namei.c:5325 [inline] __se_sys_rename fs/namei.c:5323 [inline] __x64_sys_rename+0xd7/0x140 fs/namei.c:5323 x64_sys_call+0x269/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Bytes 32-35 of 44 are uninitialized Memory access of size 44 starts at ffff888119301b80 Data copied to user address 0000200000000240 CPU: 1 UID: 0 PID: 6417 Comm: syz.0.116 Not tainted 6.17.0-rc1-syzkaller-00211-g90d970cade8e #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================