syzbot


INFO: task hung in __tun_chr_ioctl

Status: upstream: reported on 2024/06/06 21:32
Reported-by: syzbot+76d4cd31fb735ca7d46a@syzkaller.appspotmail.com
First crash: 12d, last: 12d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in __tun_chr_ioctl 8 2d06h 28d 0/3 upstream: reported on 2024/05/22 06:29
upstream INFO: task hung in __tun_chr_ioctl (4) net 1 441d 441d 0/27 auto-obsoleted due to no activity on 2023/07/04 14:00
upstream INFO: task hung in __tun_chr_ioctl net 2 2051d 2284d 0/27 closed as dup on 2018/03/19 06:35
upstream INFO: task hung in __tun_chr_ioctl (5) net 1 145d 145d 0/27 auto-obsoleted due to no activity on 2024/04/24 22:34
upstream INFO: task hung in __tun_chr_ioctl (6) net 52 2d19h 12d 0/27 upstream: reported on 2024/06/07 06:03
upstream INFO: task hung in __tun_chr_ioctl (3) net 2 633d 721d 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 1085d 1085d 0/27 auto-closed as invalid on 2021/09/27 23:09

Sample crash report:
INFO: task syz-executor.0:3845 blocked for more than 143 seconds.
      Not tainted 5.15.160-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:27416 pid: 3845 ppid:  3540 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 __tun_chr_ioctl+0x460/0x2270 drivers/net/tun.c:3049
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc5b794bf69
RSP: 002b:00007fc5b64830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc5b7a83120 RCX: 00007fc5b794bf69
RDX: 0000000020000100 RSI: 00000000400454ca RDI: 0000000000000007

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/06 21:32 linux-5.15.y c61bd26ae81a 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in __tun_chr_ioctl
* Struck through repros no longer work on HEAD.