./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor430947811 <...> Warning: Permanently added '10.128.0.226' (ED25519) to the list of known hosts. execve("./syz-executor430947811", ["./syz-executor430947811"], 0x7ffe7ce66ff0 /* 10 vars */) = 0 brk(NULL) = 0x55557674e000 brk(0x55557674ed00) = 0x55557674ed00 arch_prctl(ARCH_SET_FS, 0x55557674e380) = 0 set_tid_address(0x55557674e650) = 5090 set_robust_list(0x55557674e660, 24) = 0 rseq(0x55557674eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor430947811", 4096) = 27 getrandom("\xcb\x7a\x31\x8e\xd8\xa1\xf9\x75", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557674ed00 brk(0x55557676fd00) = 0x55557676fd00 brk(0x555576770000) = 0x555576770000 mprotect(0x7fd453ad8000, 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 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd44b600000 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"..., 20699119) = 20699119 munmap(0x7fd44b600000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./bus", 0777) = 0 [ 57.868350][ T5090] loop0: detected capacity change from 0 to 40427 [ 57.893382][ T5090] F2FS-fs (loop0): Invalid log_blocksize (268), supports only 12 [ 57.901438][ T5090] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock mount("/dev/loop0", "./bus", "f2fs", MS_SYNCHRONOUS|MS_NOATIME|MS_SILENT|MS_LAZYTIME, "fastboot,quota") = 0 openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 chdir("./bus") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_SYNC|O_NOATIME|FASYNC, 000) = 4 mount("/dev/loop0", "./bus", NULL, MS_BIND, NULL) = 0 open("./bus", O_RDONLY) = 5 ioctl(5, BLKROSET, [3]) = 0 [ 57.919109][ T5090] F2FS-fs (loop0): Found nat_bits in checkpoint [ 57.951249][ T5090] F2FS-fs (loop0): Try to recover 1th superblock, ret: 0 [ 57.958651][ T5090] F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5 openat(AT_FDCWD, "net_prio.prioidx", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 6 [ 58.013237][ T5090] ------------[ cut here ]------------ [ 58.018905][ T5090] kernel BUG at fs/f2fs/inline.c:258! [ 58.024318][ T5090] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 58.024333][ T5090] CPU: 1 PID: 5090 Comm: syz-executor430 Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 [ 58.024344][ T5090] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 58.024350][ T5090] RIP: 0010:f2fs_write_inline_data+0x781/0x790 [ 58.024383][ T5090] Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e3 fc ff ff 48 89 df e8 ff a4 09 fe e9 d6 fc ff ff e8 25 22 9a 07 e8 a0 b7 a3 fd 90 <0f> 0b e8 98 b7 a3 fd 90 0f 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 [ 58.024391][ T5090] RSP: 0018:ffffc9000343eb00 EFLAGS: 00010293 [ 58.024401][ T5090] RAX: ffffffff83f2c450 RBX: 0000000000000001 RCX: ffff88807f750000 [ 58.024408][ T5090] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 58.024414][ T5090] RBP: ffffc9000343ec30 R08: ffffffff83f2bf15 R09: 1ffff1100f0ed1ad [ 58.024422][ T5090] R10: dffffc0000000000 R11: ffffed100f0ed1ae R12: ffffc9000343eb88 [ 58.024429][ T5090] R13: 1ffff1100f0ed1ad R14: ffffc9000343eb80 R15: ffffc9000343eb90 [ 58.024436][ T5090] FS: 000055557674e380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 58.024444][ T5090] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.024451][ T5090] CR2: 0000000020002000 CR3: 000000001fb2e000 CR4: 00000000003506f0 [ 58.024460][ T5090] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 58.024466][ T5090] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 58.024472][ T5090] Call Trace: [ 58.024481][ T5090] [ 58.024486][ T5090] ? __die_body+0x88/0xe0 [ 58.024500][ T5090] ? die+0xcf/0x110 [ 58.024513][ T5090] ? do_trap+0x15a/0x3a0 [ 58.024525][ T5090] ? f2fs_write_inline_data+0x781/0x790 [ 58.024539][ T5090] ? do_error_trap+0x1dc/0x2c0 [ 58.024549][ T5090] ? f2fs_write_inline_data+0x781/0x790 [ 58.024564][ T5090] ? __pfx_do_error_trap+0x10/0x10 [ 58.024578][ T5090] ? handle_invalid_op+0x34/0x40 [ 58.024588][ T5090] ? f2fs_write_inline_data+0x781/0x790 [ 58.024601][ T5090] ? exc_invalid_op+0x38/0x50 [ 58.024617][ T5090] ? asm_exc_invalid_op+0x1a/0x20 [ 58.024630][ T5090] ? f2fs_write_inline_data+0x245/0x790 [ 58.024643][ T5090] ? f2fs_write_inline_data+0x780/0x790 [ 58.024657][ T5090] ? f2fs_write_inline_data+0x781/0x790 [ 58.024672][ T5090] ? __pfx_f2fs_write_inline_data+0x10/0x10 [ 58.024685][ T5090] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 58.024700][ T5090] f2fs_write_single_data_page+0xbb6/0x1e90 [ 58.024715][ T5090] ? __pfx_f2fs_write_single_data_page+0x10/0x10 [ 58.024728][ T5090] ? mlock_drain_local+0x79/0x490 [ 58.024741][ T5090] ? mlock_drain_local+0x79/0x490 [ 58.024752][ T5090] ? mlock_drain_local+0x28d/0x490 [ 58.024765][ T5090] f2fs_write_data_pages+0x1efe/0x3a90 [ 58.024783][ T5090] ? __pfx_f2fs_write_data_pages+0x10/0x10 [ 58.024808][ T5090] ? __pfx_lock_release+0x10/0x10 [ 58.024817][ T5090] ? do_raw_spin_lock+0x14f/0x370 [ 58.024832][ T5090] ? do_raw_spin_unlock+0x13c/0x8b0 [ 58.024842][ T5090] ? __pfx_f2fs_write_data_pages+0x10/0x10 [ 58.024852][ T5090] do_writepages+0x35d/0x870 [ 58.024873][ T5090] ? __pfx_do_writepages+0x10/0x10 [ 58.024885][ T5090] ? wbc_attach_and_unlock_inode+0x317/0x580 [ 58.024900][ T5090] ? __pfx_lock_release+0x10/0x10 [ 58.024912][ T5090] ? do_raw_spin_unlock+0x13c/0x8b0 [ 58.024923][ T5090] ? wbc_attach_and_unlock_inode+0x369/0x580 [ 58.024937][ T5090] filemap_fdatawrite_wbc+0x125/0x180 [ 58.024948][ T5090] file_write_and_wait_range+0x1aa/0x290 [ 58.024959][ T5090] ? __pfx_file_write_and_wait_range+0x10/0x10 [ 58.024980][ T5090] f2fs_do_sync_file+0x68a/0x1b10 [ 58.024994][ T5090] ? __pfx_f2fs_do_sync_file+0x10/0x10 [ 58.025012][ T5090] ? __pfx_generic_perform_write+0x10/0x10 [ 58.025024][ T5090] ? __pfx_up_write+0x10/0x10 [ 58.025037][ T5090] ? f2fs_sync_file+0xec/0x160 [ 58.025048][ T5090] f2fs_file_write_iter+0x7bd/0x24e0 [ 58.025064][ T5090] ? __pfx_f2fs_file_write_iter+0x10/0x10 [ 58.025076][ T5090] ? rcu_read_lock_any_held+0xb7/0x160 [ 58.025204][ T5090] vfs_write+0xa72/0xc90 [ 58.025220][ T5090] ? __pfx_f2fs_file_write_iter+0x10/0x10 [ 58.025233][ T5090] ? __pfx_vfs_write+0x10/0x10 [ 58.025248][ T5090] ? lockdep_hardirqs_on+0x99/0x150 [ 58.025263][ T5090] ksys_write+0x1a0/0x2c0 [ 58.025276][ T5090] ? __pfx_ksys_write+0x10/0x10 [ 58.025288][ T5090] ? do_syscall_64+0x100/0x230 [ 58.025301][ T5090] do_syscall_64+0xf3/0x230 [ 58.025312][ T5090] ? clear_bhb_loop+0x35/0x90 [ 58.025324][ T5090] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.025337][ T5090] RIP: 0033:0x7fd453a5f779 [ 58.025351][ T5090] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 [ 58.025359][ T5090] RSP: 002b:00007ffc94e03488 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.025370][ T5090] RAX: ffffffffffffffda RBX: 00007ffc94e03658 RCX: 00007fd453a5f779 [ 58.025377][ T5090] RDX: 0000000000002000 RSI: 0000000020000040 RDI: 0000000000000006 [ 58.025383][ T5090] RBP: 00007fd453ad8610 R08: 00007ffc94e03658 R09: 00007ffc94e03658 [ 58.025390][ T5090] R10: 00007ffc94e03658 R11: 0000000000000246 R12: 0000000000000001 [ 58.025396][ T5090] R13: 00007ffc94e03648 R14: 0000000000000001 R15: 0000000000000001 [ 58.025405][ T5090] [ 58.025409][ T5090] Modules linked in: [ 58.025421][ T5090] ---[ end trace 0000000000000000 ]--- [ 58.538797][ T5090] RIP: 0010:f2fs_write_inline_data+0x781/0x790 [ 58.544999][ T5090] Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e3 fc ff ff 48 89 df e8 ff a4 09 fe e9 d6 fc ff ff e8 25 22 9a 07 e8 a0 b7 a3 fd 90 <0f> 0b e8 98 b7 a3 fd 90 0f 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 [ 58.564684][ T5090] RSP: 0018:ffffc9000343eb00 EFLAGS: 00010293 [ 58.570828][ T5090] RAX: ffffffff83f2c450 RBX: 0000000000000001 RCX: ffff88807f750000 [ 58.578853][ T5090] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 58.586859][ T5090] RBP: ffffc9000343ec30 R08: ffffffff83f2bf15 R09: 1ffff1100f0ed1ad [ 58.594883][ T5090] R10: dffffc0000000000 R11: ffffed100f0ed1ae R12: ffffc9000343eb88 [ 58.602924][ T5090] R13: 1ffff1100f0ed1ad R14: ffffc9000343eb80 R15: ffffc9000343eb90 [ 58.610934][ T5090] FS: 000055557674e380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 58.619886][ T5090] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.626465][ T5090] CR2: 000056082271e438 CR3: 000000001fb2e000 CR4: 00000000003506f0 [ 58.634474][ T5090] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 58.642476][ T5090] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 58.650467][ T5090] Kernel panic - not syncing: Fatal exception [ 58.656657][ T5090] Kernel Offset: disabled [ 58.660971][ T5090] Rebooting in 86400 seconds..