./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2338146518 <...> Warning: Permanently added '10.128.0.146' (ECDSA) to the list of known hosts. execve("./syz-executor2338146518", ["./syz-executor2338146518"], 0x7ffdafe3e080 /* 10 vars */) = 0 brk(NULL) = 0x5555571b6000 brk(0x5555571b6c40) = 0x5555571b6c40 arch_prctl(ARCH_SET_FS, 0x5555571b6300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2338146518", 4096) = 28 brk(0x5555571d7c40) = 0x5555571d7c40 brk(0x5555571d8000) = 0x5555571d8000 mprotect(0x7fefcf268000, 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=0x5555571b65d0) = 5085 ./strace-static-x86_64: Process 5085 attached [pid 5085] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5085] setpgid(0, 0) = 0 [pid 5085] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5085] write(3, "1000", 4) = 4 [pid 5085] close(3) = 0 [pid 5085] memfd_create("syzkaller", 0) = 3 [pid 5085] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fefc6dad000 [pid 5085] 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"..., 1048576) = 1048576 [pid 5085] munmap(0x7fefc6dad000, 1048576) = 0 [pid 5085] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 syzkaller login: [ 78.100427][ T5085] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5085 'syz-executor233' [pid 5085] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5085] close(3) = 0 [pid 5085] mkdir("./file0", 0777) = 0 [pid 5085] mount("/dev/loop0", "./file0", "ext4", MS_DIRSYNC, ",errors=continue") = 0 [pid 5085] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5085] chdir("./file0") = 0 [pid 5085] ioctl(4, LOOP_CLR_FD) = 0 [pid 5085] close(4) = 0 [pid 5085] chdir("./file0") = 0 [pid 5085] open(".", O_RDONLY) = 4 [ 78.141656][ T5085] loop0: detected capacity change from 0 to 2048 [ 78.165274][ T5085] EXT4-fs (loop0): warning: checktime reached, running e2fsck is recommended [ 78.178671][ T5085] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: none. [pid 5085] mkdirat(4, "\x13\x13\x77\xc5\xfc\x35\xd4\x14\x54\xd5\xd4\x1d\x29\xad\x1a\x60\x29\x59\x81\x46\xe6\xbe\x16\x6e\x41\xad\x0d\xbd\x40\x54\x03\x3c\x9f\x33\xbb\xda\x82\x24\xa2\xf3\xd7\x72\xe7\x63\x6e\x48\xb3\x3c\xbf\x70\x83\x72\xe8\xf1\xb9\x93\x3e\xc5\x12\x77\x43\xbe\x22\x06\x20\x9e\xf0\x2d\xf9\xcb\xf2\xf6\xe8\x80\xd3\x38\x2f", 000 [pid 5084] kill(-5085, SIGKILL) = 0 [pid 5084] kill(5085, SIGKILL) = 0 [pid 5084] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5084] fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 [pid 5084] getdents64(3, 0x5555571b7620 /* 2 entries */, 32768) = 48 [pid 5084] getdents64(3, 0x5555571b7620 /* 0 entries */, 32768) = 0 [pid 5084] close(3) = 0 [ 91.584411][ T1138] cfg80211: failed to load regulatory.db [ 286.142617][ T28] INFO: task syz-executor233:5085 blocked for more than 143 seconds. [ 286.150830][ T28] Not tainted 6.2.0-next-20230223-syzkaller #0 [ 286.157584][ T28] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 286.166426][ T28] task:syz-executor233 state:D stack:26008 pid:5085 ppid:5084 flags:0x00004004 [ 286.175751][ T28] Call Trace: [ 286.179057][ T28] [ 286.182007][ T28] __schedule+0x24b4/0x5ac0 [ 286.186683][ T28] ? print_usage_bug.part.0+0x660/0x660 [ 286.192388][ T28] ? find_held_lock+0x2d/0x110 [ 286.197198][ T28] ? io_schedule_timeout+0x150/0x150 [ 286.202599][ T28] ? mark_held_locks+0x9f/0xe0 [ 286.207417][ T28] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 286.213319][ T28] schedule+0xde/0x1a0 [ 286.217454][ T28] io_schedule+0xbe/0x130 [ 286.221807][ T28] bit_wait_io+0x16/0xe0 [ 286.226155][ T28] __wait_on_bit_lock+0x11f/0x1a0 [ 286.231228][ T28] ? out_of_line_wait_on_bit_timeout+0x170/0x170 [ 286.237635][ T28] out_of_line_wait_on_bit_lock+0xd9/0x110 [ 286.243581][ T28] ? __wait_on_bit_lock+0x1a0/0x1a0 [ 286.248815][ T28] ? group_init+0x6b0/0x6b0 [ 286.253472][ T28] ? _raw_spin_unlock+0x28/0x40 [ 286.258376][ T28] __sync_dirty_buffer+0x30e/0x380 [ 286.263675][ T28] __ext4_handle_dirty_metadata+0x2b7/0x8e0 [ 286.269673][ T28] ext4_handle_dirty_dirblock+0x371/0x470 [ 286.275535][ T28] ? ext4_rename_dir_prepare+0x7b0/0x7b0 [ 286.281231][ T28] ? ext4_init_dot_dotdot+0x3d7/0x5a0 [ 286.286735][ T28] ext4_convert_inline_data_nolock+0xac1/0xf10 [ 286.293002][ T28] ? ext4_destroy_inline_data_nolock+0x580/0x580 [ 286.299399][ T28] ? down_write_killable_nested+0x250/0x250 [ 286.305528][ T28] ? get_max_inline_xattr_value_size+0x114/0x560 [ 286.311924][ T28] ext4_try_add_inline_entry+0x473/0x8d0 [ 286.317646][ T28] ? ext4_set_context+0x5a0/0x5a0 [ 286.322874][ T28] ? ext4_da_write_inline_data_begin+0x1270/0x1270 [ 286.329443][ T28] ? ext4_reserve_inode_write+0x11c/0x270 [ 286.335255][ T28] ext4_add_entry+0x80d/0xe30 [ 286.340006][ T28] ? ext4_mkdir+0x404/0xb20 [ 286.344665][ T28] ? ext4_expand_extra_isize+0x5e0/0x5e0 [ 286.350370][ T28] ? make_indexed_dir+0x1080/0x1080 [ 286.355824][ T28] ext4_mkdir+0x42e/0xb20 [ 286.360231][ T28] ? ext4_init_new_dir+0x4c0/0x4c0 [ 286.365461][ T28] ? inode_permission.part.0+0xb5/0x520 [ 286.371122][ T28] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 286.376247][ T28] vfs_mkdir+0x242/0x460 [ 286.380644][ T28] do_mkdirat+0x28d/0x310 [ 286.385100][ T28] ? __ia32_sys_mknod+0xb0/0xb0 [ 286.390022][ T28] ? getname_flags.part.0+0x1dd/0x4f0 [ 286.395489][ T28] __x64_sys_mkdirat+0x119/0x170 [ 286.400474][ T28] do_syscall_64+0x39/0xb0 [ 286.405025][ T28] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 286.411002][ T28] RIP: 0033:0x7fefcf1fa249 [ 286.415508][ T28] RSP: 002b:00007fff4001b058 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 286.424046][ T28] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fefcf1fa249 [ 286.432060][ T28] RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004 [ 286.440135][ T28] RBP: 0000000000000000 R08: 00007fefcf268ec0 R09: 00007fefcf268ec0 [ 286.448257][ T28] R10: 00007fefcf268ec0 R11: 0000000000000246 R12: 00007fff4001b080 [ 286.456289][ T28] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 286.464361][ T28] [ 286.467410][ T28] [ 286.467410][ T28] Showing all locks held in the system: [ 286.475194][ T28] 1 lock held by rcu_tasks_kthre/12: [ 286.480508][ T28] #0: ffffffff8c796bf0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 [ 286.491125][ T28] 1 lock held by rcu_tasks_trace/13: [ 286.496515][ T28] #0: ffffffff8c7968f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 [ 286.507640][ T28] 1 lock held by khungtaskd/28: [ 286.512544][ T28] #0: ffffffff8c797740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 [ 286.522559][ T28] 2 locks held by getty/4762: [ 286.527260][ T28] #0: ffff888027e84098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 [ 286.537171][ T28] #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 [ 286.547556][ T28] 3 locks held by syz-executor233/5085: [ 286.553164][ T28] #0: ffff888021446460 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 [ 286.562695][ T28] #1: ffff888077602218 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 [ 286.573451][ T28] #2: ffff888077601ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0x10c/0x8d0 [ 286.584072][ T28] [ 286.586410][ T28] ============================================= [ 286.586410][ T28] [ 286.594874][ T28] NMI backtrace for cpu 1 [ 286.599221][ T28] CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-next-20230223-syzkaller #0 [ 286.608164][ T28] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 [ 286.618219][ T28] Call Trace: [ 286.621499][ T28] [ 286.624448][ T28] dump_stack_lvl+0xd9/0x150 [ 286.629112][ T28] nmi_cpu_backtrace+0x316/0x3e0 [ 286.634077][ T28] nmi_trigger_cpumask_backtrace+0x3a7/0x460 [ 286.640100][ T28] ? lapic_can_unplug_cpu+0xa0/0xa0 [ 286.645353][ T28] watchdog+0xe94/0x11e0 [ 286.649659][ T28] ? proc_dohung_task_timeout_secs+0x80/0x80 [ 286.655662][ T28] kthread+0x2e8/0x3a0 [ 286.659775][ T28] ? kthread_complete_and_exit+0x40/0x40 [ 286.665450][ T28] ret_from_fork+0x1f/0x30 [ 286.669903][ T28] [ 286.673031][ T28] Sending NMI from CPU 1 to CPUs 0: [ 286.678276][ C0] NMI backtrace for cpu 0 [ 286.678287][ C0] CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.2.0-next-20230223-syzkaller #0 [ 286.678312][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 [ 286.678326][ C0] Workqueue: events_unbound toggle_allocation_gate [ 286.678420][ C0] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 [ 286.678451][ C0] Code: 96 aa 97 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 dd 12 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 [ 286.678473][ C0] RSP: 0018:ffffc900001079c8 EFLAGS: 00000246 [ 286.678489][ C0] RAX: 0000000000000000 RBX: ffffc90000107a80 RCX: ffffffff8a0c109b [ 286.678505][ C0] RDX: ffff8880167c3a80 RSI: 0000000000000000 RDI: 0000000000000001 [ 286.678519][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 [ 286.678533][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 286.678546][ C0] R13: 000000000000000f R14: dffffc0000000000 R15: 1ffff92000020f4a [ 286.678562][ C0] FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 286.678595][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 286.678610][ C0] CR2: 000055bcf93c7680 CR3: 000000000c571000 CR4: 00000000003506f0 [ 286.678624][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 286.678637][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 286.678650][ C0] Call Trace: [ 286.678655][ C0] [ 286.678660][ C0] insn_get_sib+0x59/0x330 [ 286.678701][ C0] insn_get_displacement+0x34a/0x6c0 [ 286.678736][ C0] insn_decode+0x35f/0x3b0 [ 286.678767][ C0] ? kmem_cache_alloc_bulk+0x1b8/0x860 [ 286.678789][ C0] text_poke_loc_init+0xbc/0x4d0 [ 286.678864][ C0] ? arch_jump_label_transform_queue+0x5c/0x100 [ 286.678910][ C0] ? text_poke_memcpy+0x10/0x10 [ 286.678949][ C0] ? kmem_cache_alloc_bulk+0x1b8/0x860 [ 286.678972][ C0] ? __jump_label_patch+0x173/0x340 [ 286.679000][ C0] arch_jump_label_transform_queue+0x98/0x100 [ 286.679030][ C0] __jump_label_update+0x12e/0x410 [ 286.679092][ C0] jump_label_update+0x32f/0x410 [ 286.679127][ C0] static_key_disable_cpuslocked+0x156/0x1b0 [ 286.679162][ C0] static_key_disable+0x1a/0x20 [ 286.679194][ C0] toggle_allocation_gate+0x143/0x230 [ 286.679229][ C0] ? wake_up_kfence_timer+0x30/0x30 [ 286.679262][ C0] ? trace_lock_acquire+0x1f1/0x2b0 [ 286.679296][ C0] process_one_work+0x9bf/0x1820 [ 286.679353][ C0] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 286.679385][ C0] ? rcu_read_lock_sched_held+0x3e/0x70 [ 286.679417][ C0] ? spin_bug+0x1c0/0x1c0 [ 286.679445][ C0] ? lock_acquire+0x32/0xc0 [ 286.679471][ C0] ? worker_thread+0x16d/0x1090 [ 286.679506][ C0] worker_thread+0x669/0x1090 [ 286.679544][ C0] ? process_one_work+0x1820/0x1820 [ 286.679577][ C0] kthread+0x2e8/0x3a0 [ 286.679603][ C0] ? kthread_complete_and_exit+0x40/0x40 [ 286.679633][ C0] ret_from_fork+0x1f/0x30 [ 286.679675][ C0] [ 286.679683][ C0] INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.406 msecs [ 286.680275][ T28] Kernel panic - not syncing: hung_task: blocked tasks [ 286.988819][ T28] CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-next-20230223-syzkaller #0 [ 286.997790][ T28] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 [ 287.007857][ T28] Call Trace: [ 287.011144][ T28] [ 287.014090][ T28] dump_stack_lvl+0xd9/0x150 [ 287.018719][ T28] panic+0x61b/0x6c0 [ 287.022704][ T28] ? panic_smp_self_stop+0x90/0x90 [ 287.027858][ T28] ? irq_work_claim+0x76/0x90 [ 287.032613][ T28] ? irq_work_queue+0x2d/0x80 [ 287.037320][ T28] ? watchdog+0xc20/0x11e0 [ 287.041779][ T28] watchdog+0xc31/0x11e0 [ 287.046054][ T28] ? proc_dohung_task_timeout_secs+0x80/0x80 [ 287.052061][ T28] kthread+0x2e8/0x3a0 [ 287.056174][ T28] ? kthread_complete_and_exit+0x40/0x40 [ 287.061838][ T28] ret_from_fork+0x1f/0x30 [ 287.066325][ T28] [ 287.069508][ T28] Kernel Offset: disabled [ 287.073852][ T28] Rebooting in 86400 seconds..