syzbot


INFO: task hung in path_openat (4)

Status: auto-closed as invalid on 2020/07/28 10:23
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 830d, last: 830d
similar bugs (10):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in path_openat 2 1059d 1092d 0/1 auto-closed as invalid on 2020/01/11 07:40
upstream INFO: task hung in path_openat (3) 4 990d 1106d 0/23 auto-closed as invalid on 2020/02/19 20:16
linux-4.19 INFO: task hung in path_openat (2) 1 259d 259d 0/1 auto-closed as invalid on 2022/03/21 04:47
linux-4.14 INFO: task hung in path_openat 1 499d 499d 0/1 auto-closed as invalid on 2021/07/23 23:26
android-49 INFO: task hung in path_openat 64 1230d 1211d 0/3 auto-closed as invalid on 2019/09/22 08:41
upstream INFO: task hung in path_openat (5) 23 471d 632d 0/23 auto-closed as invalid on 2021/07/22 20:44
upstream INFO: task hung in path_openat (6) 13 206d 356d 0/23 closed as invalid on 2022/02/07 19:19
android-414 INFO: task hung in path_openat 42 1134d 1212d 0/1 auto-closed as invalid on 2019/10/28 21:04
upstream INFO: task hung in path_openat 246 1298d 1588d 0/23 closed as dup on 2018/09/08 15:37
upstream INFO: task hung in path_openat (2) 1 1201d 1201d 0/23 closed as invalid on 2019/05/08 13:05

Sample crash report:
INFO: task syz-executor.5:578 blocked for more than 143 seconds.
      Not tainted 5.7.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D28400   578    576 0x00000000
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4158
 rwsem_down_write_slowpath+0x706/0xf90 kernel/locking/rwsem.c:1235
 __down_write kernel/locking/rwsem.c:1389 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1532
 inode_lock include/linux/fs.h:797 [inline]
 open_last_lookups fs/namei.c:3152 [inline]
 path_openat+0x927/0x27d0 fs/namei.c:3343
 do_filp_open+0x192/0x260 fs/namei.c:3373
 do_sys_openat2+0x585/0x7d0 fs/open.c:1148
 do_sys_open+0xc3/0x140 fs/open.c:1164
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb27cf5fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00000000004f67c0 RCX: 000000000045c829
RDX: 0000000000000000 RSI: 00000000000000f0 RDI: 0000000020000080
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000774 R14: 00000000004ca268 R15: 00007fb27cf606d4

Showing all locks held in the system:
1 lock held by systemd/1:
2 locks held by kworker/u4:1/21:
3 locks held by kworker/u4:2/56:
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline]
 #0: ffff8880a9787138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x844/0x16a0 kernel/workqueue.c:2239
 #1: ffffc90000f37dc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x878/0x16a0 kernel/workqueue.c:2243
 #2: ffffffff8a5767b0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xa50 net/core/net_namespace.c:565
1 lock held by khungtaskd/1136:
 #0: ffffffff899beb00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5754
1 lock held by in:imklog/6939:
 #0: ffff8880a2667630 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826
3 locks held by syz-executor.5/7580:
2 locks held by syz-executor.2/29979:
 #0: ffff888040e3aa10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888040e3aa10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888040e3aa10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888040e3adf0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.2/30011:
 #0: ffff888085b713d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888085b713d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888085b713d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888085b717b0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.2/30091:
 #0: ffff888085b4e9d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888085b4e9d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888085b4e9d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888085b4edb0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.2/30404:
 #0: ffff888085b4e390 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888085b4e390 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888085b4e390 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888085b4e770 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.2/30474:
 #0: ffff888040e6fa90 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888040e6fa90 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888040e6fa90 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888040e6fe70 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.2/30546:
 #0: ffff888043a77450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:807 [inline]
 #0: ffff888043a77450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3154 [inline]
 #0: ffff888043a77450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x18ed/0x27d0 fs/namei.c:3343
 #1: ffff888043a77830 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/31880:
 #0: ffff88804601e450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff88804601e450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff8880439a2250 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff8880439a2250 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff8880439a2250 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff8880439a2630 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/32241:
 #0: ffff88809e962450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff88809e962450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff8880439ce190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff8880439ce190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff8880439ce190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff8880439ce570 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/32399:
 #0: ffff888045df4450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888045df4450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040cb4a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040cb4a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040cb4a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040cb4df0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/32738:
 #0: ffff888092116450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888092116450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff8880439ce7d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff8880439ce7d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff8880439ce7d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff8880439cebb0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/409:
 #0: ffff8880578ea450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff8880578ea450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040e95410 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040e95410 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040e95410 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040e957f0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/576:
 #0: ffff88809db0e450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff88809db0e450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040e0db70 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
2 locks held by syz-executor.5/578:
 #0: ffff88809db0e450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff88809db0e450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040e0d790 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
3 locks held by syz-executor.3/697:
 #0: ffff888045d60450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888045d60450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff8880439a2890 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff8880439a2890 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff8880439a2890 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff8880439a2c70 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/770:
 #0: ffff8880510f6450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff8880510f6450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040e95a50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040e95a50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040e95a50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040e95e30 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/939:
 #0: ffff888044026450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888044026450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff88804397f150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff88804397f150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff88804397f150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff88804397f530 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1010:
 #0: ffff88804c108450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff88804c108450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040cb43d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040cb43d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040cb43d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040cb47b0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1379:
 #0: ffff8880a0962450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff8880a0962450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888040e6f450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888040e6f450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888040e6f450 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888040e6f830 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1411:
 #0: ffff8880946a2450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff8880946a2450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888043a47850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888043a47850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888043a47850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888043a47c30 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1435:
 #0: ffff888041fa0450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888041fa0450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888085b71a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888085b71a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888085b71a10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888085b71df0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1480:
 #0: ffff888049684450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff888049684450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888043a47210 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888043a47210 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888043a47210 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888043a475f0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
3 locks held by syz-executor.5/1520:
 #0: ffff8880482fa450 (sb_writers#23){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1655 [inline]
 #0: ffff8880482fa450 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:354
 #1: ffff888043af17d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:797 [inline]
 #1: ffff888043af17d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3152 [inline]
 #1: ffff888043af17d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x927/0x27d0 fs/namei.c:3343
 #2: ffff888043af1bb0 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:352
5 locks held by syz-executor.4/3741:
1 lock held by systemd-udevd/3752:

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

NMI backtrace for cpu 0
CPU: 0 PID: 1136 Comm: khungtaskd Not tainted 5.7.0-rc3-syzkaller #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+0x188/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline]
 watchdog+0xa8c/0x1010 kernel/hung_task.c:289
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4124 Comm: systemd-udevd Not tainted 5.7.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:write_comp_data+0x0/0x70 kernel/kcov.c:207
Code: 20 48 8b 88 e0 13 00 00 8b 80 dc 13 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 <65> 4c 8b 04 25 00 1f 02 00 65 8b 05 c8 ef 8e 7e a9 00 01 1f 00 75
RSP: 0018:ffffc900014774f8 EFLAGS: 00000202
RAX: ffff888097afc280 RBX: 0000000000000002 RCX: ffffffff83604cc8
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffff888095891180 R08: ffff888097afc280 R09: fffffbfff19021f5
R10: ffffffff8c810fa7 R11: fffffbfff19021f4 R12: 0000000000000026
R13: 0000000000000191 R14: dffffc0000000000 R15: 0000000000000001
FS:  00007fdc2dfef8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc2d122740 CR3: 00000000a40a3000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tomoyo_domain_quota_is_ok+0x308/0x500 security/tomoyo/util.c:1071
 tomoyo_supervisor+0x2d5/0xee0 security/tomoyo/common.c:2089
 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
 tomoyo_path_permission security/tomoyo/file.c:587 [inline]
 tomoyo_path_permission+0x257/0x360 security/tomoyo/file.c:573
 tomoyo_check_open_permission+0x336/0x370 security/tomoyo/file.c:777
 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline]
 tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:314
 security_file_open+0x6e/0x410 security/security.c:1548
 do_dentry_open+0x358/0x1290 fs/open.c:784
 do_open fs/namei.c:3229 [inline]
 path_openat+0x1e59/0x27d0 fs/namei.c:3346
 do_filp_open+0x192/0x260 fs/namei.c:3373
 do_sys_openat2+0x585/0x7d0 fs/open.c:1148
 do_sys_open+0xc3/0x140 fs/open.c:1164
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x7fdc2ce626f0
Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24
RSP: 002b:00007ffedf1be588 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 000055e657480e10 RCX: 00007fdc2ce626f0
RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007ffedf1be730
RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001
R10: 0000000000080000 R11: 0000000000000246 R12: 000055e65624568a
R13: 0000000000000001 R14: 000055e657480bc0 R15: 00007ffedf1be7b0

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/04/29 10:19 upstream 3f777e19d171 e3ecea2e .config log report