ntfs3: loop4: Different NTFS' sector size (1024) and media sector size (512) BUG: unable to handle page fault for address: ffffed11040a93b7 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23ffef067 P4D 23ffef067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4575 Comm: syz.4.61 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline] RIP: 0010:need_resched include/linux/sched.h:2111 [inline] RIP: 0010:preempt_schedule_irq+0xf6/0x150 kernel/sched/core.c:6783 Code: 30 6e cd f7 bf 01 00 00 00 e8 26 f8 a0 f7 65 48 8b 1d be f7 51 76 48 89 df be 08 00 00 00 e8 e1 b0 0b f8 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 91 48 89 df e8 3b af 0b f8 eb 87 48 c7 04 24 0e RSP: 0018:ffffc90003b979e0 EFLAGS: 00010806 RAX: 1ffff110040a93b8 RBX: ffff888020549dc0 RCX: ffffffff89b0780f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888020549dc0 RBP: ffffc90003b97a90 R08: dffffc0000000000 R09: ffffed10040a93b9 R10: ffffed10040a93b9 R11: 1ffff110040a93b8 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000772f3c FS: 00007fc579bb26c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed11040a93b7 CR3: 000000005b614000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Code: fe ff ff 00 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 90 90 90 90 90 90 48 89 f8 48 89 d1 a4 c3 90 90 90 90 90 90 90 48 89 f8 48 83 fa 20 72 7e 40 38 fe RSP: 0018:ffffc90003b97b58 EFLAGS: 00010202 RAX: ffff888060e1e000 RBX: 0000000000000000 RCX: 0000000000000970 RDX: 0000000000000a00 RSI: ffff888059aeb090 RDI: ffff888060e1e090 RBP: ffffc90003b97d28 R08: dffffc0000000000 R09: ffffed100c1c3d40 R10: 0000000000000000 R11: 0000000000000140 R12: ffff888025e98000 R13: ffffea000166bac0 R14: ffff8880253ae1f0 R15: 0000000000000000 ntfs_fill_super+0x302e/0x3c10 fs/ntfs3/super.c:1153 get_tree_bdev+0x3f1/0x610 fs/super.c:1325 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3014 do_mount fs/namespace.c:3357 [inline] __do_sys_mount fs/namespace.c:3565 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3542 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc57b94c38a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc579bb1e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc579bb1ef0 RCX: 00007fc57b94c38a RDX: 00002000000000c0 RSI: 00002000000001c0 RDI: 00007fc579bb1eb0 RBP: 00002000000000c0 R08: 00007fc579bb1ef0 R09: 0000000000800014 R10: 0000000000800014 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007fc579bb1eb0 R14: 000000000001f854 R15: 00002000000004c0 Modules linked in: CR2: ffffed11040a93b7 ---[ end trace afeb327bd9d01782 ]--- RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline] RIP: 0010:need_resched include/linux/sched.h:2111 [inline] RIP: 0010:preempt_schedule_irq+0xf6/0x150 kernel/sched/core.c:6783 Code: 30 6e cd f7 bf 01 00 00 00 e8 26 f8 a0 f7 65 48 8b 1d be f7 51 76 48 89 df be 08 00 00 00 e8 e1 b0 0b f8 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 91 48 89 df e8 3b af 0b f8 eb 87 48 c7 04 24 0e RSP: 0018:ffffc90003b979e0 EFLAGS: 00010806 RAX: 1ffff110040a93b8 RBX: ffff888020549dc0 RCX: ffffffff89b0780f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888020549dc0 RBP: ffffc90003b97a90 R08: dffffc0000000000 R09: ffffed10040a93b9 R10: ffffed10040a93b9 R11: 1ffff110040a93b8 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000772f3c FS: 00007fc579bb26c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed11040a93b7 CR3: 000000005b614000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 30 6e cd xor %ch,-0x33(%rsi) 3: f7 bf 01 00 00 00 idivl 0x1(%rdi) 9: e8 26 f8 a0 f7 call 0xf7a0f834 e: 65 48 8b 1d be f7 51 mov %gs:0x7651f7be(%rip),%rbx # 0x7651f7d4 15: 76 16: 48 89 df mov %rbx,%rdi 19: be 08 00 00 00 mov $0x8,%esi 1e: e8 e1 b0 0b f8 call 0xf80bb104 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 91 je 0xffffffc2 31: 48 89 df mov %rbx,%rdi 34: e8 3b af 0b f8 call 0xf80baf74 39: eb 87 jmp 0xffffffc2 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: 04 24 add $0x24,%al 3f: 0e (bad)