syzbot


INFO: task hung in path_openat

Status: auto-obsoleted due to no activity on 2023/11/09 20:56
Reported-by: syzbot+b5d549d467bbe6809a64@syzkaller.appspotmail.com
First crash: 377d, last: 266d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/06/19 upstream (ToT) 45a3e24f65e9 C Didn't crash
Similar bugs (17)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in path_openat 2 1684d 1717d 0/1 auto-closed as invalid on 2020/01/11 07:40
upstream INFO: task hung in path_openat (4) fuse 1 1455d 1455d 0/26 auto-closed as invalid on 2020/07/28 10:23
upstream INFO: task hung in path_openat (3) fs 4 1615d 1731d 0/26 auto-closed as invalid on 2020/02/19 20:16
linux-6.1 INFO: task hung in path_openat (2) 1 115d 115d 0/3 auto-obsoleted due to no activity on 2024/04/08 11:39
upstream INFO: task hung in path_openat (7) fs 657 20m 565d 0/26 upstream: reported on 2022/10/06 10:29
linux-5.15 INFO: task hung in path_openat (2) 5 1d20h 9d19h 0/3 upstream: reported on 2024/04/14 03:45
linux-4.19 INFO: task hung in path_openat (2) 1 884d 884d 0/1 auto-closed as invalid on 2022/03/21 04:47
linux-4.14 INFO: task hung in path_openat 1 1125d 1125d 0/1 auto-closed as invalid on 2021/07/23 23:26
android-49 INFO: task hung in path_openat 64 1855d 1836d 0/3 auto-closed as invalid on 2019/09/22 08:41
upstream INFO: task hung in path_openat (5) fs 23 1096d 1257d 0/26 auto-closed as invalid on 2021/07/22 20:44
linux-4.19 INFO: task hung in path_openat (3) f2fs jfs 20 461d 621d 0/1 upstream: reported on 2022/08/11 13:14
upstream INFO: task hung in path_openat (6) fs 13 831d 981d 0/26 closed as invalid on 2022/02/07 19:19
android-414 INFO: task hung in path_openat 42 1759d 1837d 0/1 auto-closed as invalid on 2019/10/28 21:04
linux-6.1 INFO: task hung in path_openat 3 283d 385d 0/3 auto-obsoleted due to no activity on 2023/10/23 12:08
linux-6.1 INFO: task hung in path_openat (3) 10 1d21h 9d10h 0/3 upstream: reported on 2024/04/14 13:03
upstream INFO: task hung in path_openat exfat 246 1923d 2213d 0/26 closed as dup on 2018/09/08 15:37
upstream INFO: task hung in path_openat (2) fs 1 1826d 1826d 0/26 closed as invalid on 2019/05/08 13:05
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/02 18:28 17m bisect fix linux-5.15.y error job log (0)
2023/08/01 16:11 4h44m bisect fix linux-5.15.y job log (0) log

Sample crash report:
INFO: task syz-executor135:6569 blocked for more than 143 seconds.
      Not tainted 5.15.117-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor135 state:D stack:25600 pid: 6569 ppid:  3534 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
 __down_write_common kernel/locking/rwsem.c:1284 [inline]
 __down_write kernel/locking/rwsem.c:1293 [inline]
 down_write+0x164/0x170 kernel/locking/rwsem.c:1542
 inode_lock include/linux/fs.h:787 [inline]
 open_last_lookups fs/namei.c:3459 [inline]
 path_openat+0x824/0x2f20 fs/namei.c:3669
 do_filp_open+0x21c/0x460 fs/namei.c:3699
 file_open_name fs/open.c:1156 [inline]
 filp_open+0x25d/0x2c0 fs/open.c:1176
 do_coredump+0x2549/0x31e0 fs/coredump.c:767
 get_signal+0xc06/0x14e0 kernel/signal.c:2875
 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:314
 exc_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x0
RSP: 002b:0000000020000008 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f85fbdedc19
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000600
RBP: 0000000000000000 R08: 0000000020000100 R09: 000000a800000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000697a1
R13: 00007ffebac2a8d0 R14: 00007ffebac2a8c0 R15: 00007ffebac2a8b0
 </TASK>
INFO: task syz-executor135:6657 blocked for more than 146 seconds.
      Not tainted 5.15.117-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor135 state:D stack:22336 pid: 6657 ppid:  3534 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191
 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2662
 try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2710
 ext4_nonda_switch fs/ext4/inode.c:2943 [inline]
 ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2970
 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3776
 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
 ext4_file_write_iter+0x87c/0x1990
 __kernel_write+0x5b1/0xa60 fs/read_write.c:539
 __dump_emit+0x264/0x3a0 fs/coredump.c:875
 dump_user_range+0x91/0x320 fs/coredump.c:949
 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285
 do_coredump+0x1852/0x31e0 fs/coredump.c:826
 get_signal+0xc06/0x14e0 kernel/signal.c:2875
 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:314
 exc_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x0
RSP: 002b:0000000020000308 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00000000000f4240 RCX: 00007f85fbdedc19
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000400000
RBP: 0000000000000000 R08: 0000000020000480 R09: 000000a800000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000006987e
R13: 00007ffebac2a8d0 R14: 00007ffebac2a8c0 R15: 00007ffebac2a8b0
 </TASK>
INFO: task syz-executor135:6953 blocked for more than 149 seconds.
      Not tainted 5.15.117-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor135 state:D stack:25472 pid: 6953 ppid:  3534 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x4590 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157
 __down_write_common kernel/locking/rwsem.c:1284 [inline]
 __down_write kernel/locking/rwsem.c:1293 [inline]
 down_write+0x164/0x170 kernel/locking/rwsem.c:1542
 inode_lock include/linux/fs.h:787 [inline]
 open_last_lookups fs/namei.c:3459 [inline]
 path_openat+0x824/0x2f20 fs/namei.c:3669
 do_filp_open+0x21c/0x460 fs/namei.c:3699

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/19 02:42 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in path_openat
2023/04/28 02:13 linux-5.15.y f48aeeaaa64c 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in path_openat
2023/04/12 01:27 linux-5.15.y d86dfc4d95cd 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in path_openat
* Struck through repros no longer work on HEAD.