syzbot


INFO: task hung in do_renameat2 (2)

Status: upstream: reported on 2024/05/06 01:51
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+39a12f7473ed8066d2ca@syzkaller.appspotmail.com
First crash: 338d, last: 1d21h
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly kernfs report (Aug 2024) 0 (1) 2024/08/13 12:33
[syzbot] Monthly kernfs report (May 2024) 0 (1) 2024/05/08 08:25
[syzbot] [bcachefs?] [kernfs?] INFO: task hung in do_renameat2 (2) 0 (1) 2024/05/06 01:51
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in do_renameat2 origin:lts-only C done 5 23d 191d 0/3 upstream: reported C repro on 2024/05/13 23:09
linux-6.1 INFO: task hung in do_renameat2 1 296d 296d 0/3 auto-obsoleted due to no activity on 2024/05/09 03:01
upstream INFO: task hung in do_renameat2 f2fs 2 442d 477d 0/28 auto-obsoleted due to no activity on 2023/12/04 15:30
linux-6.1 INFO: task hung in do_renameat2 (2) 1 190d 190d 0/3 auto-obsoleted due to no activity on 2024/08/22 17:29

Sample crash report:
INFO: task syz.8.305:8842 blocked for more than 143 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:25312 pid:8842  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
 inode_lock_nested include/linux/fs.h:853 [inline]
 lock_rename fs/namei.c:3202 [inline]
 do_renameat2+0x62c/0x13f0 fs/namei.c:5146
 __do_sys_rename fs/namei.c:5258 [inline]
 __se_sys_rename fs/namei.c:5256 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5256
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f960682d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f9605b36058 RCX: 00007f960597e759
RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000600
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9605b36058 R15: 00007ffdd7fa4cb8
 </TASK>
INFO: task syz.8.305:8848 blocked for more than 144 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:27360 pid:8848  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
 inode_lock_nested include/linux/fs.h:853 [inline]
 lock_rename fs/namei.c:3202 [inline]
 do_renameat2+0x62c/0x13f0 fs/namei.c:5146
 __do_sys_rename fs/namei.c:5258 [inline]
 __se_sys_rename fs/namei.c:5256 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5256
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f960680c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f9605b36130 RCX: 00007f960597e759
RDX: 0000000000000000 RSI: 0000000020000cc0 RDI: 0000000020000100
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9605b36130 R15: 00007ffdd7fa4cb8
 </TASK>
INFO: task syz.8.305:8857 blocked for more than 145 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:27392 pid:8857  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
 inode_lock include/linux/fs.h:818 [inline]
 open_last_lookups fs/namei.c:3732 [inline]
 path_openat+0x89a/0x3590 fs/namei.c:3971
 do_filp_open+0x235/0x490 fs/namei.c:4001
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
 do_sys_open fs/open.c:1430 [inline]
 __do_sys_openat fs/open.c:1446 [inline]
 __se_sys_openat fs/open.c:1441 [inline]
 __x64_sys_openat+0x247/0x2a0 fs/open.c:1441
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f96067eb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f9605b36208 RCX: 00007f960597e759
RDX: 000000000000275a RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f9605b36208 R15: 00007ffdd7fa4cb8
 </TASK>
INFO: task syz.8.305:8858 blocked for more than 145 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:27392 pid:8858  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
 inode_lock include/linux/fs.h:818 [inline]
 open_last_lookups fs/namei.c:3732 [inline]
 path_openat+0x89a/0x3590 fs/namei.c:3971
 do_filp_open+0x235/0x490 fs/namei.c:4001
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
 do_sys_open fs/open.c:1430 [inline]
 __do_sys_creat fs/open.c:1508 [inline]
 __se_sys_creat fs/open.c:1502 [inline]
 __x64_sys_creat+0x123/0x170 fs/open.c:1502
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f96067ca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f9605b362e0 RCX: 00007f960597e759
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000e00
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f9605b362e0 R15: 00007ffdd7fa4cb8
 </TASK>
INFO: task syz.8.305:8861 blocked for more than 145 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:26272 pid:8861  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
 __down_write_common kernel/locking/rwsem.c:1304 [inline]
 __down_write kernel/locking/rwsem.c:1313 [inline]
 down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
 inode_lock_nested include/linux/fs.h:853 [inline]
 filename_create+0x260/0x540 fs/namei.c:4067
 do_mkdirat+0xbd/0x3a0 fs/namei.c:4313
 __do_sys_mkdirat fs/namei.c:4336 [inline]
 __se_sys_mkdirat fs/namei.c:4334 [inline]
 __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4334
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597cff7
RSP: 002b:00007f96067a8e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f96067a8ef0 RCX: 00007f960597cff7
RDX: 00000000000001ff RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 0000000020002040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020002040 R11: 0000000000000246 R12: 0000000020000000
R13: 00007f96067a8eb0 R14: 0000000000000000 R15: 0000000020000480
 </TASK>
INFO: task syz.8.305:8862 blocked for more than 146 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:27392 pid:8862  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
 __down_read_common kernel/locking/rwsem.c:1248 [inline]
 __down_read kernel/locking/rwsem.c:1261 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
 inode_lock_shared include/linux/fs.h:828 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1789
 walk_component+0x2e1/0x410 fs/namei.c:2094
 lookup_last fs/namei.c:2597 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2621
 filename_lookup+0x256/0x610 fs/namei.c:2650
 user_path_at+0x3a/0x60 fs/namei.c:3057
 do_fchmodat fs/open.c:699 [inline]
 __do_sys_chmod fs/open.c:725 [inline]
 __se_sys_chmod fs/open.c:723 [inline]
 __x64_sys_chmod+0xd5/0x1a0 fs/open.c:723
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f9606788038 EFLAGS: 00000246 ORIG_RAX: 000000000000005a
RAX: ffffffffffffffda RBX: 00007f9605b36490 RCX: 00007f960597e759
RDX: 0000000000000000 RSI: 000000000000002c RDI: 0000000020000040
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f9605b36490 R15: 00007ffdd7fa4cb8
 </TASK>
INFO: task syz.8.305:8863 blocked for more than 146 seconds.
      Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.305       state:D stack:27392 pid:8863  tgid:8793  ppid:7550   flags:0x00000004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5328 [inline]
 __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
 __schedule_loop kernel/sched/core.c:6770 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6785
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
 __down_read_common kernel/locking/rwsem.c:1248 [inline]
 __down_read kernel/locking/rwsem.c:1261 [inline]
 down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
 inode_lock_shared include/linux/fs.h:828 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1789
 walk_component+0x2e1/0x410 fs/namei.c:2094
 lookup_last fs/namei.c:2597 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2621
 filename_lookup+0x256/0x610 fs/namei.c:2650
 user_path_at+0x3a/0x60 fs/namei.c:3057
 __do_sys_chdir fs/open.c:561 [inline]
 __se_sys_chdir+0xbc/0x220 fs/open.c:555
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
RSP: 002b:00007f9606767038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007f9605b36568 RCX: 00007f960597e759
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f9605b36568 R15: 00007ffdd7fa4cb8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/30:
 #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
 #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/u8:2/35:
2 locks held by getty/5591:
 #0: ffff8880314df0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
4 locks held by kworker/u8:10/6436:
 #0: ffff888020292148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
 #0: ffff888020292148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
 #1: ffffc90004627d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
 #1: ffffc90004627d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
 #2: ffff88807fbe00e0 (&type->s_umount_key#71){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562
 #3: ffff88805a515df8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102
4 locks held by syz.8.305/8795:
2 locks held by syz.8.305/8842:
 #0: ffff88807fbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:853 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3202 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:5146
2 locks held by syz.8.305/8848:
 #0: ffff88807fbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:853 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3202 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:5146
2 locks held by syz.8.305/8857:
 #0: ffff88807fbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock include/linux/fs.h:818 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: open_last_lookups fs/namei.c:3732 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: path_openat+0x89a/0x3590 fs/namei.c:3971
2 locks held by syz.8.305/8858:
 #0: ffff88807fbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock include/linux/fs.h:818 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: open_last_lookups fs/namei.c:3732 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: path_openat+0x89a/0x3590 fs/namei.c:3971
2 locks held by syz.8.305/8861:
 #0: ffff88807fbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:853 [inline]
 #1: ffff88805a5161a8 (&type->i_mutex_dir_key#11/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4067
1 lock held by syz.8.305/8862:
 #0: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:828 [inline]
 #0: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1789
1 lock held by syz.8.305/8863:
 #0: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:828 [inline]
 #0: ffff88805a5161a8 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1789
1 lock held by syz-executor/9538:
 #0: ffffffff8e93f4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
 #0: ffffffff8e93f4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
1 lock held by syz.6.469/10332:
 #0: ffffffff8e93f4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
 #0: ffffffff8e93f4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz.0.474/10372:
 #0: ffff88807a00c0e0 (&type->s_umount_key#80/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
 #1: ffffffff8e7e42c8 (wq_pool_mutex){+.+.}-{3:3}, at: apply_wqattrs_lock kernel/workqueue.c:5152 [inline]
 #1: ffffffff8e7e42c8 (wq_pool_mutex){+.+.}-{3:3}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5706
2 locks held by syz.5.475/10382:

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
 watchdog+0xff4/0x1040 kernel/hung_task.c:379
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8795 Comm: syz.8.305 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x3c/0x70 kernel/kcov.c:220
Code: 8b 15 60 e7 6e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 <48> 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39
RSP: 0018:ffffc9000b6ef498 EFLAGS: 00000246
RAX: ffffffff832bc4ae RBX: ffff8880729d1000 RCX: ffff8880287b1e00
RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc9000b6ef690 R08: ffffffff832bc480 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1100e53a200
R13: dffffc0000000000 R14: ffff88805a516060 R15: 0000000000000000
FS:  00007f960684e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f407bed0580 CR3: 0000000078d00000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 dtSplitRoot+0x8de/0x1930 fs/jfs/jfs_dtree.c:1980
 dtSplitUp fs/jfs/jfs_dtree.c:992 [inline]
 dtInsert+0x12cd/0x6c10 fs/jfs/jfs_dtree.c:870
 jfs_create+0x7ba/0xbb0 fs/jfs/namei.c:137
 vfs_create+0x23c/0x3d0 fs/namei.c:3335
 do_mknodat+0x447/0x5b0 fs/namei.c:4226
 __do_sys_mknod fs/namei.c:4259 [inline]
 __se_sys_mknod fs/namei.c:4257 [inline]
 __x64_sys_mknod+0x8c/0xa0 fs/namei.c:4257
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f960597e759
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f960684e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f9605b35f80 RCX: 00007f960597e759
RDX: 0000000000000711 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f96059f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9605b35f80 R15: 00007ffdd7fa4cb8
 </TASK>

Crashes (165):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/19 08:53 upstream 23acd177540d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/11/17 02:06 upstream b5a24181e461 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/11/15 00:10 upstream cfaaa7d010d1 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/11/13 20:47 upstream f1b785f4c787 bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/11/13 02:30 upstream 3022e9d00ebe 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/11/06 07:44 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/31 23:48 upstream 0fc810ae3ae1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/30 07:34 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/23 18:43 upstream c2ee9f594da8 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/18 00:48 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/16 16:18 upstream 2f87d0916ce0 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/09 03:58 upstream 5b7c893ed5ed 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/08 21:17 upstream 5b7c893ed5ed 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/05 14:13 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/05 05:23 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/05 04:15 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/03 05:03 upstream f23aa4c0761a a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/02 03:40 upstream e32cde8d2bd7 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/10/01 22:10 upstream e32cde8d2bd7 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/30 20:25 upstream 9852d85ec9d4 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/28 04:20 upstream 3630400697a3 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/28 04:15 upstream 3630400697a3 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/20 11:50 upstream baeb9a7d8b60 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/18 20:54 upstream bdf56c7580d2 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/15 05:54 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/14 23:58 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/13 18:20 upstream 196145c606d0 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/12 15:54 upstream 77f587896757 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/11 00:05 upstream 8d8d276ba2fb 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/09/03 03:28 upstream 67784a74e258 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/30 10:50 upstream 20371ba12063 ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/29 08:20 upstream 928f79a188aa ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/26 11:29 upstream 5be63fc19fca d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/18 23:39 upstream c3f2d783a459 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/14 12:12 upstream 6b0f8db921ab 07a4d4ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/14 10:27 upstream 6b0f8db921ab 07a4d4ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/12 14:36 upstream 7c626ce4bae1 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/11 08:23 upstream 5189dafa4cf9 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/11 06:45 upstream 34ac1e82e5a7 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/11 02:35 upstream 34ac1e82e5a7 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 23:42 upstream 34ac1e82e5a7 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 17:58 upstream 34ac1e82e5a7 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 11:45 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 10:35 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 08:42 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/08/10 08:25 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/06/17 00:03 upstream 2ccbdf43d5e7 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_renameat2
2024/06/14 11:05 upstream 2ccbdf43d5e7 a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in do_renameat2
2024/05/23 13:54 upstream 8f6a15f095a6 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in do_renameat2
2024/05/05 02:55 upstream 7367539ad4b0 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/05/02 01:43 upstream 0106679839f7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/04/22 21:37 upstream ed30a4a51bb1 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in do_renameat2
2024/07/28 19:16 linux-next 668d33c9ff92 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in do_renameat2
2024/05/21 07:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in do_renameat2
* Struck through repros no longer work on HEAD.