./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2148914174 <...> Warning: Permanently added '10.128.0.194' (ECDSA) to the list of known hosts. execve("./syz-executor2148914174", ["./syz-executor2148914174"], 0x7ffd98177f90 /* 10 vars */) = 0 brk(NULL) = 0x5555556d6000 brk(0x5555556d6c40) = 0x5555556d6c40 arch_prctl(ARCH_SET_FS, 0x5555556d6300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2148914174", 4096) = 28 brk(0x5555556f7c40) = 0x5555556f7c40 brk(0x5555556f8000) = 0x5555556f8000 mprotect(0x7fe25b44f000, 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 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe252f95000 write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\xff\xff\xff\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\xf3\x0f\x00\x00\xf7\x9a\x81\x47\x2b\x73\xcf\x43\x00\x0c\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 97703) = 97703 munmap(0x7fe252f95000, 97703) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 45.756200][ T4998] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4998 'syz-executor214' [ 45.770781][ T4998] loop0: detected capacity change from 0 to 190 [ 45.780394][ T4998] ntfs: (device loop0): is_boot_sector_ntfs(): Invalid boot sector checksum. [ 45.790737][ T4998] ntfs: (device loop0): map_mft_record_page(): Mft record 0x1 is corrupt. Run chkdsk. [ 45.800388][ T4998] ntfs: (device loop0): map_mft_record(): Failed with error code 5. [ 45.808365][ T4998] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 45.821355][ T4998] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. [ 45.834321][ T4998] ------------[ cut here ]------------ [ 45.839812][ T4998] kernel BUG at fs/ntfs/malloc.h:31! [ 45.845115][ T4998] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 45.851162][ T4998] CPU: 1 PID: 4998 Comm: syz-executor214 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 [ 45.861561][ T4998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 45.871599][ T4998] RIP: 0010:ntfs_read_locked_inode+0x40ed/0x5ae0 [ 45.877925][ T4998] Code: 15 00 00 48 8b 75 28 48 c7 c2 00 ae 81 8a 48 c7 c7 00 df 81 8a 41 bf fb ff ff ff e8 bd 45 fe ff e9 6e d0 ff ff e8 c3 0d d5 fe <0f> 0b e8 bc 0d d5 fe 49 8d 7e 26 48 b8 00 00 00 00 00 fc ff df 48 [ 45.897512][ T4998] RSP: 0018:ffffc9000397f9f8 EFLAGS: 00010293 [ 45.903563][ T4998] RAX: 0000000000000000 RBX: ffff88807ce22000 RCX: 0000000000000000 [ 45.911519][ T4998] RDX: ffff8880272f1dc0 RSI: ffffffff82af391d RDI: 0000000000000007 [ 45.919472][ T4998] RBP: ffff8880783d9be0 R08: 0000000000000007 R09: 0000000000000000 [ 45.927423][ T4998] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 45.935371][ T4998] R13: 0000000000000000 R14: ffff88802c9c0800 R15: 0000000000000000 [ 45.943324][ T4998] FS: 00005555556d6300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 45.952236][ T4998] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.958796][ T4998] CR2: 00007ffedd036000 CR3: 00000000157d9000 CR4: 0000000000350ee0 [ 45.966742][ T4998] Call Trace: [ 45.970002][ T4998] [ 45.972936][ T4998] ? die+0x32/0x90 [ 45.976648][ T4998] ? do_trap+0x1b2/0x3f0 [ 45.980867][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 45.986565][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 45.992268][ T4998] ? do_error_trap+0xb1/0x170 [ 45.996926][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.002629][ T4998] ? handle_invalid_op+0x2c/0x30 [ 46.007551][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.013250][ T4998] ? exc_invalid_op+0x2f/0x50 [ 46.017935][ T4998] ? asm_exc_invalid_op+0x1a/0x20 [ 46.022950][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.028651][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.034356][ T4998] ? ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.040064][ T4998] ? write_mft_record+0x3b0/0x3b0 [ 46.045071][ T4998] ntfs_iget+0x131/0x180 [ 46.049296][ T4998] ? ntfs_read_locked_inode+0x5ae0/0x5ae0 [ 46.055017][ T4998] ? lockdep_init_map_type+0x21e/0x810 [ 46.060462][ T4998] ntfs_fill_super+0x2ac0/0x93f0 [ 46.065385][ T4998] ? parse_options+0x1d70/0x1d70 [ 46.070304][ T4998] ? snprintf+0xbf/0x100 [ 46.074528][ T4998] ? vsprintf+0x30/0x30 [ 46.078675][ T4998] ? wait_for_completion_io_timeout+0x20/0x20 [ 46.084727][ T4998] ? set_blocksize+0x2d8/0x370 [ 46.089483][ T4998] mount_bdev+0x358/0x420 [ 46.093799][ T4998] ? parse_options+0x1d70/0x1d70 [ 46.098719][ T4998] ? ntfs_rl_punch_nolock+0x15c0/0x15c0 [ 46.104245][ T4998] legacy_get_tree+0x109/0x220 [ 46.108996][ T4998] vfs_get_tree+0x8d/0x350 [ 46.113398][ T4998] path_mount+0x134b/0x1e40 [ 46.117881][ T4998] ? kmem_cache_free+0xe9/0x480 [ 46.122721][ T4998] ? finish_automount+0x9b0/0x9b0 [ 46.127727][ T4998] ? putname+0x102/0x140 [ 46.131954][ T4998] __x64_sys_mount+0x283/0x300 [ 46.136703][ T4998] ? copy_mnt_ns+0xb30/0xb30 [ 46.141281][ T4998] ? lockdep_hardirqs_on+0x7d/0x100 [ 46.146468][ T4998] ? _raw_spin_unlock_irq+0x2e/0x50 [ 46.151652][ T4998] ? ptrace_notify+0xfe/0x140 [ 46.156311][ T4998] do_syscall_64+0x39/0xb0 [ 46.160710][ T4998] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 46.166633][ T4998] RIP: 0033:0x7fe25b3e2afa [ 46.171029][ T4998] Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 46.190623][ T4998] RSP: 002b:00007ffedd035258 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 46.199017][ T4998] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe25b3e2afa [ 46.206965][ T4998] RDX: 000000002001f1c0 RSI: 000000002001f200 RDI: 00007ffedd035270 [ 46.214909][ T4998] RBP: 00007ffedd035270 R08: 00007ffedd0352b0 R09: 0000000000000987 [ 46.222861][ T4998] R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004 [ 46.230812][ T4998] R13: 00005555556d62c0 R14: 0000000000000000 R15: 00007ffedd0352b0 [ 46.238793][ T4998] [ 46.241799][ T4998] Modules linked in: [ 46.245827][ T4998] ---[ end trace 0000000000000000 ]--- [ 46.251339][ T4998] RIP: 0010:ntfs_read_locked_inode+0x40ed/0x5ae0 [ 46.257686][ T4998] Code: 15 00 00 48 8b 75 28 48 c7 c2 00 ae 81 8a 48 c7 c7 00 df 81 8a 41 bf fb ff ff ff e8 bd 45 fe ff e9 6e d0 ff ff e8 c3 0d d5 fe <0f> 0b e8 bc 0d d5 fe 49 8d 7e 26 48 b8 00 00 00 00 00 fc ff df 48 [ 46.277410][ T4998] RSP: 0018:ffffc9000397f9f8 EFLAGS: 00010293 [ 46.283492][ T4998] RAX: 0000000000000000 RBX: ffff88807ce22000 RCX: 0000000000000000 [ 46.291483][ T4998] RDX: ffff8880272f1dc0 RSI: ffffffff82af391d RDI: 0000000000000007 [ 46.299475][ T4998] RBP: ffff8880783d9be0 R08: 0000000000000007 R09: 0000000000000000 [ 46.307429][ T4998] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 46.315426][ T4998] R13: 0000000000000000 R14: ffff88802c9c0800 R15: 0000000000000000 [ 46.323418][ T4998] FS: 00005555556d6300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 46.332377][ T4998] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.338980][ T4998] CR2: 00007ffedd036000 CR3: 00000000157d9000 CR4: 0000000000350ee0 [ 46.346936][ T4998] Kernel panic - not syncing: Fatal exception [ 46.353829][ T4998] Kernel Offset: disabled [ 46.358137][ T4998] Rebooting in 86400 seconds..