===================================================== BUG: KMSAN: uninit-value in tcf_exts_destroy net/sched/cls_api.c:3000 [inline] BUG: KMSAN: uninit-value in tcf_exts_change+0xc9/0xf0 net/sched/cls_api.c:3059 CPU: 1 PID: 11695 Comm: syz-executor.0 Not tainted 5.6.0-rc6-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+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 tcf_exts_destroy net/sched/cls_api.c:3000 [inline] tcf_exts_change+0xc9/0xf0 net/sched/cls_api.c:3059 tcindex_set_parms net/sched/cls_tcindex.c:456 [inline] tcindex_change+0x2fe4/0x4130 net/sched/cls_tcindex.c:518 tc_new_tfilter+0x31a8/0x4f40 net/sched/cls_api.c:2103 rtnetlink_rcv_msg+0xcb7/0x1570 net/core/rtnetlink.c:5427 netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2478 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5454 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+0x12b6/0x1350 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmsg+0x451/0x5f0 net/socket.c:2430 __compat_sys_sendmsg net/compat.c:642 [inline] __do_compat_sys_sendmsg net/compat.c:649 [inline] __se_compat_sys_sendmsg net/compat.c:646 [inline] __ia32_compat_sys_sendmsg+0xed/0x130 net/compat.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7facd99 Code: 90 e8 0b 00 00 00 f3 90 0f ae e8 eb f9 8d 74 26 00 89 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7fa70cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200001c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:144 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:307 [inline] kmsan_alloc_page+0x12a/0x310 mm/kmsan/kmsan_shadow.c:336 __alloc_pages_nodemask+0x5712/0x5e80 mm/page_alloc.c:4775 alloc_pages_current+0x67d/0x990 mm/mempolicy.c:2211 alloc_pages include/linux/gfp.h:534 [inline] alloc_slab_page+0x111/0x12f0 mm/slub.c:1530 allocate_slab mm/slub.c:1675 [inline] new_slab+0x2bc/0x1130 mm/slub.c:1741 new_slab_objects mm/slub.c:2492 [inline] ___slab_alloc+0x1533/0x1f30 mm/slub.c:2643 __slab_alloc mm/slub.c:2683 [inline] slab_alloc_node mm/slub.c:2757 [inline] slab_alloc mm/slub.c:2802 [inline] kmem_cache_alloc_trace+0xb0a/0xd70 mm/slub.c:2819 kmalloc include/linux/slab.h:555 [inline] kzalloc include/linux/slab.h:669 [inline] inet_alloc_ifa net/ipv4/devinet.c:218 [inline] rtm_to_ifaddr net/ipv4/devinet.c:847 [inline] inet_rtm_newaddr+0x604/0x2320 net/ipv4/devinet.c:932 rtnetlink_rcv_msg+0x1153/0x1570 net/core/rtnetlink.c:5436 netlink_rcv_skb+0x451/0x650 net/netlink/af_netlink.c:2478 rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5454 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_sendto+0xc1b/0xc50 net/socket.c:1998 __do_compat_sys_socketcall net/compat.c:771 [inline] __se_compat_sys_socketcall+0xede/0x1460 net/compat.c:719 __ia32_compat_sys_socketcall+0x91/0xc0 net/compat.c:719 do_syscall_32_irqs_on arch/x86/entry/common.c:339 [inline] do_fast_syscall_32+0x3c7/0x6e0 arch/x86/entry/common.c:410 entry_SYSENTER_compat+0x68/0x77 arch/x86/entry/entry_64_compat.S:139 =====================================================