INFO: task syz-executor.3:26767 blocked for more than 143 seconds. Not tainted 5.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26144 26767 7340 0x80004006 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x937/0x1ff0 kernel/sched/core.c:4083 rwsem_down_write_slowpath+0x90a/0xf90 kernel/locking/rwsem.c:1216 __sched_text_start+0x8/0x8 schedule+0xd0/0x2a0 kernel/sched/core.c:4158 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:199 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1776 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 __down_timeout+0x2d0/0x2d0 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1776 bcm_release+0x8b/0x660 net/can/bcm.c:1474 __sock_release+0x280/0x280 net/socket.c:605 __sock_release+0xcd/0x280 net/socket.c:605 sock_close+0x18/0x20 net/socket.c:1283 __fput+0x33e/0x880 fs/file_table.c:280 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xb34/0x2dd0 kernel/exit.c:796 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 mm_update_next_owner+0x7a0/0x7a0 kernel/exit.c:375 lock_downgrade+0x840/0x840 kernel/locking/lockdep.c:4579 do_group_exit+0x125/0x340 kernel/exit.c:894 get_signal+0x47b/0x24e0 kernel/signal.c:2739 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 do_signal+0x81/0x2240 arch/x86/kernel/signal.c:784 lock_downgrade+0x840/0x840 kernel/locking/lockdep.c:4579 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 get_sigframe.isra.0+0x730/0x730 arch/x86/kernel/signal.c:268 rcu_read_unlock_sched include/linux/rcupdate.h:732 [inline] __fd_install+0x1e6/0x600 fs/file.c:613 __sys_socket+0x16d/0x200 net/socket.c:438 move_addr_to_kernel+0x70/0x70 net/socket.c:195 exit_to_usermode_loop+0x26c/0x360 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 3 locks held by kworker/u4:3/61: #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8880a9771938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239 #1: ffffc90000f27dc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243 #2: ffffffff8a576f30 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa50 net/core/net_namespace.c:565 1 lock held by khungtaskd/1131: #0: ffffffff899bea80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754 no locks held by in:imklog/6726. 2 locks held by syz-fuzzer/7041: #0: ffff8880ae737998 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline] #0: ffff8880ae737998 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x233/0x1ff0 kernel/sched/core.c:4029 #1: ffff8880ae722ec8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x304/0x410 kernel/sched/psi.c:817 2 locks held by syz-executor.3/26767: #0: ffff888089ec0c90 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline] #0: ffff888089ec0c90 (&sb->s_type->i_mutex_key#14){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:604 #1: ffffffff8a576f30 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1776 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1131 Comm: khungtaskd Not tainted 5.7.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+0x188/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa8c/0x1010 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:unwind_get_return_address arch/x86/kernel/unwind_orc.c:317 [inline] RIP: 0010:unwind_get_return_address+0x51/0xa0 arch/x86/kernel/unwind_orc.c:312 Code: 84 d2 75 51 8b 03 85 c0 75 05 5b 31 c0 5d c3 48 8d 6b 48 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 75 32 <48> 8b 7b 48 e8 66 6e 1a 00 85 c0 74 d3 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90000da88c8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffc90000da88e0 RCX: ffffc90000da8970 RDX: 1ffff920001b5125 RSI: ffffc90000da86e8 RDI: ffffc90000da88e0 RBP: ffffc90000da8928 R08: 0000000000000001 R09: 0000000000000001 R10: 000000000000a4e5 R11: 000000000007001f R12: ffffc90000da8998 R13: 0000000000000000 R14: ffff8880a959e1c0 R15: ffff88805699e140 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e6c273000 CR3: 00000000a7a6c000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: profile_setup.cold+0xc1/0xc1 arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 stack_trace_consume_entry+0x160/0x160 kernel/stacktrace.c:93 skb_release_data+0x42e/0x8b0 net/core/skbuff.c:610 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 save_stack+0x1b/0x40 mm/kasan/common.c:49 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:690 [inline] __dev_queue_xmit+0x1778/0x30a0 net/core/dev.c:4079 batadv_send_skb_packet+0x4a9/0x5f0 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:393 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:419 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x693/0x7c0 net/batman-adv/bat_iv_ogm.c:1710 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x388/0x470 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x213/0x449 lib/debugobjects.c:998 lock_downgrade+0x840/0x840 kernel/locking/lockdep.c:4579 trace_hardirqs_off+0x50/0x220 kernel/trace/trace_preemptirq.c:45 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x9b/0xe0 kernel/locking/spinlock.c:191 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x213/0x449 lib/debugobjects.c:998 __phys_addr+0x9a/0x110 arch/x86/mm/physaddr.c:31 kfree_skbmem net/core/skbuff.c:622 [inline] kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:616 set_track mm/kasan/common.c:57 [inline] kasan_set_free_info mm/kasan/common.c:317 [inline] __kasan_slab_free+0xf7/0x140 mm/kasan/common.c:456 kfree_skbmem net/core/skbuff.c:622 [inline] kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:616 __cache_free mm/slab.c:3426 [inline] kmem_cache_free+0x7f/0x320 mm/slab.c:3694 kfree_skbmem net/core/skbuff.c:622 [inline] kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:616 __kfree_skb net/core/skbuff.c:679 [inline] consume_skb net/core/skbuff.c:837 [inline] consume_skb+0xfb/0x400 net/core/skbuff.c:831 packet_rcv+0xec/0x13e0 net/packet/af_packet.c:2154 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 __write_once_size include/linux/compiler.h:226 [inline] __skb_unlink include/linux/skbuff.h:2078 [inline] __skb_dequeue include/linux/skbuff.h:2093 [inline] process_backlog+0x1ad/0x7a0 net/core/dev.c:6132 run_filter+0x4c0/0x4c0 include/linux/filter.h:599 __netif_receive_skb_one_core+0xf5/0x160 net/core/dev.c:5188 __netif_receive_skb_core+0x30e0/0x30e0 include/linux/skbuff.h:1446 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5302 process_backlog+0x21e/0x7a0 net/core/dev.c:6134 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 net_rx_action+0x25f/0x1070 net/core/dev.c:6628 napi_poll net/core/dev.c:6572 [inline] net_rx_action+0x4c2/0x1070 net/core/dev.c:6640 napi_busy_loop+0x950/0x950 net/core/dev.c:6383 rcu_read_lock_any_held.part.0+0x50/0x50 arch/x86/include/asm/paravirt.h:754 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __do_softirq+0x26c/0x9f7 kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1082 rcu_read_unlock_bh include/linux/rcupdate.h:686 [inline] __dev_queue_xmit+0x174a/0x30a0 net/core/dev.c:4079 do_softirq.part.0+0x10f/0x160 kernel/softirq.c:337 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:690 [inline] __dev_queue_xmit+0x1778/0x30a0 net/core/dev.c:4079 retint_kernel+0x2b/0x2b netdev_core_pick_tx+0x2e0/0x2e0 net/core/dev.c:3939 skb_headers_offset_update+0x5e/0x2a0 net/core/skbuff.c:1464 skb_headers_offset_update+0x5e/0x2a0 net/core/skbuff.c:1464 skb_headers_offset_update+0x15a/0x2a0 net/core/skbuff.c:1468 pskb_expand_head+0x558/0x1020 net/core/skbuff.c:1686 batadv_send_skb_packet+0x4a9/0x5f0 net/batman-adv/send.c:108 batadv_send_skb_packet+0x4a9/0x5f0 net/batman-adv/send.c:108 skb_clone+0x1a8/0x3c0 net/core/skbuff.c:1454 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:393 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:419 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x693/0x7c0 net/batman-adv/bat_iv_ogm.c:1710 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 lock_release+0x800/0x800 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x16a0/0x16a0 kernel/workqueue.c:2273 kthread+0x388/0x470 kernel/kthread.c:268 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1090 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351