syzbot


INFO: task hung in synchronize_rcu (4)

Status: upstream: reported C repro on 2023/05/04 02:01
Subsystems: net fs
[Documentation on labels]
Reported-by: syzbot+222aa26d0a5dbc2e84fe@syzkaller.appspotmail.com
First crash: 402d, last: 3h07m
Cause bisection: introduced by (bisect log) :
commit 3b5d4ddf8fe1f60082513f94bae586ac80188a03
Author: Martin KaFai Lau <kafai@fb.com>
Date: Wed Mar 9 09:04:50 2022 +0000

  bpf: net: Remove TC_AT_INGRESS_OFFSET and SKB_MONO_DELIVERY_TIME_OFFSET macro

Crash: INFO: task hung in synchronize_rcu (log)
Repro: syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (7)
Title Replies (including bot) Last reply
[syzbot] Monthly fs report (Mar 2024) 0 (1) 2024/03/16 12:09
[syzbot] Monthly fs report (Feb 2024) 0 (1) 2024/02/12 21:31
[syzbot] Monthly fs report (Dec 2023) 0 (1) 2023/12/12 22:02
[syzbot] Monthly fs report (Aug 2023) 0 (1) 2023/08/08 12:55
[syzbot] Monthly fs report (Jul 2023) 0 (1) 2023/07/10 09:36
[syzbot] [fs?] INFO: task hung in synchronize_rcu (4) 2 (4) 2023/05/21 05:04
Re: [syzbot] [fs?] INFO: task hung in synchronize_rcu (4) 4 (4) 2023/05/05 09:49
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in synchronize_rcu (3) C done done 374 435d 1373d 22/26 fixed on 2023/02/24 13:50
linux-6.1 INFO: task hung in synchronize_rcu origin:lts-only C unreliable 5 28d 390d 0/3 upstream: reported C repro on 2023/04/01 04:49
android-49 INFO: task hung in synchronize_rcu 1 1609d 1609d 0/3 auto-closed as invalid on 2020/03/28 16:57
linux-4.14 INFO: task hung in synchronize_rcu vfs C error 162 450d 1631d 0/1 upstream: reported C repro on 2019/11/07 04:32
linux-4.19 INFO: task hung in synchronize_rcu C error 70 439d 1630d 0/1 upstream: reported C repro on 2019/11/08 21:27
linux-5.15 INFO: task hung in synchronize_rcu 1 376d 376d 0/3 auto-obsoleted due to no activity on 2023/08/14 02:05
upstream INFO: task hung in synchronize_rcu syz done 1206 1609d 1635d 14/26 fixed on 2019/11/29 15:48
linux-5.15 INFO: task hung in synchronize_rcu (2) 1 64d 64d 0/3 upstream: reported on 2024/02/21 13:53
android-414 INFO: task hung in synchronize_rcu 1 1627d 1627d 0/1 auto-closed as invalid on 2020/03/10 10:42
upstream INFO: task hung in synchronize_rcu (2) trace 8 1608d 1609d 0/26 closed as invalid on 2019/11/30 16:54
Last patch testing requests (15)
Created Duration User Patch Repo Result
2024/04/21 13:23 22m retest repro upstream report log
2024/04/21 13:23 29m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/20 14:30 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/20 14:30 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/20 14:30 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/14 18:13 22m retest repro upstream report log
2023/08/28 15:24 45m (2) retest repro upstream OK log
2023/08/28 15:24 34m retest repro net-next OK log
2023/08/28 15:24 33m retest repro net-next OK log
2023/08/28 15:24 22m retest repro net OK log
2023/05/25 12:07 18m penguin-kernel@i-love.sakura.ne.jp patch upstream report log
2023/05/25 11:18 22m penguin-kernel@i-love.sakura.ne.jp patch upstream OK log
2023/05/25 10:47 21m penguin-kernel@i-love.sakura.ne.jp patch upstream OK log
2023/05/24 02:02 30m penguin-kernel@i-love.sakura.ne.jp patch upstream report log
2023/05/23 13:13 19m penguin-kernel@i-love.sakura.ne.jp patch upstream error OK

Sample crash report:
INFO: task syz-executor423:5090 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor423 state:D stack:27168 pid:5090  tgid:5090  ppid:5088   flags:0x00000002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747
 exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
 synchronize_rcu_expedited+0x3ff/0x800 kernel/rcu/tree_exp.h:996
 synchronize_rcu+0x2f5/0x3b0 kernel/rcu/tree.c:3568
 vhost_vsock_dev_release+0x179/0x3f0 drivers/vhost/vsock.c:732
 __fput+0x270/0xb70 fs/file_table.c:394
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa8a/0x2ad0 kernel/exit.c:869
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1018
 __do_sys_exit_group kernel/exit.c:1029 [inline]
 __se_sys_exit_group kernel/exit.c:1027 [inline]
 __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1027
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fcb21f40e39
RSP: 002b:00007fffe21659f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcb21f40e39
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007fcb21fbc2b0 R08: ffffffffffffffb8 R09: 00000000000000a0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fcb21fbc2b0
R13: 0000000000000000 R14: 00007fcb21fbcd20 R15: 00007fcb21f11fc0
 </TASK>
INFO: task syz-executor423:5096 blocked for more than 150 seconds.
      Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor423 state:D stack:27392 pid:5096  tgid:5096  ppid:5091   flags:0x00000006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_timeout+0x257/0x290 kernel/time/timer.c:2143
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116
 vhost_worker_flush+0xc5/0x100 drivers/vhost/vhost.c:293
 vhost_dev_flush+0xaa/0x180 drivers/vhost/vhost.c:307
 vhost_vsock_flush drivers/vhost/vsock.c:693 [inline]
 vhost_vsock_dev_ioctl+0x3db/0xb50 drivers/vhost/vsock.c:878
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/27 13:24 upstream fbafc3e621c3 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2023/07/05 16:36 net 3674fbf0451d 80298b6f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in synchronize_rcu
2023/07/05 16:01 net-next ae230642190a 80298b6f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2023/05/20 22:13 net-next dcbe4ea1985d 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2024/04/07 11:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/12/28 18:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/12/27 22:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/12/21 08:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 4f9530a3 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/05/15 07:26 upstream 838a854820ee 2b9ba477 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2023/04/30 01:55 net 6686317855c6 62df2017 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in synchronize_rcu
2024/04/25 18:02 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/04/25 17:59 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/04/25 03:19 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/03/10 11:30 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/01/29 04:10 upstream 4854cf9c61d0 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in synchronize_rcu
2024/01/22 09:10 upstream 4fbbed787267 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2023/12/31 15:38 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2023/12/02 17:22 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2023/09/01 12:18 upstream 99d99825fc07 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/03/13 02:22 upstream 1f440397665f db5b7ff0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in synchronize_rcu
2023/07/29 11:09 upstream ffabf7c73176 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in synchronize_rcu
2023/07/09 14:30 upstream 1c7873e33645 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2023/07/07 09:20 upstream a452483508d7 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2023/06/15 10:19 upstream b6dad5178cea 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2023/06/06 04:39 upstream f8dba31b0a82 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2023/04/09 04:38 upstream a79d5c76f705 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2023/03/20 22:00 upstream 7d31677bb7b1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2023/06/05 15:39 upstream 9561de3a55be a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in synchronize_rcu
2023/06/05 03:07 upstream 6f64a5ebe1dc a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in synchronize_rcu
2023/06/29 15:45 net 3674fbf0451d ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in synchronize_rcu
2023/05/18 11:07 net ab87603b2511 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in synchronize_rcu
2023/10/17 19:20 net-next 7713ec844756 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2023/06/15 12:46 net-next 97c5209b3d37 757d26ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2023/04/20 10:56 net-next a5962e0a8b7b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2024/04/25 23:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a160e1202ca3 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in synchronize_rcu
2024/04/25 19:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a160e1202ca3 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in synchronize_rcu
2024/02/06 12:02 linux-next 23e11d031852 4e988e80 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2024/01/28 02:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/09/16 14:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in synchronize_rcu
2023/06/03 21:01 linux-next 715abedee4cd a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2023/05/23 00:47 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2023/05/21 03:03 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
* Struck through repros no longer work on HEAD.