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: 852d, last: 741d
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 (18)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in path_openat 1 2 2159d 2192d 0/1 auto-closed as invalid on 2020/01/11 07:40
linux-6.1 INFO: task hung in path_openat (4) origin:upstream missing-backport 1 C 21 12d 280d 0/3 upstream: reported C repro on 2024/11/04 05:51
upstream INFO: task hung in path_openat (4) fuse 1 1 1930d 1930d 0/29 auto-closed as invalid on 2020/07/28 10:23
upstream INFO: task hung in path_openat (3) fs 1 4 2090d 2206d 0/29 auto-closed as invalid on 2020/02/19 20:16
linux-6.1 INFO: task hung in path_openat (2) 1 1 590d 590d 0/3 auto-obsoleted due to no activity on 2024/04/08 11:39
upstream INFO: task hung in path_openat (7) fs 1 C unreliable 4485 2d10h 1040d 0/29 upstream: reported C repro on 2022/10/06 10:29
linux-5.15 INFO: task hung in path_openat (2) missing-backport origin:upstream 1 C 113 14d 484d 0/3 upstream: reported C repro on 2024/04/14 03:45
linux-4.19 INFO: task hung in path_openat (2) 1 1 1359d 1359d 0/1 auto-closed as invalid on 2022/03/21 04:47
linux-4.14 INFO: task hung in path_openat 1 1 1600d 1600d 0/1 auto-closed as invalid on 2021/07/23 23:26
android-49 INFO: task hung in path_openat 1 64 2330d 2311d 0/3 auto-closed as invalid on 2019/09/22 08:41
upstream INFO: task hung in path_openat (5) fs 1 23 1571d 1732d 0/29 auto-closed as invalid on 2021/07/22 20:44
linux-4.19 INFO: task hung in path_openat (3) f2fs jfs 1 20 937d 1096d 0/1 upstream: reported on 2022/08/11 13:14
upstream INFO: task hung in path_openat (6) fs 1 13 1306d 1456d 0/29 closed as invalid on 2022/02/07 19:19
android-414 INFO: task hung in path_openat 1 42 2234d 2313d 0/1 auto-closed as invalid on 2019/10/28 21:04
linux-6.1 INFO: task hung in path_openat 1 3 758d 860d 0/3 auto-obsoleted due to no activity on 2023/10/23 12:08
linux-6.1 INFO: task hung in path_openat (3) 1 28 360d 484d 0/3 auto-obsoleted due to no activity on 2024/10/25 20:43
upstream INFO: task hung in path_openat exfat 1 246 2398d 2688d 0/29 closed as dup on 2018/09/08 15:37
upstream INFO: task hung in path_openat (2) fs 1 1 2301d 2301d 0/29 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
2023/08/01 16:11 4h44m bisect fix linux-5.15.y OK (0) job log 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 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.