===================================================== BUG: KMSAN: uninit-value in kmsan_check_memory+0xd/0x10 mm/kmsan/kmsan_hooks.c:428 CPU: 0 PID: 14323 Comm: syz-executor.3 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1df/0x240 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 kmsan_internal_check_memory+0x238/0x3d0 mm/kmsan/kmsan.c:423 kmsan_check_memory+0xd/0x10 mm/kmsan/kmsan_hooks.c:428 instrument_copy_to_user include/linux/instrumented.h:91 [inline] copyout lib/iov_iter.c:142 [inline] _copy_to_iter+0x3d4/0x26e0 lib/iov_iter.c:631 copy_to_iter include/linux/uio.h:138 [inline] simple_copy_to_iter net/core/datagram.c:519 [inline] __skb_datagram_iter+0x2bb/0x1220 net/core/datagram.c:425 skb_copy_datagram_iter+0x292/0x2b0 net/core/datagram.c:533 skb_copy_datagram_msg include/linux/skbuff.h:3511 [inline] netlink_recvmsg+0x699/0x1910 net/netlink/af_netlink.c:1976 sock_recvmsg_nosec net/socket.c:886 [inline] sock_recvmsg net/socket.c:904 [inline] sock_read_iter+0x750/0x760 net/socket.c:977 call_read_iter include/linux/fs.h:1902 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0xc67/0x1230 fs/read_write.c:481 ksys_read+0x267/0x450 fs/read_write.c:607 __do_sys_read fs/read_write.c:617 [inline] __se_sys_read+0x92/0xb0 fs/read_write.c:615 __x64_sys_read+0x4a/0x70 fs/read_write.c:615 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c1d9 Code: Bad RIP value. RSP: 002b:00007fb4afeb3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00000000000240c0 RCX: 000000000045c1d9 RDX: 000000000000005a RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000078bfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 0000000000c9fb6f R14: 00007fb4afeb49c0 R15: 000000000078bfac Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:80 slab_alloc_node mm/slub.c:2839 [inline] __kmalloc_node_track_caller+0xb40/0x1200 mm/slub.c:4478 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0x2fd/0xac0 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1083 [inline] netlink_dump+0x42f/0x1a90 net/netlink/af_netlink.c:2225 __netlink_dump_start+0xbc5/0xd00 net/netlink/af_netlink.c:2353 netlink_dump_start include/linux/netlink.h:246 [inline] rtnetlink_rcv_msg+0x151f/0x15c0 net/core/rtnetlink.c:5423 netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2469 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5478 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0xf9e/0x1100 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x1246/0x14d0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x1370/0x1400 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmsg+0x623/0x750 net/socket.c:2439 __do_sys_sendmsg net/socket.c:2448 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2446 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2446 do_syscall_64+0xb0/0x150 arch/x86/entry/common.c:386 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Byte 17 of 90 is uninitialized Memory access of size 90 starts at ffff99da3a3f9000 =====================================================