./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2758482121 <...> Warning: Permanently added '10.128.1.100' (ECDSA) to the list of known hosts. execve("./syz-executor2758482121", ["./syz-executor2758482121"], 0x7ffc9ae423f0 /* 10 vars */) = 0 brk(NULL) = 0x555556d0c000 brk(0x555556d0cc40) = 0x555556d0cc40 arch_prctl(ARCH_SET_FS, 0x555556d0c300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2758482121", 4096) = 28 brk(0x555556d2dc40) = 0x555556d2dc40 brk(0x555556d2e000) = 0x555556d2e000 mprotect(0x7fc70fcb1000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555556d0c5d0) = 5082 ./strace-static-x86_64: Process 5082 attached [pid 5082] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5082] setpgid(0, 0) = 0 [pid 5082] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5082] write(3, "1000", 4) = 4 [pid 5082] close(3) = 0 [pid 5082] memfd_create("syzkaller", 0) = 3 [pid 5082] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7077f6000 [pid 5082] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 5082] munmap(0x7fc7077f6000, 262144) = 0 [pid 5082] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5082] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5082] close(3) = 0 [pid 5082] mkdir("./file0", 0777) = 0 syzkaller login: [ 76.455672][ T5082] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5082 'syz-executor275' [ 76.484144][ T5082] loop0: detected capacity change from 0 to 512 [pid 5082] mount("/dev/loop0", "./file0", "ext4", MS_DIRSYNC|MS_SILENT, ",errors=continue") = 0 [pid 5082] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5082] chdir("./file0") = 0 [pid 5082] ioctl(4, LOOP_CLR_FD) = 0 [pid 5082] close(4) = 0 [pid 5082] openat(AT_FDCWD, "./file0", O_RDONLY) = 4 [pid 5082] setxattr("./file0", "user.incfs.id", "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00", 32, 0) = 0 [pid 5082] mkdirat(4, "./file0", 000) = 0 [pid 5082] openat(4, ".", O_RDONLY) = 5 [ 76.506293][ T5082] EXT4-fs (loop0): 1 truncate cleaned up [ 76.511997][ T5082] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: none. [pid 5082] renameat2(5, "./file0", 5, "./bus", 0 [pid 5081] kill(-5082, SIGKILL) = 0 [pid 5081] kill(5082, SIGKILL) = 0 [pid 5081] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 [pid 5081] getdents64(3, 0x555556d0d620 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(3, 0x555556d0d620 /* 0 entries */, 32768) = 0 [pid 5081] close(3) = 0 [ 91.706955][ T7] cfg80211: failed to load regulatory.db [ 286.264541][ T28] INFO: task syz-executor275:5082 blocked for more than 143 seconds. [ 286.272779][ T28] Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 [ 286.279999][ T28] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 286.288834][ T28] task:syz-executor275 state:D stack:25552 pid:5082 ppid:5081 flags:0x00004004 [ 286.298250][ T28] Call Trace: [ 286.301543][ T28] [ 286.304558][ T28] __schedule+0x24b4/0x5ac0 [ 286.309176][ T28] ? print_usage_bug.part.0+0x660/0x660 [ 286.314842][ T28] ? find_held_lock+0x2d/0x110 [ 286.319667][ T28] ? io_schedule_timeout+0x150/0x150 [ 286.325052][ T28] ? mark_held_locks+0x9f/0xe0 [ 286.329881][ T28] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 286.335840][ T28] schedule+0xde/0x1a0 [ 286.340034][ T28] io_schedule+0xbe/0x130 [ 286.344482][ T28] bit_wait_io+0x16/0xe0 [ 286.348790][ T28] __wait_on_bit_lock+0x11f/0x1a0 [ 286.353858][ T28] ? out_of_line_wait_on_bit_timeout+0x170/0x170 [ 286.360289][ T28] out_of_line_wait_on_bit_lock+0xd9/0x110 [ 286.366231][ T28] ? __wait_on_bit_lock+0x1a0/0x1a0 [ 286.371481][ T28] ? group_init+0x6b0/0x6b0 [ 286.376101][ T28] ? _raw_spin_unlock+0x28/0x40 [ 286.381014][ T28] __sync_dirty_buffer+0x30e/0x380 [ 286.386283][ T28] __ext4_handle_dirty_metadata+0x2b7/0x8e0 [ 286.392329][ T28] ext4_handle_dirty_dirblock+0x371/0x470 [ 286.398197][ T28] ? ext4_rename_dir_prepare+0x7b0/0x7b0 [ 286.403904][ T28] ? ext4_init_dot_dotdot+0x3d7/0x5a0 [ 286.409433][ T28] ext4_convert_inline_data_nolock+0xac1/0xf10 [ 286.415719][ T28] ? ext4_destroy_inline_data_nolock+0x580/0x580 [ 286.422102][ T28] ? down_write_killable_nested+0x250/0x250 [ 286.428115][ T28] ? get_max_inline_xattr_value_size+0x114/0x560 [ 286.434539][ T28] ext4_try_add_inline_entry+0x473/0x8d0 [ 286.440231][ T28] ? ext4_set_context+0x5a0/0x5a0 [ 286.445380][ T28] ? ext4_da_write_inline_data_begin+0x1270/0x1270 [ 286.451971][ T28] ext4_add_entry+0x80d/0xe30 [ 286.456755][ T28] ? errseq_check+0x4f/0x80 [ 286.461428][ T28] ? make_indexed_dir+0x1080/0x1080 [ 286.466924][ T28] ? __ext4_journal_start_sb+0x231/0x890 [ 286.472632][ T28] ? ext4_rename+0x1544/0x2620 [ 286.477520][ T28] ext4_rename+0x1979/0x2620 [ 286.482208][ T28] ? ext4_empty_dir+0x9b0/0x9b0 [ 286.487198][ T28] ? lock_downgrade+0x690/0x690 [ 286.492102][ T28] ? do_raw_spin_lock+0x124/0x2b0 [ 286.497253][ T28] ext4_rename2+0x1c7/0x270 [ 286.501830][ T28] ? ext4_rename+0x2620/0x2620 [ 286.506702][ T28] vfs_rename+0xef6/0x17a0 [ 286.511286][ T28] ? path_openat+0x2750/0x2750 [ 286.516226][ T28] ? do_raw_spin_unlock+0x175/0x230 [ 286.521517][ T28] ? _raw_spin_unlock+0x28/0x40 [ 286.526484][ T28] ? bpf_lsm_path_rename+0x9/0x10 [ 286.531627][ T28] ? security_path_rename+0x158/0x230 [ 286.537185][ T28] do_renameat2+0xb62/0xc90 [ 286.541796][ T28] ? __ia32_sys_link+0xa0/0xa0 [ 286.546664][ T28] ? trace_lock_acquire+0x1f1/0x2b0 [ 286.551918][ T28] ? __virt_addr_valid+0x61/0x2e0 [ 286.557081][ T28] ? __phys_addr_symbol+0x30/0x70 [ 286.562180][ T28] ? strncpy_from_user+0x28b/0x3c0 [ 286.567396][ T28] ? _raw_spin_unlock_irq+0x23/0x50 [ 286.572655][ T28] __x64_sys_renameat2+0xe8/0x120 [ 286.577822][ T28] do_syscall_64+0x39/0xb0 [ 286.582315][ T28] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 286.588352][ T28] RIP: 0033:0x7fc70fc435e9 [ 286.592811][ T28] RSP: 002b:00007fff77514be8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c [ 286.601305][ T28] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fc70fc435e9 [ 286.609360][ T28] RDX: 0000000000000005 RSI: 00000000200001c0 RDI: 0000000000000005 [ 286.617423][ T28] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fc70fcb1ec0 [ 286.625466][ T28] R10: 0000000020000200 R11: 0000000000000246 R12: 00007fff77514c10 [ 286.633467][ T28] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 286.641880][ T28] [ 286.645010][ T28] [ 286.645010][ T28] Showing all locks held in the system: [ 286.652750][ T28] 1 lock held by rcu_tasks_kthre/13: [ 286.658133][ T28] #0: ffffffff8c796d70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 [ 286.668967][ T28] 1 lock held by rcu_tasks_trace/14: [ 286.674355][ T28] #0: ffffffff8c796a70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 [ 286.685489][ T28] 1 lock held by khungtaskd/28: [ 286.690362][ T28] #0: ffffffff8c797940 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 [ 286.700351][ T28] 2 locks held by getty/4757: [ 286.705131][ T28] #0: ffff88802c2db098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 [ 286.715068][ T28] #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 [ 286.725320][ T28] 3 locks held by syz-executor275/5082: [ 286.730876][ T28] #0: ffff88807b122460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 [ 286.740235][ T28] #1: ffff88807794f258 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x229/0x280 [ 286.750669][ T28] #2: ffff88807794ef20 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0x10c/0x8d0 [ 286.761255][ T28] [ 286.763715][ T28] ============================================= [ 286.763715][ T28] [ 286.772224][ T28] NMI backtrace for cpu 1 [ 286.776597][ T28] CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 [ 286.785916][ T28] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 286.796002][ T28] Call Trace: [ 286.799290][ T28] [ 286.802234][ T28] dump_stack_lvl+0xd9/0x150 [ 286.806969][ T28] nmi_cpu_backtrace+0x316/0x3e0 [ 286.811969][ T28] nmi_trigger_cpumask_backtrace+0x3a7/0x460 [ 286.817979][ T28] ? lapic_can_unplug_cpu+0xa0/0xa0 [ 286.823250][ T28] watchdog+0xe94/0x11e0 [ 286.827560][ T28] ? proc_dohung_task_timeout_secs+0x80/0x80 [ 286.833583][ T28] kthread+0x2e8/0x3a0 [ 286.837745][ T28] ? kthread_complete_and_exit+0x40/0x40 [ 286.843415][ T28] ret_from_fork+0x1f/0x30 [ 286.847883][ T28] [ 286.851044][ T28] Sending NMI from CPU 1 to CPUs 0: [ 286.856370][ C0] NMI backtrace for cpu 0 [ 286.856381][ C0] CPU: 0 PID: 2841 Comm: kworker/u4:6 Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 [ 286.856407][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 286.856422][ C0] Workqueue: events_unbound toggle_allocation_gate [ 286.856493][ C0] RIP: 0010:lock_release+0x40a/0x780 [ 286.856524][ C0] Code: 0f 85 3a 02 00 00 48 c7 c7 20 6b 4c 8a e8 7e fb af 08 b8 ff ff ff ff 65 0f c1 05 c1 69 9c 7e 83 f8 01 0f 85 ec 01 00 00 9c 58 c4 02 0f 85 d7 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 [ 286.856547][ C0] RSP: 0018:ffffc9000c55f9a8 EFLAGS: 00000046 [ 286.856564][ C0] RAX: 0000000000000046 RBX: 9229a82734cd6c98 RCX: ffffc9000c55f9f8 [ 286.856580][ C0] RDX: 1ffff110051ed4ed RSI: 0000000000000000 RDI: 0000000000000000 [ 286.856595][ C0] RBP: 1ffff920018abf37 R08: 0000000000000001 R09: ffffffff8e787a97 [ 286.856611][ C0] R10: fffffbfff1cf0f52 R11: 0000000000000000 R12: 0000000000000004 [ 286.856626][ C0] R13: ffff888028f6a770 R14: 0000000000000005 R15: ffff888028f69d40 [ 286.856642][ C0] FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 286.856665][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 286.856682][ C0] CR2: 0000556e004f1600 CR3: 000000000c571000 CR4: 00000000003506f0 [ 286.856698][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 286.856712][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 286.856727][ C0] Call Trace: [ 286.856732][ C0] [ 286.856739][ C0] ? arch_jump_label_transform_queue+0xa4/0x100 [ 286.856797][ C0] ? lock_downgrade+0x690/0x690 [ 286.856832][ C0] __mutex_unlock_slowpath+0x99/0x5e0 [ 286.856871][ C0] ? wait_for_completion_io_timeout+0x20/0x20 [ 286.856913][ C0] ? kmem_cache_alloc_bulk+0x1b8/0x860 [ 286.856936][ C0] ? __jump_label_patch+0x173/0x340 [ 286.856964][ C0] arch_jump_label_transform_queue+0xa4/0x100 [ 286.856995][ C0] __jump_label_update+0x12e/0x410 [ 286.857054][ C0] jump_label_update+0x32f/0x410 [ 286.857088][ C0] static_key_disable_cpuslocked+0x156/0x1b0 [ 286.857123][ C0] static_key_disable+0x1a/0x20 [ 286.857156][ C0] toggle_allocation_gate+0x143/0x230 [ 286.857191][ C0] ? wake_up_kfence_timer+0x30/0x30 [ 286.857224][ C0] ? trace_lock_acquire+0x1f1/0x2b0 [ 286.857264][ C0] process_one_work+0x9bf/0x1820 [ 286.857319][ C0] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 286.857351][ C0] ? rcu_read_lock_sched_held+0x3e/0x70 [ 286.857383][ C0] ? spin_bug+0x1c0/0x1c0 [ 286.857412][ C0] ? lock_acquire+0x32/0xc0 [ 286.857438][ C0] ? worker_thread+0x16d/0x1090 [ 286.857473][ C0] worker_thread+0x669/0x1090 [ 286.857521][ C0] ? __kthread_parkme+0x163/0x220 [ 286.857546][ C0] ? process_one_work+0x1820/0x1820 [ 286.857578][ C0] kthread+0x2e8/0x3a0 [ 286.857603][ C0] ? kthread_complete_and_exit+0x40/0x40 [ 286.857632][ C0] ret_from_fork+0x1f/0x30 [ 286.857673][ C0] [ 286.857680][ C0] INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.310 msecs [ 286.858364][ T28] Kernel panic - not syncing: hung_task: blocked tasks [ 287.159989][ T28] CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 [ 287.169319][ T28] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 287.179408][ T28] Call Trace: [ 287.182729][ T28] [ 287.185691][ T28] dump_stack_lvl+0xd9/0x150 [ 287.190337][ T28] panic+0x61b/0x6c0 [ 287.194344][ T28] ? panic_smp_self_stop+0x90/0x90 [ 287.199596][ T28] ? preempt_schedule_thunk+0x1a/0x20 [ 287.205288][ T28] ? watchdog+0xc20/0x11e0 [ 287.209752][ T28] watchdog+0xc31/0x11e0 [ 287.214210][ T28] ? proc_dohung_task_timeout_secs+0x80/0x80 [ 287.220239][ T28] kthread+0x2e8/0x3a0 [ 287.224601][ T28] ? kthread_complete_and_exit+0x40/0x40 [ 287.230277][ T28] ret_from_fork+0x1f/0x30 [ 287.234755][ T28] [ 287.237856][ T28] Kernel Offset: disabled [ 287.242221][ T28] Rebooting in 86400 seconds..