syz-executor.0[5468]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set loop0: detected capacity change from 0 to 4096 ntfs: volume version 3.1. ------------[ cut here ]------------ kernel BUG at fs/ntfs/inode.c:2536! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5468 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-11704-g3f86ed6ec0b3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:ntfs_truncate+0x280f/0x2890 fs/ntfs/inode.c:2536 Code: 08 80 e1 07 80 c1 03 38 c1 0f 8c a7 f8 ff ff 48 8b 7c 24 08 e8 62 ea 1c ff e9 98 f8 ff ff e8 d8 00 c3 fe 0f 0b e8 d1 00 c3 fe <0f> 0b e8 ca 00 c3 fe 0f 0b e8 c3 00 c3 fe 0f 0b e8 bc 00 c3 fe 0f RSP: 0018:ffffc90004f97ad8 EFLAGS: 00010293 RAX: ffffffff82ca985f RBX: 00000000ffffffe4 RCX: ffff88801d19d940 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82ca7803 R09: 1ffff1100ec3cb62 R10: dffffc0000000000 R11: ffffed100ec3cb63 R12: ffff8880761e5ac0 R13: ffff8880761e5b10 R14: dffffc0000000000 R15: ffff888071d60c80 FS: 00007f10d2aa76c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffedab1d9b8 CR3: 0000000078a24000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_truncate_vfs fs/ntfs/inode.c:2863 [inline] ntfs_setattr+0x329/0x400 fs/ntfs/inode.c:2915 notify_change+0xb99/0xe60 fs/attr.c:499 do_truncate+0x220/0x300 fs/open.c:66 vfs_truncate+0x2e1/0x3a0 fs/open.c:112 do_sys_truncate+0xde/0x190 fs/open.c:135 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:0x7f10d1c7c859 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f10d2aa70c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f10d1d9bf80 RCX: 00007f10d1c7c859 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f10d1cd8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f10d1d9bf80 R15: 00007fffb1f28038 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_truncate+0x280f/0x2890 fs/ntfs/inode.c:2536 Code: 08 80 e1 07 80 c1 03 38 c1 0f 8c a7 f8 ff ff 48 8b 7c 24 08 e8 62 ea 1c ff e9 98 f8 ff ff e8 d8 00 c3 fe 0f 0b e8 d1 00 c3 fe <0f> 0b e8 ca 00 c3 fe 0f 0b e8 c3 00 c3 fe 0f 0b e8 bc 00 c3 fe 0f RSP: 0018:ffffc90004f97ad8 EFLAGS: 00010293 RAX: ffffffff82ca985f RBX: 00000000ffffffe4 RCX: ffff88801d19d940 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82ca7803 R09: 1ffff1100ec3cb62 R10: dffffc0000000000 R11: ffffed100ec3cb63 R12: ffff8880761e5ac0 R13: ffff8880761e5b10 R14: dffffc0000000000 R15: ffff888071d60c80 FS: 00007f10d2aa76c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa35215ed8 CR3: 0000000078a24000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400