syzbot


INFO: task hung in __tun_chr_ioctl (3)

Status: auto-obsoleted due to no activity on 2023/01/03 09:42
Subsystems: net
[Documentation on labels]
First crash: 660d, last: 572d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in __tun_chr_ioctl (4) net 1 380d 380d 0/26 auto-obsoleted due to no activity on 2023/07/04 14:00
upstream INFO: task hung in __tun_chr_ioctl net 2 1991d 2223d 0/26 closed as dup on 2018/03/19 06:35
upstream INFO: task hung in __tun_chr_ioctl (2) wireguard 1 1025d 1025d 0/26 auto-closed as invalid on 2021/09/27 23:09

Sample crash report:
INFO: task syz-executor.0:13032 blocked for more than 143 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:28408 pid:13032 ppid:  3637 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x64f/0x3da0 drivers/net/tun.c:3068
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f0b3a289109
RSP: 002b:00007f0b3b4cd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0b3a39bf60 RCX: 00007f0b3a289109
RDX: 0000000020000000 RSI: 00000000400454ca RDI: 0000000000000003
RBP: 00007f0b3a2e305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc71e9e37f R14: 00007f0b3b4cd300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.0:13036 blocked for more than 143 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:29512 pid:13036 ppid:  3637 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x1d5/0x3da0 drivers/net/tun.c:3068
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f0b3a289109
RSP: 002b:00007f0b3b4ac168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0b3a39c030 RCX: 00007f0b3a289109
RDX: 0000000020000080 RSI: 00000000801054db RDI: 0000000000000003
RBP: 00007f0b3a2e305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc71e9e37f R14: 00007f0b3b4ac300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.4:13033 blocked for more than 143 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28088 pid:13033 ppid:  3640 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 rtnl_lock net/core/rtnetlink.c:74 [inline]
 rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2488
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2542
 __sys_sendmsg net/socket.c:2571 [inline]
 __do_sys_sendmsg net/socket.c:2580 [inline]
 __se_sys_sendmsg net/socket.c:2578 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2578
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f9d42a89109
RSP: 002b:00007f9d43b19168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9d42b9bf60 RCX: 00007f9d42a89109
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f9d42ae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe2fbb484f R14: 00007f9d43b19300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.1:13039 blocked for more than 144 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:28712 pid:13039 ppid:  3641 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 ipv6_route_ioctl+0x3c7/0x570 net/ipv6/route.c:4464
 inet6_ioctl+0x242/0x280 net/ipv6/af_inet6.c:570
 sock_do_ioctl+0xcc/0x230 net/socket.c:1169
 sock_ioctl+0x2f1/0x640 net/socket.c:1286
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f6e1fa89109
RSP: 002b:00007f6e20c94168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6e1fb9bf60 RCX: 00007f6e1fa89109
RDX: 0000000020000040 RSI: 000000000000890b RDI: 0000000000000009
RBP: 00007f6e1fae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff3ee7d21f R14: 00007f6e20c94300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.1:13042 blocked for more than 144 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:29016 pid:13042 ppid:  3641 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 dev_ioctl+0x279/0xed0 net/core/dev_ioctl.c:612
 sock_ioctl+0x537/0x640 net/socket.c:1213
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f6e1fa89109
RSP: 002b:00007f6e20c73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f6e1fb9c030 RCX: 00007f6e1fa89109
RDX: 0000000020000a40 RSI: 00000000000089f8 RDI: 0000000000000004
RBP: 00007f6e1fae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff3ee7d21f R14: 00007f6e20c73300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.5:13059 blocked for more than 144 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:28408 pid:13059 ppid:  3639 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x64f/0x3da0 drivers/net/tun.c:3068
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1fcaa89109
RSP: 002b:00007f1fcbc7e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1fcab9bf60 RCX: 00007f1fcaa89109
RDX: 0000000020000000 RSI: 00000000400454ca RDI: 0000000000000003
RBP: 00007f1fcaae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3f370fdf R14: 00007f1fcbc7e300 R15: 0000000000022000
 </TASK>
INFO: task syz-executor.5:13064 blocked for more than 144 seconds.
      Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5  state:D stack:29512 pid:13064 ppid:  3639 flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5146 [inline]
 __schedule+0xa00/0x4b50 kernel/sched/core.c:6458
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x1d5/0x3da0 drivers/net/tun.c:3068
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1fcaa89109
RSP: 002b:00007f1fcbc5d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1fcab9c030 RCX: 00007f1fcaa89109
RDX: 0000000000000000 RSI: 00000000401054d6 RDI: 0000000000000003
RBP: 00007f1fcaae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe3f370fdf R14: 00007f1fcbc5d300 R15: 0000000000022000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8bd86ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3295:
 #0: ffff8880271f0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
3 locks held by kworker/1:6/6870:
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc90007d77da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
 #2: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4616
3 locks held by kworker/0:10/23691:
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
 #0: ffff88814a429938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
 #1: ffffc90014a07da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
 #2: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4616
1 lock held by syz-executor.0/13032:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x64f/0x3da0 drivers/net/tun.c:3068
1 lock held by syz-executor.0/13036:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x1d5/0x3da0 drivers/net/tun.c:3068
1 lock held by syz-executor.2/13024:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:697 [inline]
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3454
1 lock held by syz-executor.4/13033:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
1 lock held by syz-executor.1/13039:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_route_ioctl+0x3c7/0x570 net/ipv6/route.c:4464
1 lock held by syz-executor.1/13042:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x279/0xed0 net/core/dev_ioctl.c:612
1 lock held by syz-executor.5/13059:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x64f/0x3da0 drivers/net/tun.c:3068
1 lock held by syz-executor.5/13064:
 #0: ffffffff8d58e828 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x1d5/0x3da0 drivers/net/tun.c:3068

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xc22/0xf90 kernel/hung_task.c:378
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13024 Comm: syz-executor.2 Not tainted 5.19.0-rc3-syzkaller-00145-gab84db251c04 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4741 [inline]
RIP: 0010:__lock_acquire+0x517/0x5660 kernel/locking/lockdep.c:5003
Code: 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 b2 10 00 00 0f b6 85 b9 00 00 00 <48> 8b 0c 24 84 c0 41 0f 44 c7 48 c1 e9 03 88 44 24 50 48 b8 00 00
RSP: 0018:ffffc9000cec7598 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff8880b9b39ed8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90680ed9
RBP: ffffffff90680e20 R08: 0000000000000000 R09: ffffffff9067e907
R10: fffffbfff20cfd20 R11: 0000000000000001 R12: ffff88804a2d0a88
R13: ffff88804a2d0000 R14: 0000000000040000 R15: 0000000000000002
FS:  0000555555cf6400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c2432e9c60 CR3: 0000000076d25000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire kernel/locking/lockdep.c:5665 [inline]
 lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
 _raw_spin_lock_nested+0x30/0x40 kernel/locking/spinlock.c:378
 raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544
 raw_spin_rq_lock kernel/sched/sched.h:1304 [inline]
 _raw_spin_rq_lock_irqsave kernel/sched/sched.h:1323 [inline]
 rq_lock_irqsave kernel/sched/sched.h:1586 [inline]
 update_blocked_averages+0x77/0x1c00 kernel/sched/fair.c:8265
 newidle_balance+0x491/0x1190 kernel/sched/fair.c:10925
 pick_next_task_fair+0x96/0xe20 kernel/sched/fair.c:7356
 __pick_next_task kernel/sched/core.c:5768 [inline]
 pick_next_task kernel/sched/core.c:5843 [inline]
 __schedule+0x3af/0x4b50 kernel/sched/core.c:6422
 schedule+0xd2/0x1f0 kernel/sched/core.c:6530
 schedule_hrtimeout_range_clock+0x195/0x390 kernel/time/hrtimer.c:2305
 usleep_range_state+0x129/0x1b0 kernel/time/timer.c:2132
 usleep_range include/linux/delay.h:67 [inline]
 napi_disable+0xff/0x120 net/core/dev.c:6402
 tun_napi_disable drivers/net/tun.c:285 [inline]
 __tun_detach+0x165/0x1440 drivers/net/tun.c:643
 tun_detach drivers/net/tun.c:700 [inline]
 tun_chr_close+0xc4/0x180 drivers/net/tun.c:3454
 __fput+0x277/0x9d0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fb6e363bd4b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffda46703e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb6e363bd4b
RDX: 00007fb6e37a0310 RSI: ffffffffffffffff RDI: 0000000000000003
RBP: 00007fb6e379d960 R08: 0000000000000000 R09: 00007fb6e37a0318
R10: 00007ffda46704e0 R11: 0000000000000293 R12: 000000000015d2a7
R13: 00007ffda46704e0 R14: 00007fb6e379bf60 R15: 0000000000000032
 </TASK>
----------------
Code disassembly (best guess), 5 bytes skipped:
   0:	df 48 89             	fisttps -0x77(%rax)
   3:	f9                   	stc
   4:	48 c1 e9 03          	shr    $0x3,%rcx
   8:	0f b6 04 01          	movzbl (%rcx,%rax,1),%eax
   c:	48 89 f9             	mov    %rdi,%rcx
   f:	83 e1 07             	and    $0x7,%ecx
  12:	38 c8                	cmp    %cl,%al
  14:	7f 08                	jg     0x1e
  16:	84 c0                	test   %al,%al
  18:	0f 85 b2 10 00 00    	jne    0x10d0
  1e:	0f b6 85 b9 00 00 00 	movzbl 0xb9(%rbp),%eax
* 25:	48 8b 0c 24          	mov    (%rsp),%rcx <-- trapping instruction
  29:	84 c0                	test   %al,%al
  2b:	41 0f 44 c7          	cmove  %r15d,%eax
  2f:	48 c1 e9 03          	shr    $0x3,%rcx
  33:	88 44 24 50          	mov    %al,0x50(%rsp)
  37:	48                   	rex.W
  38:	b8                   	.byte 0xb8

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/29 03:57 net-old ab84db251c04 496a8536 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in __tun_chr_ioctl
2022/09/25 08:36 net-next-old 9258b8b1be2e 0042f2b4 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in __tun_chr_ioctl
* Struck through repros no longer work on HEAD.