syzbot


INFO: task hung in tun_chr_close (4)

Status: upstream: reported on 2023/01/18 07:05
Reported-by: syzbot+4d107adbee80326ca85c@syzkaller.appspotmail.com
First crash: 514d, last: 486d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in tun_chr_close 25 3d18h 88d 0/3 upstream: reported on 2024/03/18 08:54
linux-4.19 INFO: task hung in tun_chr_close 1 1403d 1403d 0/1 auto-closed as invalid on 2020/12/09 18:55
upstream INFO: task hung in tun_chr_close (4) net syz unreliable error 14 944d 1005d 0/27 auto-closed as invalid on 2022/09/18 21:51
upstream INFO: task hung in tun_chr_close net 5 1729d 2310d 0/27 closed as dup on 2018/02/16 08:24
linux-4.19 INFO: task hung in tun_chr_close (3) 1 680d 680d 0/1 auto-obsoleted due to no activity on 2022/12/03 04:48
linux-6.1 INFO: task hung in tun_chr_close 24 2h45m 25d 0/3 upstream: reported on 2024/05/21 01:17
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1747 25m 1939d 0/27 upstream: reported C repro on 2019/02/22 17:00
android-49 INFO: task hung in tun_chr_close 1 2225d 2225d 0/3 auto-closed as invalid on 2019/02/22 14:33
linux-4.19 INFO: task hung in tun_chr_close (2) 6 892d 986d 0/1 auto-closed as invalid on 2022/05/04 09:03
upstream INFO: task hung in tun_chr_close (3) net 1 1116d 1116d 0/27 auto-closed as invalid on 2021/08/23 13:06
android-44 INFO: task hung in tun_chr_close 1 2234d 2234d 0/2 auto-closed as invalid on 2019/02/22 15:23
upstream INFO: task hung in tun_chr_close (2) net 7 1225d 1446d 0/27 auto-closed as invalid on 2021/05/17 11:47

Sample crash report:
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
Bluetooth: hci0: command 0x1009 tx timeout
Bluetooth: hci0: command 0x0c14 tx timeout
Bluetooth: hci0: unexpected event for opcode 0x0c14
INFO: task syz-executor.0:5227 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
Bluetooth: hci0: command 0x0409 tx timeout
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D27536  5227   2930 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
Bluetooth: hci2: command 0x0409 tx timeout
Bluetooth: hci0: command 0x041b tx timeout
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
Bluetooth: hci2: command 0x041b tx timeout
Bluetooth: hci0: command 0x040f tx timeout
 tun_detach drivers/net/tun.c:759 [inline]
 tun_chr_close+0x3a/0x180 drivers/net/tun.c:3323
Bluetooth: hci2: command 0x040f tx timeout
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
Bluetooth: hci0: command 0x0419 tx timeout
Bluetooth: hci1: command 0x0409 tx timeout
Bluetooth: hci2: command 0x0419 tx timeout
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/14 18:48 linux-4.19.y 3f8a27f9e27b e62ba3c1 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tun_chr_close
2023/01/28 15:30 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tun_chr_close
2023/01/18 07:05 linux-4.19.y 3f8a27f9e27b 42660d9e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in tun_chr_close
* Struck through repros no longer work on HEAD.