INFO: task syz-executor.1:24823 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26992 pid:24823 ppid: 23804 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 tun_detach drivers/net/tun.c:684 [inline] tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 __fput+0x3fe/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 get_signal+0x2014/0x20c0 kernel/signal.c:2641 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:302 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc9148e3709 RSP: 002b:00007fc911e5a188 EFLAGS: 00000246 ORIG_RAX: 000000000000010f RAX: 0000000000000001 RBX: 00007fc9149e7f60 RCX: 00007fc9148e3709 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020002700 RBP: 00007fc91493dcb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd56437d4f R14: 00007fc911e5a300 R15: 0000000000022000 INFO: task syz-executor.4:24842 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27312 pid:24842 ppid: 23803 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 devinet_ioctl+0x22c/0x1d10 net/ipv4/devinet.c:1066 inet_ioctl+0x32d/0x400 net/ipv4/af_inet.c:971 sock_do_ioctl+0x11c/0x5b0 net/socket.c:1118 sock_ioctl+0x4f7/0x990 net/socket.c:1235 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb607689709 RSP: 002b:00007fb604bbe188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb60778e0e0 RCX: 00007fb607689709 RDX: 00000000200000c0 RSI: 0000000000008914 RDI: 0000000000000003 RBP: 00007fb6076e3cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0d3cf4ff R14: 00007fb604bbe300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/1:0/20: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000da7d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 1 lock held by khungtaskd/27: #0: ffffffff8c91c200 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:5/1192: #0: ffff8880124d3138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900048bfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d94fc70 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:553 #3: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: tc_action_net_exit include/net/act_api.h:155 [inline] #3: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: gate_exit_net+0x2c/0x100 net/sched/act_gate.c:624 1 lock held by in:imklog/6225: #0: ffff8880269bd270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by kworker/1:4/7652: #0: ffff888147948138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900056bfd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xdb/0x1d10 net/ipv6/addrconf.c:4047 3 locks held by kworker/1:5/7994: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000e1e7d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 2 locks held by agetty/10808: #0: ffff8880342ae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90005efb2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 3 locks held by kworker/0:8/11149: #0: ffff888011065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90004e6fd20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7a/0x800 net/wireless/reg.c:2423 2 locks held by kworker/0:15/13697: #0: ffff888011066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000a61fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 2 locks held by kworker/u4:7/13961: 3 locks held by kworker/u4:11/14719: #0: ffff888140b8b138 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc900044b7d20 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xbc/0x660 net/wireless/mlme.c:842 3 locks held by kworker/0:0/22794: #0: ffff888147948138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90004437d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xdb/0x1d10 net/ipv6/addrconf.c:4047 1 lock held by syz-executor.1/24823: #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 1 lock held by syz-executor.3/24833: #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xafa/0xcf0 net/core/dev.c:10594 1 lock held by syz-executor.4/24840: #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xafa/0xcf0 net/core/dev.c:10594 1 lock held by syz-executor.4/24842: #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x22c/0x1d10 net/ipv4/devinet.c:1066 2 locks held by syz-executor.4/24845: #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d95b8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 #1: ffffffff8c9209e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9209e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x750 kernel/rcu/tree_exp.h:837 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc2-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc54/0xca0 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2966 Comm: systemd-journal Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline] RIP: 0010:rcu_is_watching+0x58/0xb0 kernel/rcu/tree.c:1121 Code: 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 8f db 60 00 48 c7 c3 08 25 03 00 49 03 1e 48 89 df be 04 00 00 00 e8 18 dd 60 00 <48> 89 d8 48 c1 e8 03 42 8a 04 38 84 c0 75 1a 8b 03 65 ff 0d 48 fb RSP: 0018:ffffc90002bafec8 EFLAGS: 00000256 RAX: 1ffffffff1871201 RBX: ffff8880b9c32508 RCX: ffffffff816cf468 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b9c32508 RBP: ffffc90002baff48 R08: dffffc0000000000 R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c3897d0 R15: dffffc0000000000 FS: 00007fe9a003d8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe99d49e000 CR3: 000000001a753000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rcu_read_lock include/linux/rcupdate.h:688 [inline] __task_pid_nr_ns+0x2c/0x3c0 kernel/pid.c:497 task_tgid_vnr include/linux/sched.h:1590 [inline] __do_sys_getpid+0x1a/0x20 kernel/sys.c:926 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe99f2d5f17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffe866155f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 000055eaed5261e0 RCX: 00007fe99f2d5f17 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 000055eaed5261e0 RBP: 0000000000000b96 R08: 00007ffe86728080 R09: 0000000000000000 R10: 00007ffe867280a8 R11: 0000000000000202 R12: ffffffffffffffff R13: 00007ffe86615688 R14: 000055eaec936958 R15: 0005ccaab17c59f9 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 9: 74 08 je 0x13 b: 4c 89 f7 mov %r14,%rdi e: e8 8f db 60 00 callq 0x60dba2 13: 48 c7 c3 08 25 03 00 mov $0x32508,%rbx 1a: 49 03 1e add (%r14),%rbx 1d: 48 89 df mov %rbx,%rdi 20: be 04 00 00 00 mov $0x4,%esi 25: e8 18 dd 60 00 callq 0x60dd42 * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 42 8a 04 38 mov (%rax,%r15,1),%al 35: 84 c0 test %al,%al 37: 75 1a jne 0x53 39: 8b 03 mov (%rbx),%eax 3b: 65 gs 3c: ff .byte 0xff 3d: 0d .byte 0xd 3e: 48 fb rex.W sti