INFO: task syz-executor.2:5693 blocked for more than 143 seconds. Not tainted 5.1.0-rc3+ #156 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26368 5693 7853 0x80000006 Call Trace: context_switch kernel/sched/core.c:2877 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3518 schedule+0x92/0x180 kernel/sched/core.c:3562 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:582 [inline] rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:611 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 unregister_netdevice_notifier+0x7e/0x3a0 net/core/dev.c:1703 bcm_release+0x93/0x5d0 net/can/bcm.c:1525 __sock_release+0xd3/0x2b0 net/socket.c:599 sock_close+0x1b/0x30 net/socket.c:1247 __fput+0x2e5/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x90a/0x2fa0 kernel/exit.c:876 do_group_exit+0x135/0x370 kernel/exit.c:980 get_signal+0x399/0x1d50 kernel/signal.c:2577 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4582b9 Code: Bad RIP value. RSP: 002b:00007f88322f2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 0000000000000003 RCX: 00000000004582b9 RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000001d RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f88322f36d4 R13: 00000000004c6622 R14: 00000000004dbc90 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by ksoftirqd/1/16: 3 locks held by kworker/u4:3/474: #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 0000000068330bdb ((wq_completion)netns){+.+.}, at: process_one_work+0x87e/0x1790 kernel/workqueue.c:2240 #1: 000000002f11872d (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1790 kernel/workqueue.c:2244 #2: 00000000aca9cd47 (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:519 1 lock held by khungtaskd/1041: #0: 00000000ee8e4cf5 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5061 2 locks held by getty/7812: #0: 00000000c0ebfd84 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f8fd113e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7813: #0: 0000000083aab176 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e1230f40 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7814: #0: 0000000032f024fd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003bde3ca8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7815: #0: 00000000fcae04f3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d9391452 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7816: #0: 00000000ea81cef4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b25c8fc0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7817: #0: 0000000093d3457f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000005783f7a2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/7818: #0: 000000007ee8280d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b4f9f6d7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.2/5693: #0: 00000000620a79d6 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:769 [inline] #0: 00000000620a79d6 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2b0 net/socket.c:598 #1: 00000000aca9cd47 (pernet_ops_rwsem){++++}, at: unregister_netdevice_notifier+0x7e/0x3a0 net/core/dev.c:1703 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1041 Comm: khungtaskd Not tainted 5.1.0-rc3+ #156 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+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:204 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:288 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.1.0-rc3+ #156 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame.part.0+0x332/0xa20 arch/x86/kernel/unwind_frame.c:383 Code: 39 d0 76 15 80 3d a2 6f 2d 08 00 0f 84 39 0e 00 00 48 89 df e8 df fb ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 14 02 00 00 c7 03 00 00 00 00 RSP: 0018:ffff8880aa277318 EFLAGS: 00000a06 RAX: dffffc0000000000 RBX: ffff8880aa2773f0 RCX: ffff8880aa2773a0 RDX: 1ffff1101544ee7e RSI: 1ffff1101544d04b RDI: ffff8880aa277fe0 RBP: ffff8880aa2773c8 R08: 0000000000000001 R09: ffff8880aa277448 R10: ffff8880aa277418 R11: ffff8880aa277428 R12: 1ffff1101544ee68 R13: 0000000000000000 R14: ffff8880aa277f48 R15: ffff8880aa277f58 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c4202ca000 CR3: 00000000974f8000 CR4: 00000000001406f0 Call Trace: unwind_next_frame+0x3b/0x50 arch/x86/kernel/unwind_frame.c:287 __save_stack_trace+0x83/0x100 arch/x86/kernel/stacktrace.c:44 save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60 save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_kmalloc mm/kasan/common.c:497 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:470 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:505 slab_post_alloc_hook mm/slab.h:437 [inline] slab_alloc mm/slab.c:3394 [inline] kmem_cache_alloc+0x11a/0x6f0 mm/slab.c:3556 dst_alloc+0x10e/0x200 net/core/dst.c:109 rt_dst_alloc+0x83/0x3f0 net/ipv4/route.c:1573 ip_route_input_mc net/ipv4/route.c:1647 [inline] ip_route_input_rcu net/ipv4/route.c:2178 [inline] ip_route_input_rcu+0x5c2/0xbc0 net/ipv4/route.c:2137 ip_route_input_noref+0x136/0x280 net/ipv4/route.c:2129 ip_rcv_finish_core.isra.0+0x460/0x1b70 net/ipv4/ip_input.c:338 ip_rcv_finish+0x145/0x300 net/ipv4/ip_input.c:411 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xe8/0x3f0 net/ipv4/ip_input.c:523 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5085 process_backlog+0x206/0x750 net/core/dev.c:5925 napi_poll net/core/dev.c:6348 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6414 __do_softirq+0x266/0x95a kernel/softirq.c:293 run_ksoftirqd kernel/softirq.c:655 [inline] run_ksoftirqd+0x8e/0x110 kernel/softirq.c:647 smpboot_thread_fn+0x6ab/0xa10 kernel/smpboot.c:164 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352