syzbot


INFO: task hung in __unix_dgram_recvmsg

Status: auto-closed as invalid on 2021/10/28 21:04
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 499d, last: 490d

Sample crash report:
INFO: task syz-executor.2:31088 blocked for more than 143 seconds.
      Not tainted 5.14.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:29200 pid:31088 ppid:  8469 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4683 [inline]
 __schedule+0x93a/0x26f0 kernel/sched/core.c:5940
 schedule+0xd3/0x270 kernel/sched/core.c:6019
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078
 __mutex_lock_common kernel/locking/mutex.c:1036 [inline]
 __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104
 __unix_dgram_recvmsg+0x226/0xb60 net/unix/af_unix.c:2119
 unix_dgram_bpf_recvmsg+0x630/0xd10 net/unix/unix_bpf.c:71
 unix_dgram_recvmsg net/unix/af_unix.c:2215 [inline]
 unix_seqpacket_recvmsg+0xed/0x150 net/unix/af_unix.c:2088
 sock_recvmsg_nosec net/socket.c:943 [inline]
 sock_recvmsg net/socket.c:961 [inline]
 sock_recvmsg net/socket.c:957 [inline]
 ____sys_recvmsg+0x2c4/0x600 net/socket.c:2611
 ___sys_recvmsg+0x127/0x200 net/socket.c:2653
 __sys_recvmsg+0xe2/0x1a0 net/socket.c:2683
 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+0x44/0xae
RIP: 0033:0x4665e9
RSP: 002b:00007fc1f55bf188 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fff03959c5f R14: 00007fc1f55bf300 R15: 0000000000022000
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 1656 Comm: khungtaskd Not tainted 5.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xd0a/0xfc0 kernel/hung_task.c:295
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 20033 Comm: kworker/u4:9 Not tainted 5.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x0/0x80 kernel/kcov.c:269
Code: 39 fe 72 1f 48 83 c2 01 4c 89 44 38 e8 48 c7 44 38 e0 06 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 <53> 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 00 f0 01 00 48
RSP: 0018:ffffc90001ecfc88 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffff8880278f4978 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d6c1a57
R10: fffffbfff1ad834a R11: 0000000000000000 R12: ffffc90001ecfdb0
R13: 0000000000000000 R14: dffffc0000000000 R15: 000000000000012f
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb787df4000 CR3: 0000000027e98000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rcu_read_lock include/linux/rcupdate.h:688 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline]
 batadv_nc_worker+0x13d/0xe50 net/batman-adv/network-coding.c:715
 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-next-kasan-gce 2021/07/30 20:53 bpf-next f309b4ba989d 6c236867 .config log report info INFO: task hung in __unix_dgram_recvmsg
ci-upstream-bpf-next-kasan-gce 2021/07/23 20:35 bpf-next 724f17b7d45d bc5f1d88 .config log report info INFO: task hung in __unix_dgram_recvmsg
ci-upstream-bpf-next-kasan-gce 2021/07/23 14:01 bpf-next 724f17b7d45d bc5f1d88 .config log report info INFO: task hung in __unix_dgram_recvmsg
ci-upstream-bpf-next-kasan-gce 2021/07/21 12:33 bpf-next c39aa2159974 1b201b48 .config log report info INFO: task hung in __unix_dgram_recvmsg
* Struck through repros no longer work on HEAD.