INFO: task syz-executor.3:23629 can't die for more than 143 seconds. syz-executor.3 D29616 23629 8517 0x00000004 Call Trace: context_switch kernel/sched/core.c:3415 [inline] __schedule+0x8e4/0x1f80 kernel/sched/core.c:4140 rwsem_down_write_slowpath+0x699/0xf80 kernel/locking/rwsem.c:1216 firmware_map_remove+0x19e/0x19e __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 schedule+0xd0/0x2a0 kernel/sched/core.c:4215 rwsem_down_write_slowpath+0x6eb/0xf80 kernel/locking/rwsem.c:1235 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:285 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4959 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1797 lock_release+0x800/0x800 kernel/locking/lockdep.c:4714 check_preemption_disabled lib/smp_processor_id.c:52 [inline] debug_smp_processor_id+0x2f/0x185 lib/smp_processor_id.c:57 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 instrument_atomic_write include/linux/instrumented.h:71 [inline] atomic64_try_cmpxchg include/asm-generic/atomic-instrumented.h:1505 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __down_write kernel/locking/rwsem.c:1387 [inline] down_write+0xb2/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 down_write_killable+0x170/0x170 include/linux/compiler.h:303 pcpu_alloc+0x128/0x13b0 mm/percpu.c:1740 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1797 raw_init+0x296/0x340 net/can/raw.c:339 raw_sock_no_ioctlcmd+0x10/0x10 net/can/raw.c:843 can_create+0x27c/0x500 net/can/af_can.c:168 __sock_create+0x3cb/0x730 net/socket.c:1428 sock_create net/socket.c:1479 [inline] __sys_socket+0xef/0x200 net/socket.c:1521 move_addr_to_kernel+0x70/0x70 net/socket.c:195 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 __do_sys_socket net/socket.c:1530 [inline] __se_sys_socket net/socket.c:1528 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1528 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.3:23629 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-next-20200522-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29616 23629 8517 0x00000004 Call Trace: context_switch kernel/sched/core.c:3415 [inline] __schedule+0x8e4/0x1f80 kernel/sched/core.c:4140 rwsem_down_write_slowpath+0x699/0xf80 kernel/locking/rwsem.c:1216 firmware_map_remove+0x19e/0x19e __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 schedule+0xd0/0x2a0 kernel/sched/core.c:4215 rwsem_down_write_slowpath+0x6eb/0xf80 kernel/locking/rwsem.c:1235 rwsem_mark_wake+0x8d0/0x8d0 include/linux/compiler.h:285 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4959 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1797 lock_release+0x800/0x800 kernel/locking/lockdep.c:4714 check_preemption_disabled lib/smp_processor_id.c:52 [inline] debug_smp_processor_id+0x2f/0x185 lib/smp_processor_id.c:57 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 instrument_atomic_write include/linux/instrumented.h:71 [inline] atomic64_try_cmpxchg include/asm-generic/atomic-instrumented.h:1505 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __down_write kernel/locking/rwsem.c:1387 [inline] down_write+0xb2/0x150 kernel/locking/rwsem.c:1532 __down_write kernel/locking/rwsem.c:1389 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1532 down_write_killable+0x170/0x170 include/linux/compiler.h:303 pcpu_alloc+0x128/0x13b0 mm/percpu.c:1740 register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1797 raw_init+0x296/0x340 net/can/raw.c:339 raw_sock_no_ioctlcmd+0x10/0x10 net/can/raw.c:843 can_create+0x27c/0x500 net/can/af_can.c:168 __sock_create+0x3cb/0x730 net/socket.c:1428 sock_create net/socket.c:1479 [inline] __sys_socket+0xef/0x200 net/socket.c:1521 move_addr_to_kernel+0x70/0x70 net/socket.c:195 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 __do_sys_socket net/socket.c:1530 [inline] __se_sys_socket net/socket.c:1528 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1528 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 1 lock held by khungtaskd/1146: #0: ffffffff89bc0380 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by in:imklog/6538: #0: ffff88809e6603f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 4 locks held by kworker/u4:6/30895: 1 lock held by syz-executor.3/23629: #0: ffffffff8a79bdb0 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x270 net/core/dev.c:1797 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1146 Comm: khungtaskd Not tainted 5.7.0-rc6-next-20200522-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+0x18f/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+0x1e6/0x221 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xfa3/0x14f0 kernel/hung_task.c:339 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:293 kthread+0x3b5/0x4a0 kernel/kthread.c:291 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 172 Comm: kworker/u4:3 Not tainted 5.7.0-rc6-next-20200522-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:batadv_iv_ogm_schedule_buff+0xc50/0x1270 net/batman-adv/bat_iv_ogm.c:843 Code: 8d 0f 84 25 02 00 00 e8 de 57 b2 f9 48 8d 7b 70 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 2f 05 00 00 48 8b 04 24 48 8b 6b 70 <80> 38 00 0f 85 28 05 00 00 49 3b 6f 70 75 a7 e8 ac 57 b2 f9 48 8d RSP: 0000:ffffc900015d7bb0 EFLAGS: 00000246 RAX: ffffed1012b3d10e RBX: ffff8880a326b000 RCX: ffffffff87c15174 RDX: 0000000000000000 RSI: ffffffff87c14f82 RDI: ffff8880a326b070 RBP: 0000000000000000 R08: ffff8880a8e6c140 R09: ffffed1013d03906 R10: ffff88809e81c82b R11: ffffed1013d03905 R12: dffffc0000000000 R13: 0000000000000007 R14: 0000000000000005 R15: ffff8880959e8800 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69c6523000 CR3: 00000000936af000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_iv_ogm_orig_dump+0xce0/0xce0 net/batman-adv/bat_iv_ogm.c:2108 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x5c8/0x7c0 net/batman-adv/bat_iv_ogm.c:1722 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268 lock_release+0x800/0x800 kernel/locking/lockdep.c:4714 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1359 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x16a0/0x16a0 kernel/workqueue.c:2273 kthread+0x3b5/0x4a0 kernel/kthread.c:291 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351