INFO: task syz-executor.5:13679 blocked for more than 143 seconds. Not tainted 5.2.0+ #67 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27384 13679 9191 0x80004002 Call Trace: context_switch kernel/sched/core.c:3254 [inline] __schedule+0x755/0x1580 kernel/sched/core.c:3880 schedule+0xa8/0x270 kernel/sched/core.c:3944 rwsem_down_write_slowpath+0x708/0xf60 kernel/locking/rwsem.c:1198 __down_write kernel/locking/rwsem.c:1349 [inline] down_write+0x13c/0x150 kernel/locking/rwsem.c:1485 unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 bcm_release+0x93/0x5e0 net/can/bcm.c:1525 __sock_release+0xce/0x280 net/socket.c:590 sock_close+0x1e/0x30 net/socket.c:1268 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x92f/0x2ea0 kernel/exit.c:877 do_group_exit+0x135/0x360 kernel/exit.c:981 get_signal+0x47c/0x2500 kernel/signal.c:2728 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: Bad RIP value. RSP: 002b:00007fd8c6653c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd8c66546d4 R13: 00000000004c845d R14: 00000000004def28 R15: 00000000ffffffff Showing all locks held in the system: 3 locks held by kworker/u4:2/26: 1 lock held by khungtaskd/1053: #0: 000000001aeac2e3 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5257 1 lock held by rsyslogd/9047: #0: 00000000129ab179 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9137: #0: 000000006554da6b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000002e63031 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9138: #0: 00000000eb544c6c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003976db72 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9139: #0: 00000000e3767115 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b6cb9da5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9140: #0: 0000000033b69d22 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000328186f4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9141: #0: 000000007a3aae08 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f16272ee (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9142: #0: 0000000095c4d068 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003693dc76 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9143: #0: 00000000344f8eae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001d71c4e6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by kworker/u4:8/10686: 2 locks held by syz-executor.5/13679: #0: 000000002d66a978 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 000000002d66a978 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:589 #1: 0000000084f30551 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x390 net/core/dev.c:1713 1 lock held by syz-executor.5/15256: #0: 0000000084f30551 (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1644 1 lock held by syz-executor.5/15259: #0: 0000000084f30551 (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1644 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1053 Comm: khungtaskd Not tainted 5.2.0+ #67 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x9d0/0xef0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10686 Comm: kworker/u4:8 Not tainted 5.2.0+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_memory_region+0x14/0x1a0 mm/kasan/generic.c:191 Code: 89 e5 e8 ff 9c 8a 05 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 0f 84 34 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 55 <0f> b6 d2 48 39 c7 48 89 e5 41 55 41 54 53 0f 86 07 01 00 00 4c 8d RSP: 0018:ffff888065c47b18 EFLAGS: 00000002 RAX: ffff7fffffffffff RBX: 000000000000056f RCX: ffffffff81588b1c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8a53baa8 RBP: ffff888065c47b28 R08: 1ffffffff14a7740 R09: fffffbfff14a7741 R10: ffff888068b42c20 R11: ffff888068b42340 R12: 00000000ccb00c5c R13: a7b91d2781928fa6 R14: ffffffff89a529b0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c423347000 CR3: 000000008a076000 CR4: 00000000001406f0 Call Trace: test_bit include/asm-generic/bitops-instrumented.h:237 [inline] hlock_class kernel/locking/lockdep.c:163 [inline] __lock_acquire+0x19fc/0x4c30 kernel/locking/lockdep.c:3876 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4413 rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:592 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0x117/0x760 net/batman-adv/network-coding.c:718 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352