INFO: task syz-executor.1:22265 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-13505-g17784de648be #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25248 pid:22265 ppid:5046 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 io_schedule+0x8c/0x100 kernel/sched/core.c:8979 bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:70 [inline] lock_buffer include/linux/buffer_head.h:406 [inline] __sync_dirty_buffer+0x120/0x380 fs/buffer.c:2807 __ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387 ext4_handle_dirty_dirblock+0x362/0x6f0 fs/ext4/namei.c:438 ext4_finish_convert_inline_dir+0x57b/0x6f0 fs/ext4/inline.c:1178 ext4_convert_inline_data_nolock+0xa01/0xd80 fs/ext4/inline.c:1255 ext4_try_add_inline_entry+0x809/0xb70 fs/ext4/inline.c:1328 ext4_add_entry+0x535/0x1010 fs/ext4/namei.c:2384 ext4_add_nondir+0x98/0x290 fs/ext4/namei.c:2771 ext4_symlink+0x908/0xb30 fs/ext4/namei.c:3410 vfs_symlink+0x12f/0x2a0 fs/namei.c:4475 do_symlinkat+0x201/0x610 fs/namei.c:4501 __do_sys_symlink fs/namei.c:4522 [inline] __se_sys_symlink fs/namei.c:4520 [inline] __x64_sys_symlink+0x7e/0x90 fs/namei.c:4520 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd21788c169 RSP: 002b:00007fd2185b3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 00007fd2179ac050 RCX: 00007fd21788c169 RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000020000100 RBP: 00007fd2178e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff26ffb35f R14: 00007fd2185b3300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900000c7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffff88802f261240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:3/46: 2 locks held by getty/4751: #0: ffff888028e7f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 3 locks held by syz-executor.1/22265: #0: ffff88807b254460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff88807c428400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff88807c428400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884 #2: ffff88807c4280c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88807c4280c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1286 2 locks held by syz-executor.3/23699: #0: ffff8880834d0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4941 3 locks held by syz-executor.3/23716: #0: ffff8880834d0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884 #2: ffff8880789c9ec8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880789c9ec8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1286 2 locks held by syz-executor.3/23725: #0: ffff8880834d0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880789ca200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788 2 locks held by syz-executor.3/23727: #0: ffff8880834d0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline] #1: ffff8880789ca200 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_renameat2+0x615/0x1660 fs/namei.c:4941 2 locks held by syz-executor.3/23966: 2 locks held by syz-executor.3/24022: #0: ffff8880b993c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 1 lock held by syz-executor.3/24023: #0: ffff88807c6ac000 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff88807c6ac000 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 1 lock held by syz-executor.0/23988: #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-13505-g17784de648be #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+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24197 Comm: syz-fuzzer Not tainted 6.3.0-syzkaller-13505-g17784de648be #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x7f/0x290 mm/kasan/generic.c:187 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf RSP: 0000:ffffc9000b96fb80 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11004454edb RCX: ffffffff81ce551f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880222a76d8 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed1004454edb R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880222a76c0 R14: ffffed1004454edc R15: ffff88802ad81b00 FS: 000000c0131d8490(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000645000 CR3: 0000000029ae3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] vma_set_access_pid_bit include/linux/mm.h:1684 [inline] numa_migrate_prep+0x13f/0x380 mm/memory.c:4679 do_numa_page mm/memory.c:4762 [inline] handle_pte_fault mm/memory.c:4953 [inline] __handle_mm_fault mm/memory.c:5089 [inline] handle_mm_fault+0x3d65/0x5860 mm/memory.c:5243 do_user_addr_fault arch/x86/mm/fault.c:1349 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x274/0x910 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x46a658 Code: c3 66 8b 06 8a 4e 02 66 89 07 88 4f 02 c3 8b 06 8b 4c 1e fc 89 07 89 4c 1f fc c3 48 8b 06 48 89 07 c3 48 8b 06 48 8b 4c 1e f8 <48> 89 07 48 89 4c 1f f8 c3 f3 0f 6f 06 f3 0f 6f 4c 1e f0 f3 0f 7f RSP: 002b:000000c0008a3ae8 EFLAGS: 00010287 RAX: 7a4a6524223d2930 RBX: 000000000000000a RCX: 33737a4a6524223d RDX: 0000000000008000 RSI: 000000c00064b9af RDI: 000000c000644ffd RBP: 000000c0008a3b30 R08: 000000c000644ffd R09: 000000c000644000 R10: 0000000000001007 R11: 0000000000000ffd R12: 0000000000001e4d R13: 0000000000000fec R14: 000000c0003f8ea0 R15: 0000000000000002