syzbot


INFO: task hung in synchronize_rcu (4)

Status: upstream: reported C repro on 2023/05/04 02:01
Subsystems: fs net
[Documentation on labels]
Reported-by: syzbot+222aa26d0a5dbc2e84fe@syzkaller.appspotmail.com
First crash: 481d, last: 5h46m
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 515d 1452d 22/27 fixed on 2023/02/24 13:50
linux-6.1 INFO: task hung in synchronize_rcu origin:lts-only C unreliable 7 3d21h 470d 0/3 upstream: reported C repro on 2023/04/01 04:49
android-49 INFO: task hung in synchronize_rcu 1 1688d 1688d 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 529d 1711d 0/1 upstream: reported C repro on 2019/11/07 04:32
linux-4.19 INFO: task hung in synchronize_rcu C error 70 518d 1709d 0/1 upstream: reported C repro on 2019/11/08 21:27
linux-5.15 INFO: task hung in synchronize_rcu 1 455d 455d 0/3 auto-obsoleted due to no activity on 2023/08/14 02:05
upstream INFO: task hung in synchronize_rcu syz done 1206 1688d 1714d 14/27 fixed on 2019/11/29 15:48
linux-5.15 INFO: task hung in synchronize_rcu (2) 1 143d 143d 0/3 auto-obsoleted due to no activity on 2024/05/31 13:53
android-414 INFO: task hung in synchronize_rcu 1 1706d 1706d 0/1 auto-closed as invalid on 2020/03/10 10:42
upstream INFO: task hung in synchronize_rcu (2) trace 8 1687d 1688d 0/27 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

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 (424):
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/07/14 02:07 upstream d0d0cd380055 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/14 00:52 upstream d0d0cd380055 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/13 18:11 upstream 528dd46d0fc3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/13 05:22 upstream 528dd46d0fc3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/12 21:40 upstream e091caf99f3a eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/12 16:52 upstream 43db1e03c086 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/12 12:49 upstream 43db1e03c086 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/12 10:08 upstream 8a18fda0febb eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/12 02:19 upstream 8a18fda0febb eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/10 19:06 upstream a19ea421490d e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/10 10:52 upstream 34afb82a3c67 e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/09 19:42 upstream 34afb82a3c67 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/09 09:54 upstream 4376e966ecb7 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/09 08:18 upstream 4376e966ecb7 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/09 01:45 upstream 4376e966ecb7 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/08 07:21 upstream 256abd8e550c bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/08 04:41 upstream 256abd8e550c bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/08 00:10 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/07 23:00 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/07 20:56 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/07 18:34 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/07 03:58 upstream 22f902dfc51e bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/07 01:24 upstream 22f902dfc51e bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/06 13:31 upstream 1dd28064d416 bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/06 06:39 upstream d270dd21bee0 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/06 00:04 upstream d270dd21bee0 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/05 20:02 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in synchronize_rcu
2024/07/05 17:27 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/05 15:55 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/05 14:44 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/05 12:25 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/05 10:11 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in synchronize_rcu
2024/07/05 02:53 upstream 795c58e4c7fc dc6bbff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/04 14:38 upstream 795c58e4c7fc dc6bbff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in synchronize_rcu
2024/07/04 10:59 upstream 795c58e4c7fc 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/04 01:58 upstream 8a9c6c40432e 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/04 00:39 upstream 8a9c6c40432e 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/03 12:07 upstream e9d22f7a6655 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/03 11:00 upstream e9d22f7a6655 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/03 04:44 upstream e9d22f7a6655 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/01 22:19 upstream 22a40d14b572 b294e901 .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/07/12 14:01 upstream 43db1e03c086 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in synchronize_rcu
2024/07/11 22:44 upstream 9d9a2f29aefd c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in synchronize_rcu
2024/07/08 01:59 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in synchronize_rcu
2024/06/28 09:11 upstream 6d6444ba8205 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 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/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
2024/05/20 03:42 net 4b377b4868ef c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in synchronize_rcu
2024/05/07 22:36 net-next 7824463aaea9 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in synchronize_rcu
2024/07/06 10:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 179264157bba 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: task hung in synchronize_rcu
2024/07/03 03:37 linux-next 82e4255305c5 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/02 16:55 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2024/07/02 14:12 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in synchronize_rcu
2024/06/29 16:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2ea6d07efe53 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb 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
* Struck through repros no longer work on HEAD.