syzbot


INFO: task hung in __tun_chr_ioctl

Status: upstream: reported on 2024/05/22 06:29
Reported-by: syzbot+930abbbea4b72c328531@syzkaller.appspotmail.com
First crash: 24d, last: 4d21h
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in __tun_chr_ioctl (4) net 1 437d 437d 0/27 auto-obsoleted due to no activity on 2023/07/04 14:00
upstream INFO: task hung in __tun_chr_ioctl net 2 2047d 2280d 0/27 closed as dup on 2018/03/19 06:35
linux-5.15 INFO: task hung in __tun_chr_ioctl 1 8d23h 8d23h 0/3 upstream: reported on 2024/06/06 21:32
upstream INFO: task hung in __tun_chr_ioctl (5) net 1 141d 141d 0/27 auto-obsoleted due to no activity on 2024/04/24 22:34
upstream INFO: task hung in __tun_chr_ioctl (6) net 45 5d01h 8d15h 0/27 upstream: reported on 2024/06/07 06:03
upstream INFO: task hung in __tun_chr_ioctl (3) net 2 629d 717d 0/27 auto-obsoleted due to no activity on 2023/01/03 09:42
upstream INFO: task hung in __tun_chr_ioctl (2) wireguard 1 1081d 1081d 0/27 auto-closed as invalid on 2021/09/27 23:09

Sample crash report:
INFO: task syz-executor.1:4836 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:27560 pid:4836  ppid:3574   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x465/0x2430 drivers/net/tun.c:3101
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc72a27cf69
RSP: 002b:00007fc72af4c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc72a3b3f80 RCX: 00007fc72a27cf69
RDX: 0000000020000080 RSI: 00000000400454ca RDI: 0000000000000003
RBP: 00007fc72a2da6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc72a3b3f80 R15: 00007ffcd95becb8
 </TASK>
INFO: task syz-executor.1:4837 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:27560 pid:4837  ppid:3574   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 __tun_chr_ioctl+0x465/0x2430 drivers/net/tun.c:3101
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc72a27cf69
RSP: 002b:00007fc72af2b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc72a3b4050 RCX: 00007fc72a27cf69
RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000004
RBP: 00007fc72a2da6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fc72a3b4050 R15: 00007ffcd95becb8
 </TASK>
INFO: task syz-executor.1:4838 blocked for more than 144 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_sec

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/11 00:11 linux-6.1.y 88690811da69 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/31 18:35 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/28 23:38 linux-6.1.y 88690811da69 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/27 17:05 linux-6.1.y 88690811da69 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/24 13:53 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/22 06:37 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
2024/05/22 06:28 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in __tun_chr_ioctl
* Struck through repros no longer work on HEAD.