INFO: task syz-executor.2:11734 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27184 pid:11734 ppid:5097 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 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+0x332/0x5a0 fs/namei.c:1994 lookup_last fs/namei.c:2451 [inline] path_lookupat+0x1ba/0x840 fs/namei.c:2475 do_tmpfile fs/namei.c:3665 [inline] path_openat+0x1633/0x2750 fs/namei.c:3706 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 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+0x143/0x1f0 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:0x7fe45a28c169 RSP: 002b:00007fe45aefe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe45a3ac050 RCX: 00007fe45a28c169 RDX: 0000000000414081 RSI: 0000000020000cc0 RDI: ffffffffffffff9c RBP: 00007fe45a2e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff705ae4f R14: 00007fe45aefe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794a70 (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/13: #0: ffffffff8c794770 (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: ffffffff8c7955c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 1 lock held by kswapd0/80: 2 locks held by getty/4747: #0: ffff88814a1d2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.3/5101: #0: ffffffff8c7a08b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8c7a08b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:989 3 locks held by kworker/u4:12/6057: 2 locks held by kworker/0:2/30323: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc900035bfda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 2 locks held by syz-executor.5/11459: 2 locks held by syz-executor.2/11722: 1 lock held by syz-executor.2/11734: #0: ffff888074164c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff888074164c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1702 [inline] #0: ffff888074164c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x332/0x5a0 fs/namei.c:1994 3 locks held by kworker/0:3/12530: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc900035dfda8 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 #2: ffffffff8c7a08b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8c7a08b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:989 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 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: 11459 Comm: syz-executor.5 Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:unwind_next_frame+0xa8/0x1ef0 arch/x86/kernel/unwind_orc.c:452 Code: 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 42 17 00 00 49 8b 45 38 bf 01 00 00 00 48 89 44 24 10 a3 e4 1e 00 4d 8d 65 50 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 RSP: 0018:ffffc90005b76f58 EFLAGS: 00000246 RAX: ffffc90005b77a68 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 1ffff92000b6ee00 RSI: ffffffff81e6854f RDI: 0000000000000001 RBP: ffffc90005b77010 R08: ffffffff8f0b5016 R09: ffffc90005b76ffc R10: 0000000000000001 R11: ffffc90005b77a60 R12: ffffc90005b77080 R13: ffffc90005b76fc8 R14: ffff888027d557c0 R15: ffffea0002866a40 FS: 00007f45c1e83700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f107fe65ba0 CR3: 000000002779d000 CR4: 0000000000350ee0 Call Trace: arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] ____kasan_kmalloc mm/kasan/common.c:333 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node+0x61/0x1a0 mm/slab_common.c:974 kmalloc_array_node include/linux/slab.h:697 [inline] kcalloc_node include/linux/slab.h:702 [inline] memcg_alloc_slab_cgroups+0x8f/0x150 mm/memcontrol.c:2899 memcg_slab_post_alloc_hook+0xa9/0x390 mm/slab.h:546 slab_post_alloc_hook mm/slab.h:777 [inline] slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x1af/0x3b0 mm/slub.c:3476 kmem_cache_zalloc include/linux/slab.h:710 [inline] alloc_buffer_head+0x24/0x150 fs/buffer.c:2947 alloc_page_buffers+0x284/0x790 fs/buffer.c:872 create_empty_buffers+0x30/0xf30 fs/buffer.c:1586 create_page_buffers+0x440/0x640 fs/buffer.c:1703 block_read_full_folio+0x20a/0xab0 fs/buffer.c:2299 filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2424 do_read_cache_folio+0x1df/0x510 mm/filemap.c:3683 do_read_cache_page mm/filemap.c:3749 [inline] read_cache_page+0x5d/0x160 mm/filemap.c:3758 read_mapping_page include/linux/pagemap.h:769 [inline] dir_get_page fs/minix/dir.c:76 [inline] minix_find_entry+0x207/0x5f0 fs/minix/dir.c:176 minix_inode_by_name+0x75/0x260 fs/minix/dir.c:460 minix_lookup fs/minix/namei.c:30 [inline] minix_lookup+0x107/0x190 fs/minix/namei.c:22 __lookup_slow+0x24c/0x460 fs/namei.c:1686 lookup_slow fs/namei.c:1703 [inline] walk_component+0x33f/0x5a0 fs/namei.c:1994 lookup_last fs/namei.c:2451 [inline] path_lookupat+0x1ba/0x840 fs/namei.c:2475 do_tmpfile fs/namei.c:3665 [inline] path_openat+0x1633/0x2750 fs/namei.c:3706 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 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+0x143/0x1f0 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:0x7f45c108c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f45c1e83168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f45c11ac050 RCX: 00007f45c108c169 RDX: 0000000000414081 RSI: 0000000020000cc0 RDI: ffffffffffffff9c RBP: 00007f45c10e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffff6c43af R14: 00007f45c1e83300 R15: 0000000000022000