INFO: task syz-executor.3:14716 blocked for more than 143 seconds. Not tainted 5.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24016 pid:14716 ppid: 1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5285 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7d4/0x10c0 kernel/locking/mutex.c:1104 tun_detach drivers/net/tun.c:684 [inline] tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397 __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/0x2a60 kernel/exit.c:826 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2835 arch_do_signal_or_restart+0x2a8/0x1eb0 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+0x171/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+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41956c RSP: 002b:00007ffc25e8a720 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 0000000000000028 RBX: 00000000014a4320 RCX: 000000000041956c RDX: 0000000000000028 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc25e8a774 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00000000014a4370 R14: 0000000000000003 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/0:2/8: #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff88802ae4a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc90000cefda8 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 #2: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xa3/0x1340 net/ipv6/addrconf.c:4031 2 locks held by kworker/1:1/36: #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888011073538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc90000e77da8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 2 locks held by kworker/u4:3/121: 4 locks held by kworker/u4:5/1276: #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888143f95138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc90004f77da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 #2: ffffffff8d690810 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:557 #3: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x6fa/0xa80 net/core/dev.c:10561 1 lock held by khungtaskd/1619: #0: ffffffff8bf76860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by in:imklog/8119: #0: ffff888016c440f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 2 locks held by syz-executor.1/14577: #0: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397 #1: ffffffff8bf7fa68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8bf7fa68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x27e/0x620 kernel/rcu/tree_exp.h:837 1 lock held by syz-executor.2/14581: #0: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x6fa/0xa80 net/core/dev.c:10561 1 lock held by syz-executor.3/14716: #0: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397 3 locks held by kworker/0:17/15994: #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc9000a3a7da8 (xfrm_state_gc_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 #2: ffffffff8bf7fa68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8bf7fa68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x27e/0x620 kernel/rcu/tree_exp.h:837 3 locks held by kworker/0:19/15996: #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888011063d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc9000a3c7da8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 #2: ffffffff8d6a3968 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:250 4 locks held by syz-executor.5/16149: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1619 Comm: khungtaskd Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 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:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16149 Comm: syz-executor.5 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_read_seqcount_retry include/linux/seqlock.h:452 [inline] RIP: 0010:ktime_get+0x2e7/0x470 kernel/time/timekeeping.c:831 Code: 0a bf 3f 00 00 00 44 8b 25 2a d7 94 0a 48 0f af d8 44 89 e6 48 03 1d 20 d7 94 0a e8 f3 93 0f 00 41 83 fc 3f 0f 87 51 87 71 07 94 8d 0f 00 44 8b 35 ad d6 94 0a 89 ee 44 89 f7 e8 b3 94 0f 00 RSP: 0018:ffffc90000007890 EFLAGS: 00000093 RAX: 0000000000000000 RBX: 0033ba06dea10254 RCX: 0000000000000018 RDX: 0000000000000000 RSI: ffff88806ce20380 RDI: 0000000000000003 RBP: 000000000001cc36 R08: 000000000000003f R09: 0000000000000000 R10: ffffffff81647ffd R11: 0000000000000000 R12: 0000000000000018 R13: dffffc0000000000 R14: 000000000001cc36 R15: 00000212733415c7 FS: 00007fea898fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08c15c3008 CR3: 000000006cde4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x414/0xa00 kernel/time/hrtimer.c:1676 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:ieee80211_prepare_and_rx_handle+0x8eb/0x5070 net/mac80211/rx.c:4501 Code: 01 f9 89 ee bf 80 00 00 00 e8 d1 86 01 f9 66 83 c5 80 41 0f 94 c5 e9 ef 18 00 00 e8 2f 7e 01 f9 0f 0b 45 31 ed e8 25 7e 01 f9 <48> ba 00 00 00 00 00 fc ff df 48 03 54 24 20 48 c7 02 00 00 00 00 RSP: 0018:ffffc90000007ad8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000007bc0 RCX: 0000000000000100 RDX: ffff88806ce20380 RSI: ffffffff88728f7b RDI: 0000000000000000 RBP: ffff888039077280 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817a1e58 R11: 0000000000000003 R12: ffff88801ef16c50 R13: 0000000000000001 R14: ffffc90000007d38 R15: ffffc90000007d58 __ieee80211_rx_handle_packet net/mac80211/rx.c:4636 [inline] ieee80211_rx_list+0x930/0x2680 net/mac80211/rx.c:4820 ieee80211_rx_napi+0xf7/0x3d0 net/mac80211/rx.c:4843 ieee80211_rx include/net/mac80211.h:4528 [inline] ieee80211_tasklet_handler+0xd4/0x130 net/mac80211/main.c:235 tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:784 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:schedule_debug kernel/sched/core.c:4892 [inline] RIP: 0010:__schedule+0x129/0x23e0 kernel/sched/core.c:5038 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 55 1c 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 20 4c 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 28 1d 00 00 49 81 3f 9d 6e ac 57 0f 85 7f 22 00 00 49 8d 45 RSP: 0018:ffffc9000b08e960 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffff92001611d34 RDX: 1ffff92001611000 RSI: 0000000000000001 RDI: ffff88806ce203a0 RBP: ffffc9000b08ea28 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817a1e58 R11: 0000000000000001 R12: ffff8880b9c35340 R13: ffff88806ce20380 R14: 0000000000035340 R15: ffffc9000b088000 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5535 irqentry_exit+0x31/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:unwind_next_frame+0xa/0x1ce0 arch/x86/kernel/unwind_orc.c:418 Code: e8 ab 78 85 00 48 8b 04 24 eb bd 48 89 0c 24 e8 1c 78 85 00 48 8b 0c 24 e9 72 ff ff ff 0f 1f 00 48 b8 00 00 00 00 00 fc ff df <41> 57 41 56 49 89 fe 41 55 41 54 55 53 48 81 ec a0 00 00 00 48 c7 RSP: 0018:ffffc9000b08eb08 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: ffffffff81629ca0 RCX: 0000000000000000 RDX: 1ffff92001611d8c RSI: ffffffff87b8d7cc RDI: ffffc9000b08eb10 RBP: ffffc9000b08eb98 R08: ffffffff8ec0f34c R09: 0000000000000001 R10: fffff52001611d6d R11: 0000000000084087 R12: ffffc9000b08ebc8 R13: 0000000000000000 R14: ffff88806ce20380 R15: 0000000000000a20 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:428 [inline] ____kasan_kmalloc mm/kasan/common.c:507 [inline] ____kasan_kmalloc mm/kasan/common.c:466 [inline] __kasan_kmalloc+0x98/0xc0 mm/kasan/common.c:516 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:425 alloc_skb include/linux/skbuff.h:1107 [inline] nlmsg_new include/net/netlink.h:953 [inline] xfrm_send_acquire+0x16e/0xb80 net/xfrm/xfrm_user.c:3105 km_query+0xc5/0x210 net/xfrm/xfrm_state.c:2204 xfrm_state_find+0x2bdc/0x4d10 net/xfrm/xfrm_state.c:1140 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2394 [inline] xfrm_tmpl_resolve+0x2f3/0xd40 net/xfrm/xfrm_policy.c:2439 xfrm_resolve_and_create_bundle+0x123/0x2590 net/xfrm/xfrm_policy.c:2729 xfrm_lookup_with_ifid+0x227/0x20e0 net/xfrm/xfrm_policy.c:3063 xfrm_lookup net/xfrm/xfrm_policy.c:3187 [inline] xfrm_lookup_route+0x36/0x1e0 net/xfrm/xfrm_policy.c:3198 ip_route_output_flow+0x114/0x150 net/ipv4/route.c:2733 udp_sendmsg+0x1a2f/0x2730 net/ipv4/udp.c:1206 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x331/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmmsg+0x195/0x470 net/socket.c:2490 __do_sys_sendmmsg net/socket.c:2519 [inline] __se_sys_sendmmsg net/socket.c:2516 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2516 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 Lost 7 message(s)!