syzbot


INFO: task hung in raw_release

Status: upstream: reported on 2024/05/24 07:00
Reported-by: syzbot+c040cc3aa2f5fbe32d20@syzkaller.appspotmail.com
First crash: 32d, last: 16d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in raw_release 1 1483d 1483d 0/1 auto-closed as invalid on 2020/09/30 10:18
upstream INFO: task hung in raw_release can 1388 1092d 1630d 0/27 closed as dup on 2021/06/26 09:46
linux-5.15 INFO: task hung in raw_release 1 20d 20d 0/3 upstream: reported on 2024/06/05 05:01
linux-4.19 INFO: task hung in raw_release (2) syz error 4 1168d 1273d 0/1 upstream: reported syz repro on 2020/12/29 11:35

Sample crash report:
INFO: task syz-executor.0:3744 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.0  state:D stack:25688 pid:3744  ppid:3573   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
 raw_release+0x1b4/0x880 net/can/raw.c:392
 __sock_release net/socket.c:654 [inline]
 sock_close+0xcd/0x230 net/socket.c:1400
 __fput+0x3b7/0x890 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f17a467be5a
RSP: 002b:00007ffd5b0580d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00007f17a467be5a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f17a47b5980 R08: 0000001b32c20000 R09: 0000000000000010
R10: 0000000000000018 R11: 0000000000000293 R12: 0000000000010150
R13: 00007f17a47b412c R14: 0000000000000032 R15: 00007f17a47b5980
 </TASK>
INFO: task syz-executor.0:3746 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.0  state:D stack:22592 pid:3746  ppid:3573   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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/08 15:06 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in raw_release
2024/06/08 15:03 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in raw_release
2024/05/24 06:59 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 raw_release
* Struck through repros no longer work on HEAD.