loop0: detected capacity change from 0 to 4096 ntfs3(loop0): Different NTFS sector size (4096) and media sector size (512). ntfs3(loop0): ino=1b, "file0" attr_set_size ntfs3(loop0): Mark volume as dirty due to NTFS errors syz.0.0[5337] bad frame in rt_sigreturn frame:00007f6b7951b050 ip:0 sp:7f6b7951b6c0 orax:ffffffffffffffff ------------[ cut here ]------------ kernel BUG at include/linux/highmem.h:269! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5337 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:269 Code: 07 02 e9 47 fe ff ff e8 63 f1 a3 fe 89 ea be 00 10 00 00 48 c7 c7 d0 f1 cf 8e e8 20 7d 07 02 e9 d3 fe ff ff e8 46 f1 a3 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0000:ffffc9000d2c6be0 EFLAGS: 00010283 RAX: ffffffff82f1ebda RBX: ffffea00014d3a00 RCX: 0000000000100000 RDX: ffffc9000e5fa000 RSI: 000000000001ec33 RDI: 000000000001ec34 RBP: 0000000000001000 R08: ffffffff82f1ea15 R09: 1ffffd400029a740 R10: dffffc0000000000 R11: fffff9400029a741 R12: 0000000000001bd9 R13: 0000000000000000 R14: 1ffffd400029a740 R15: 0000000000001bd9 FS: 00007f6b7951b6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b78a70300 CR3: 0000000040524000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_zero_range include/linux/highmem.h:641 [inline] ntfs_extend_initialized_size+0x50b/0x950 fs/ntfs3/file.c:225 ntfs_extend+0x578/0xad0 fs/ntfs3/file.c:413 ntfs_file_write_iter+0x403/0x7a0 fs/ntfs3/file.c:1254 __kernel_write_iter+0x42a/0x940 fs/read_write.c:612 __kernel_write+0x120/0x180 fs/read_write.c:632 __dump_emit+0x237/0x360 fs/coredump.c:807 writenote+0x221/0x3b0 fs/binfmt_elf.c:1469 write_note_info fs/binfmt_elf.c:1957 [inline] elf_core_dump+0x38a0/0x4790 fs/binfmt_elf.c:2114 do_coredump+0x229b/0x3100 fs/coredump.c:758 get_signal+0x140b/0x1750 kernel/signal.c:3001 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] irqentry_exit_to_user_mode+0x7e/0x250 kernel/entry/common.c:231 exc_general_protection+0x410/0x5d0 arch/x86/kernel/traps.c:693 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:617 RIP: 0033:0x7f6b7871bf9e Code: 00 00 48 c1 ca 11 64 48 33 14 25 30 00 00 00 48 8b 1f 4c 8b 67 10 4c 8b 6f 18 4c 8b 77 20 4c 8b 7f 28 89 f0 4c 89 c4 4c 89 cd e2 48 89 e6 e9 18 af 01 00 0f 1f 84 00 00 00 00 00 4c 8b 47 30 RSP: 002b:a85ab9c689d20e47 EFLAGS: 00050286 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: a85ab9c689d20e47 RSI: 0000000000000001 RDI: 00007f6b7951b588 RBP: a85ab9c689d20e47 R08: a85ab9c689d20e47 R09: a85ab9c689d20e47 R10: 00000d19ffffffff R11: 00007f6b788cb2c8 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:269 Code: 07 02 e9 47 fe ff ff e8 63 f1 a3 fe 89 ea be 00 10 00 00 48 c7 c7 d0 f1 cf 8e e8 20 7d 07 02 e9 d3 fe ff ff e8 46 f1 a3 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0000:ffffc9000d2c6be0 EFLAGS: 00010283 RAX: ffffffff82f1ebda RBX: ffffea00014d3a00 RCX: 0000000000100000 RDX: ffffc9000e5fa000 RSI: 000000000001ec33 RDI: 000000000001ec34 RBP: 0000000000001000 R08: ffffffff82f1ea15 R09: 1ffffd400029a740 R10: dffffc0000000000 R11: fffff9400029a741 R12: 0000000000001bd9 R13: 0000000000000000 R14: 1ffffd400029a740 R15: 0000000000001bd9 FS: 00007f6b7951b6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b78a70300 CR3: 0000000040524000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400