================================ WARNING: inconsistent lock state 4.18.0+ #189 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz-executor3/12422 [HC0[0]:SC0[0]:HE1:SE1] takes: IPVS: Unknown mcast interface: ip6gre0  00000000130672fb (&(&tlocks[i])->rlock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 00000000130672fb (&(&tlocks[i])->rlock){+.?.}, at: ila_add_mapping net/ipv6/ila/ila_xlat.c:233 [inline] 00000000130672fb (&(&tlocks[i])->rlock){+.?.}, at: ila_xlat_nl_cmd_add_mapping+0x6bb/0x17e0 net/ipv6/ila/ila_xlat.c:355 {IN-SOFTIRQ-W} state was registered at: lock_acquire+0x1e4/0x540 kernel/locking/lockdep.c:3924 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] __rhashtable_insert_fast include/linux/rhashtable.h:596 [inline] rhashtable_lookup_insert_fast include/linux/rhashtable.h:784 [inline] fdb_create+0x5cc/0x1710 net/bridge/br_fdb.c:508 br_fdb_update+0x4e7/0xd40 net/bridge/br_fdb.c:605 br_handle_frame_finish+0xa23/0x1960 net/bridge/br_input.c:97 br_nf_hook_thresh+0x48d/0x5f0 net/bridge/br_netfilter_hooks.c:1011 br_nf_pre_routing_finish_ipv6+0x7bc/0xef0 net/bridge/br_netfilter_ipv6.c:209 NF_HOOK include/linux/netfilter.h:287 [inline] br_nf_pre_routing_ipv6+0x4af/0xac0 net/bridge/br_netfilter_ipv6.c:237 br_nf_pre_routing+0xb33/0x17d0 net/bridge/br_netfilter_hooks.c:494 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline] nf_hook_slow+0xc2/0x1c0 net/netfilter/core.c:511 nf_hook include/linux/netfilter.h:242 [inline] NF_HOOK include/linux/netfilter.h:285 [inline] br_handle_frame+0xc0d/0x1a20 net/bridge/br_input.c:303 __netif_receive_skb_core+0x1455/0x3af0 net/core/dev.c:4821 __netif_receive_skb_one_core+0xd0/0x200 net/core/dev.c:4890 __netif_receive_skb+0x2c/0x1e0 net/core/dev.c:5002 process_backlog+0x219/0x760 net/core/dev.c:5808 napi_poll net/core/dev.c:6228 [inline] net_rx_action+0x7a5/0x1920 net/core/dev.c:6294 __do_softirq+0x2eb/0xb1e kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1047 do_softirq.part.18+0x157/0x1a0 kernel/softirq.c:336 do_softirq arch/x86/include/asm/preempt.h:23 [inline] __local_bh_enable_ip+0x1ee/0x230 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:723 [inline] ip6_finish_output2+0xce8/0x2820 net/ipv6/ip6_output.c:121 ip6_finish_output+0x5fe/0xbc0 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:276 [inline] ip6_output+0x234/0x9d0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:287 [inline] mld_sendpack+0xaeb/0xfc0 net/ipv6/mcast.c:1683 mld_send_initial_cr.part.29+0x114/0x160 net/ipv6/mcast.c:2100 mld_send_initial_cr net/ipv6/mcast.c:2113 [inline] ipv6_mc_dad_complete+0x1a8/0x1f0 net/ipv6/mcast.c:2107 addrconf_dad_completed+0x9da/0xbf0 net/ipv6/addrconf.c:4116 addrconf_dad_work+0x77b/0x1310 net/ipv6/addrconf.c:4047 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 irq event stamp: 141 hardirqs last enabled at (141): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (141): [] _raw_spin_unlock_irqrestore+0x74/0xc0 kernel/locking/spinlock.c:184 hardirqs last disabled at (140): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (140): [] _raw_spin_lock_irqsave+0x74/0xc0 kernel/locking/spinlock.c:152 softirqs last enabled at (114): [] __do_softirq+0x787/0xb1e kernel/softirq.c:318 softirqs last disabled at (107): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (107): [] irq_exit+0x1d6/0x210 kernel/softirq.c:412 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&(&tlocks[i])->rlock); lock(&(&tlocks[i])->rlock); *** DEADLOCK *** 1 lock held by syz-executor3/12422: #0: 00000000d8504057 (cb_lock){++++}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:636 stack backtrace: CPU: 1 PID: 12422 Comm: syz-executor3 Not tainted 4.18.0+ #189 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/0x2b4 lib/dump_stack.c:113 print_usage_bug.cold.63+0x320/0x41a kernel/locking/lockdep.c:2546 valid_state kernel/locking/lockdep.c:2559 [inline] mark_lock_irq kernel/locking/lockdep.c:2753 [inline] mark_lock+0x1048/0x19f0 kernel/locking/lockdep.c:3151 mark_irqflags kernel/locking/lockdep.c:3047 [inline] __lock_acquire+0x7ca/0x5020 kernel/locking/lockdep.c:3392 lock_acquire+0x1e4/0x540 kernel/locking/lockdep.c:3924 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] ila_add_mapping net/ipv6/ila/ila_xlat.c:233 [inline] ila_xlat_nl_cmd_add_mapping+0x6bb/0x17e0 net/ipv6/ila/ila_xlat.c:355 genl_family_rcv_msg+0x8a3/0x1140 net/netlink/genetlink.c:601 genl_rcv_msg+0xc6/0x168 net/netlink/genetlink.c:626 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2454 genl_rcv+0x28/0x40 net/netlink/genetlink.c:637 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x5a0/0x760 net/netlink/af_netlink.c:1343 netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:631 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2114 __sys_sendmsg+0x11d/0x290 net/socket.c:2152 __do_sys_sendmsg net/socket.c:2161 [inline] __se_sys_sendmsg net/socket.c:2159 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2159 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd7b3e6fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd7b3e706d4 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4088 R14: 00000000004c8ab0 R15: 0000000000000000 IPVS: Unknown mcast interface: ip6gre0 IPVS: Error connecting to the multicast addr IPVS: Unknown mcast interface: ip6gre0ÿÿÿþ IPVS: Unknown mcast interface: ip6gre0ÿÿÿþ FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 12541 Comm: syz-executor5 Not tainted 4.18.0+ #189 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/0x2b4 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x11 lib/fault-inject.c:149 __should_failslab+0x124/0x180 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1557 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc_node mm/slab.c:3299 [inline] kmem_cache_alloc_node_trace+0x26f/0x770 mm/slab.c:3661 kmalloc_node include/linux/slab.h:551 [inline] kzalloc_node include/linux/slab.h:718 [inline] __get_vm_area_node+0x12d/0x390 mm/vmalloc.c:1389 __vmalloc_node_range+0xc4/0x760 mm/vmalloc.c:1741 __vmalloc_node mm/vmalloc.c:1791 [inline] __vmalloc+0x45/0x50 mm/vmalloc.c:1797 bpf_prog_alloc+0xe3/0x3e0 kernel/bpf/core.c:85 bpf_prog_load+0x435/0x1c90 kernel/bpf/syscall.c:1373 __do_sys_bpf kernel/bpf/syscall.c:2372 [inline] __se_sys_bpf kernel/bpf/syscall.c:2334 [inline] __x64_sys_bpf+0x36c/0x510 kernel/bpf/syscall.c:2334 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff7f02ccc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ff7f02cd6d4 RCX: 0000000000457089 RDX: 0000000000000048 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000004cb328 R14: 00000000004c3028 R15: 0000000000000000 syz-executor5: vmalloc: allocation failure: 4096 bytes, mode:0x6280c0(GFP_USER|__GFP_ZERO), nodemask=(null) syz-executor5 cpuset=syz5 mems_allowed=0 IPVS: Error connecting to the multicast addr CPU: 0 PID: 12541 Comm: syz-executor5 Not tainted 4.18.0+ #189 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/0x2b4 lib/dump_stack.c:113 warn_alloc.cold.118+0xb7/0x1bd mm/page_alloc.c:3427 __vmalloc_node_range+0x472/0x760 mm/vmalloc.c:1762 __vmalloc_node mm/vmalloc.c:1791 [inline] __vmalloc+0x45/0x50 mm/vmalloc.c:1797 bpf_prog_alloc+0xe3/0x3e0 kernel/bpf/core.c:85 bpf_prog_load+0x435/0x1c90 kernel/bpf/syscall.c:1373 __do_sys_bpf kernel/bpf/syscall.c:2372 [inline] __se_sys_bpf kernel/bpf/syscall.c:2334 [inline] __x64_sys_bpf+0x36c/0x510 kernel/bpf/syscall.c:2334 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 IPVS: Unknown mcast interface: ip6gre0ˆ entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff7f02ccc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ff7f02cd6d4 RCX: 0000000000457089 RDX: 0000000000000048 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000004cb328 R14: 00000000004c3028 R15: 0000000000000000 Mem-Info: active_anon:45855 inactive_anon:335 isolated_anon:0 active_file:4926 inactive_file:10251 isolated_file:0 unevictable:0 dirty:28 writeback:0 unstable:0 slab_reclaimable:12835 slab_unreclaimable:101561 mapped:71679 shmem:345 pagetables:982 bounce:0 free:1357083 free_pcp:434 free_cma:0 Node 0 active_anon:183420kB inactive_anon:1340kB active_file:19704kB inactive_file:41004kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:286716kB dirty:112kB writeback:0kB shmem:1380kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 172032kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 0 DMA free:15908kB min:164kB low:204kB high:244kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB IPVS: Unknown mcast interface: ip6gre0 lowmem_reserve[]: 0 2844 6351 6351 Node 0 DMA32 free:2913496kB min:30192kB low:37740kB high:45288kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129292kB managed:2916620kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:772kB local_pcp:64kB free_cma:0kB lowmem_reserve[]: 0 0 3507 3507 Node 0 Normal free:2492136kB min:37224kB low:46528kB high:55832kB active_anon:189728kB inactive_anon:1340kB active_file:19704kB inactive_file:41004kB unevictable:0kB writepending:216kB present:4718592kB managed:3591236kB mlocked:0kB kernel_stack:6336kB pagetables:3928kB bounce:0kB free_pcp:748kB local_pcp:336kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 DMA32: 2*4kB (UM) 4*8kB (UM) 3*16kB (UM) 2*32kB (UM) 3*64kB (UM) 5*128kB (UM) 5*256kB (UM) 4*512kB (UM) 3*1024kB (UM) 3*2048kB (UM) 708*4096kB (UM) = 2913496kB Node 0 Normal: 936*4kB (UME) 547*8kB (UME) 452*16kB (UM) 1203*32kB (UME) 599*64kB (UM) 146*128kB (UM) 81*256kB (U) 168*512kB (UM) 101*1024kB (U) 30*2048kB (UM) 517*4096kB (UME) = 2500120kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 15521 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965969 pages RAM 0 pages HighMem/MovableOnly 335028 pages reserved IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 'syz-executor3': attribute type 27 has an invalid length. IPVS: Error connecting to the multicast addr netlink: 'syz-executor3': attribute type 27 has an invalid length. IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr device lo entered promiscuous mode device lo left promiscuous mode IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr Dead loop on virtual device ip6_vti0, fix it urgently! IPVS: Error connecting to the multicast addr sctp: [Deprecated]: syz-executor2 (pid 12981) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead IPVS: Error connecting to the multicast addr sctp: [Deprecated]: syz-executor2 (pid 12981) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead x_tables: eb_tables: log.0 target: invalid size 40 (kernel) != (user) 32 x_tables: eb_tables: log.0 target: invalid size 40 (kernel) != (user) 32 IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr sock: process `syz-executor0' is using obsolete getsockopt SO_BSDCOMPAT IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr IPVS: Error connecting to the multicast addr