syzbot


INFO: task hung in path_openat

Status: auto-closed as invalid on 2020/01/11 07:40
Reported-by: syzbot+47d57530f2c0cbbc8434@syzkaller.appspotmail.com
First crash: 1881d, last: 1848d
Similar bugs (17)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in path_openat (4) fuse 1 1619d 1619d 0/28 auto-closed as invalid on 2020/07/28 10:23
upstream INFO: task hung in path_openat (3) fs 4 1779d 1895d 0/28 auto-closed as invalid on 2020/02/19 20:16
linux-6.1 INFO: task hung in path_openat (2) 1 279d 279d 0/3 auto-obsoleted due to no activity on 2024/04/08 11:39
upstream INFO: task hung in path_openat (7) fs C unreliable 3712 2h32m 729d 0/28 upstream: reported C repro on 2022/10/06 10:29
linux-5.15 INFO: task hung in path_openat (2) 83 11h05m 173d 0/3 upstream: reported on 2024/04/14 03:45
linux-4.19 INFO: task hung in path_openat (2) 1 1048d 1048d 0/1 auto-closed as invalid on 2022/03/21 04:47
linux-4.14 INFO: task hung in path_openat 1 1289d 1289d 0/1 auto-closed as invalid on 2021/07/23 23:26
android-49 INFO: task hung in path_openat 64 2019d 2000d 0/3 auto-closed as invalid on 2019/09/22 08:41
upstream INFO: task hung in path_openat (5) fs 23 1260d 1421d 0/28 auto-closed as invalid on 2021/07/22 20:44
linux-4.19 INFO: task hung in path_openat (3) f2fs jfs 20 626d 785d 0/1 upstream: reported on 2022/08/11 13:14
upstream INFO: task hung in path_openat (6) fs 13 995d 1145d 0/28 closed as invalid on 2022/02/07 19:19
android-414 INFO: task hung in path_openat 42 1923d 2002d 0/1 auto-closed as invalid on 2019/10/28 21:04
linux-6.1 INFO: task hung in path_openat 3 447d 549d 0/3 auto-obsoleted due to no activity on 2023/10/23 12:08
linux-6.1 INFO: task hung in path_openat (3) 28 49d 173d 0/3 upstream: reported on 2024/04/14 13:03
upstream INFO: task hung in path_openat exfat 246 2087d 2377d 0/28 closed as dup on 2018/09/08 15:37
linux-5.15 INFO: task hung in path_openat C error 3 430d 542d 0/3 auto-obsoleted due to no activity on 2023/11/09 20:56
upstream INFO: task hung in path_openat (2) fs 1 1990d 1990d 0/28 closed as invalid on 2019/05/08 13:05

Sample crash report:
Enabling of bearer <udp:syz0> rejected, failed to enable media
Started in network mode
Own node identity , cluster identity 4711
Failed to set node id, please configure manually
Enabling of bearer <udp:syz0> rejected, failed to enable media
INFO: task syz-executor.1:32124 blocked for more than 140 seconds.
      Not tainted 4.19.72 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D28872 32124   7605 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline]
 rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:618
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write+0x53/0x90 kernel/locking/rwsem.c:72
 inode_lock include/linux/fs.h:747 [inline]
 do_last fs/namei.c:3321 [inline]
 path_openat+0x1477/0x45e0 fs/namei.c:3534
 do_filp_open+0x1a1/0x280 fs/namei.c:3564
 do_sys_open+0x3fe/0x550 fs/open.c:1088
 ksys_open include/linux/syscalls.h:1276 [inline]
 __do_sys_creat fs/open.c:1146 [inline]
 __se_sys_creat fs/open.c:1144 [inline]
 __x64_sys_creat+0x61/0x80 fs/open.c:1144
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
Code: 70 c0 00 48 83 fb 10 7c 54 48 89 f7 48 83 fb 20 0f 87 8d 00 00 00 48 8d 44 1e f0 eb 15 f3 0f 6f 0f 66 0f 74 c8 66 0f d7 d1 0f <bc> d2 75 25 48 83 c7 10 48 39 c7 72 e6 48 89 c7 f3 0f 6f 08 66 0f
RSP: 002b:00007fbba0b2cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004598e9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020001c80
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbba0b2d6d4
R13: 00000000004bff1d R14: 00000000004d1e60 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/1037:
 #0: 000000001eeadb56 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435
2 locks held by rsyslogd/7438:
 #0: 0000000000d9005f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767
 #1: 0000000005dd9d3e (fs_reclaim){+.+.}, at: __debug_check_no_obj_freed lib/debugobjects.c:776 [inline]
 #1: 0000000005dd9d3e (fs_reclaim){+.+.}, at: debug_check_no_obj_freed+0xbe/0x464 lib/debugobjects.c:817
2 locks held by getty/7559:
 #0: 000000002825c869 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000505ce34b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7560:
 #0: 0000000036e85a43 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 000000001fca0682 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7561:
 #0: 00000000a6cc64db (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 000000001acbbc03 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7562:
 #0: 000000008dc25e44 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000469f21f2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7563:
 #0: 0000000047d8107d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000224d3a46 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7564:
 #0: 000000003fed216e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000d4565393 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7565:
 #0: 00000000dc9a0384 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 000000003ed28553 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by syz-executor.1/32124:
 #0: 000000003c69b828 (sb_writers#19){.+.+}, at: sb_start_write include/linux/fs.h:1578 [inline]
 #0: 000000003c69b828 (sb_writers#19){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360
 #1: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: inode_lock include/linux/fs.h:747 [inline]
 #1: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: do_last fs/namei.c:3321 [inline]
 #1: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: path_openat+0x1477/0x45e0 fs/namei.c:3534
1 lock held by syz-executor.1/32125:
 #0: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline]
 #0: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687
1 lock held by syz-executor.1/32126:
 #0: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline]
 #0: 000000004a358a3f (&sb->s_type->i_mutex_key#24){++++}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687

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

NMI backtrace for cpu 1
CPU: 1 PID: 1037 Comm: khungtaskd Not tainted 4.19.72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x9df/0xee0 kernel/hung_task.c:287
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10647 Comm: kworker/u4:6 Not tainted 4.19.72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_preemption_disabled+0x48/0x290 lib/smp_processor_id.c:52
Code: 8b 2d 5c bf db 7c 65 8b 1d f5 2b dc 7c 81 e3 ff ff ff 7f 31 ff 89 de e8 26 96 45 fe 85 db 74 1c e8 9d 94 45 fe e8 98 94 45 fe <44> 89 e8 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 81 94 45
RSP: 0018:ffff88805370fc58 EFLAGS: 00000293
RAX: ffff8880a96da240 RBX: 0000000000000001 RCX: ffffffff8325c1ea
RDX: 0000000000000000 RSI: ffffffff8325c1f8 RDI: 0000000000000005
RBP: ffff88805370fc88 R08: ffff8880a96da240 R09: ffffed1015d04733
R10: ffffed1015d04732 R11: ffff8880ae823993 R12: ffffffff87824800
R13: 0000000000000000 R14: ffffffff878247c0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 00000000976ee000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:56
 rcu_dynticks_curr_cpu_in_eqs+0x17/0xb0 kernel/rcu/tree.c:348
 rcu_is_watching+0x10/0x30 kernel/rcu/tree.c:1025
 rcu_read_unlock include/linux/rcupdate.h:677 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline]
 batadv_nc_worker+0x485/0x760 net/batman-adv/network-coding.c:730
 process_one_work+0x989/0x1750 kernel/workqueue.c:2153
 worker_thread+0x98/0xe40 kernel/workqueue.c:2296
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/13 07:39 linux-4.19.y ee809c7e0895 40fa42bc .config console log report ci2-linux-4-19
2019/08/11 07:59 linux-4.19.y 893af1c79e42 acb51638 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.