ci starts bisection 2023-04-02 09:14:02.14906141 +0000 UTC m=+334182.595409395 bisecting fixing commit since a4412fdd49dc011bcc2c0d81ac4cab7457092650 building syzkaller on e080de16713b9dbf308cdd7bcb85b58293e46e33 ensuring issue is reproducible on original commit a4412fdd49dc011bcc2c0d81ac4cab7457092650 testing commit a4412fdd49dc011bcc2c0d81ac4cab7457092650 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ac06d8dc9791551913edc6c1d847f212f8b2a9081eecbb2d352eaa97109fc32e all runs: crashed: INFO: task hung in walk_component testing current HEAD 00c7b5f4ddc5b346df62b757ec73f9357bb452af testing commit 00c7b5f4ddc5b346df62b757ec73f9357bb452af gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 75b11cb587d93ba64eb0afe3515f1d4179ea55b93f8bff2e987e85d3e737daf6 all runs: crashed: INFO: task hung in walk_component revisions tested: 2, total time: 31m59.112594825s (build: 17m59.491005755s, test: 12m43.233776118s) the crash still happens on HEAD commit msg: Merge tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input crash: INFO: task hung in walk_component INFO: task syz-executor.0:5505 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23920 pid:5505 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common+0x7df/0xf30 kernel/locking/rwsem.c:1250 inode_lock_shared include/linux/fs.h:768 [inline] lookup_slow fs/namei.c:1702 [inline] walk_component+0x296/0x4e0 fs/namei.c:1994 link_path_walk.part.0+0x568/0xac0 fs/namei.c:2321 link_path_walk fs/namei.c:2246 [inline] path_openat+0x1f8/0x2280 fs/namei.c:3711 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8267a8bc48 RSP: 002b:00007ffe0fe3f2c0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8267a8bc48 RDX: 0000000000090800 RSI: 00007f8267ae6bc8 RDI: 00000000ffffff9c RBP: 00007ffe0fe3f38c R08: 0000000000090800 R09: 00007f8267ae6bc8 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000010f59 R14: 0000000000000009 R15: 00007ffe0fe3f3f0 INFO: task syz-executor.0:5595 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26656 pid:5595 ppid:5505 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 request_wait_answer+0x371/0x6b0 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x480/0xba0 fs/fuse/dev.c:513 fuse_lookup_name+0x259/0x5e0 fs/fuse/dir.c:392 fuse_lookup.part.0+0xd6/0x2c0 fs/fuse/dir.c:433 __lookup_slow+0x200/0x3f0 fs/namei.c:1686 lookup_slow fs/namei.c:1703 [inline] walk_component+0x2a3/0x4e0 fs/namei.c:1994 link_path_walk.part.0+0x568/0xac0 fs/namei.c:2321 link_path_walk fs/namei.c:2246 [inline] path_openat+0x1f8/0x2280 fs/namei.c:3711 do_filp_open+0x1a9/0x3e0 fs/namei.c:3742 do_sys_openat2+0x11e/0x3f0 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __x64_sys_openat+0x11f/0x1d0 fs/open.c:1375 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8267a8c0d9 RSP: 002b:00007f8268832168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8267babf80 RCX: 00007f8267a8c0d9 RDX: 0000000000000042 RSI: 0000000020002080 RDI: ffffffffffffff9c RBP: 00007f8267ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0fe3f0cf R14: 00007f8268832300 R15: 0000000000022000 INFO: task syz-executor.0:5602 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28408 pid:5602 ppid:5505 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc01/0x56c0 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] fuse_reverse_inval_entry+0x42/0x4a0 fs/fuse/dir.c:1252 fuse_notify_delete fs/fuse/dev.c:1552 [inline] fuse_notify fs/fuse/dev.c:1801 [inline] fuse_dev_do_write+0x1dde/0x2580 fs/fuse/dev.c:1876 fuse_dev_write+0x133/0x1c0 fs/fuse/dev.c:1960 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x823/0xd80 fs/read_write.c:584 ksys_write+0xf2/0x1c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8267a8c0d9 RSP: 002b:00007f8268811168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8267bac050 RCX: 00007f8267a8c0d9 RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f8267ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0fe3f0cf R14: 00007f8268811300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8b7893f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/12: #0: ffffffff8b7890f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/27: #0: ffffffff8b789f40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 3 locks held by kworker/u4:4/952: #0: ffff8880b9b3c258 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffffc900045bfdb8 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x7b7/0x1400 kernel/workqueue.c:2365 #2: ffff8880b9b29698 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x49/0x1a0 kernel/time/timer.c:999 2 locks held by getty/4739: #0: ffff88814aefd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5505: #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1702 [inline] #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x296/0x4e0 fs/namei.c:1994 2 locks held by syz-executor.0/5595: #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1702 [inline] #0: ffff88806c91c850 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x296/0x4e0 fs/namei.c:1994 #1: ffff88806c91ccb8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:475 2 locks held by syz-executor.0/5602: #0: ffff888020d2ab38 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify_delete fs/fuse/dev.c:1551 [inline] #0: ffff888020d2ab38 (&fc->killsb){.+.+}-{3:3}, at: fuse_notify fs/fuse/dev.c:1801 [inline] #0: ffff888020d2ab38 (&fc->killsb){.+.+}-{3:3}, at: fuse_dev_do_write+0x1dbb/0x2580 fs/fuse/dev.c:1876 #1: ffff88806c91c850 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff88806c91c850 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: fuse_reverse_inval_entry+0x42/0x4a0 fs/fuse/dir.c:1252 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x175/0x200 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1bc/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x9f9/0xcf0 kernel/hung_task.c:379 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: kcompactd0 Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__schedule+0xc1a/0x56c0 kernel/sched/core.c:6507 Code: bd 30 ff ff ff 4d 89 67 10 4c 89 e6 e8 6f 71 d7 f7 48 89 c7 e8 07 8e 25 f8 48 b8 00 00 00 00 00 fc ff df 48 03 85 b8 fe ff ff <48> c7 00 00 00 00 00 48 c7 40 08 00 00 00 00 48 8b 45 d0 65 48 2b RSP: 0018:ffffc90000c7fb40 EFLAGS: 00000286 RAX: fffff5200018ff7e RBX: ffff88807e4c4440 RCX: 1ffffffff1ac8711 RDX: 0000000000000000 RSI: ffffffff896b8880 RDI: ffff8880168c3708 RBP: ffffc90000c7fcb8 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1ac8d1a R11: 0000000000000000 R12: ffff8880168b80c0 R13: ffff8880168c26b0 R14: 0000000000000000 R15: ffff8880b9a3c240 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555f2e2b8680 CR3: 000000000b56c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_timeout+0x121/0x270 kernel/time/timer.c:2167 kcompactd+0x574/0xa30 mm/compaction.c:2966 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308