INFO: task syz-executor.0:11835 blocked for more than 143 seconds. Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27048 pid:11835 ppid: 8456 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:4688 [inline] __schedule+0xb38/0x58c0 kernel/sched/core.c:5945 schedule+0xcf/0x270 kernel/sched/core.c:6024 rwsem_down_write_slowpath+0x7dc/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 raw_release+0x58/0x8a0 net/can/raw.c:354 __sock_release+0xcd/0x280 net/socket.c:599 sock_close+0x18/0x20 net/socket.c:1258 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xbfc/0x2a70 kernel/exit.c:826 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2856 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x16e/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x3e/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007f406ca2e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 000000000056c0f0 RCX: 00000000004665d9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffef181c25f R14: 00007f406ca2e300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:5/1571: #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888143d9b138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc9000631fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:557 #3: ffffffff8c184370 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x430 kernel/rcu/tree.c:4029 1 lock held by khungtaskd/1624: #0: ffffffff8c17afe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by in:imklog/8148: 2 locks held by syz-executor.0/11835: #0: ffff888039ae1710 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #0: ffff888039ae1710 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:598 #1: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: unregister_netdevice_notifier+0x1e/0x170 net/core/dev.c:1949 1 lock held by syz-executor.0/11986: #0: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:470 1 lock held by syz-executor.1/11988: #0: ffffffff8d897750 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1624 Comm: khungtaskd Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x13e/0x1d6 lib/dump_stack.c:129 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xd3b/0xf50 kernel/hung_task.c:339 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 187 Comm: kworker/u4:4 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy9 ieee80211_iface_work RIP: 0010:preempt_count_add+0x4d/0x140 kernel/sched/core.c:5151 Code: b6 14 11 38 d0 7c 08 84 d2 0f 85 e1 00 00 00 8b 15 d8 df 49 0f 65 01 1d b1 e7 b2 7e 85 d2 75 11 65 8b 05 a6 e7 b2 7e 0f b6 c0 <3d> f4 00 00 00 7f 64 65 8b 05 95 e7 b2 7e 25 ff ff ff 7f 39 c3 74 RSP: 0018:ffffc9000105ed50 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffffffff2131cfc RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff8e6e3a36 R09: 0000000000000001 R10: fffff5200020bdd3 R11: 0000000000086087 R12: ffffc9000105ee88 R13: 0000000000000000 R14: ffffc9000105ee40 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe625ce9ab4 CR3: 000000002192c000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x120/0x1ce0 arch/x86/kernel/unwind_orc.c:428 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:431 [inline] ____kasan_kmalloc mm/kasan/common.c:510 [inline] ____kasan_kmalloc mm/kasan/common.c:469 [inline] __kasan_kmalloc+0x9b/0xd0 mm/kasan/common.c:519 kmalloc include/linux/slab.h:595 [inline] ieee802_11_parse_elems_crc+0x121/0xfe0 net/mac80211/util.c:1465 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2030 [inline] ieee80211_bss_info_update+0x45a/0xb30 net/mac80211/scan.c:212 ieee80211_rx_bss_info net/mac80211/ibss.c:1126 [inline] ieee80211_rx_mgmt_probe_beacon+0xc95/0x16c0 net/mac80211/ibss.c:1615 ieee80211_ibss_rx_queued_mgmt+0xd30/0x1610 net/mac80211/ibss.c:1642 ieee80211_iface_work+0x761/0x9e0 net/mac80211/iface.c:1437 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294