general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 1570 Comm: syz.6.269 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:3022 [inline] RIP: 0010:update_sit_entry_for_alloc fs/f2fs/segment.c:2399 [inline] RIP: 0010:update_sit_entry+0x4ce/0x1580 fs/f2fs/segment.c:2443 Code: 8b 45 d0 48 8d 58 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 ef 5e 8a ff 48 8b 1b 4c 01 fb 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6f 0f 00 00 44 0f b6 33 44 89 f0 44 08 RSP: 0000:ffffc900023468b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88811e1c8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002346990 R08: ffff888131688029 R09: 1ffff110262d1005 R10: dffffc0000000000 R11: ffffed10262d1006 R12: 0000000000000004 R13: dffffc0000000000 R14: ffff88811bd74000 R15: 0000000000000000 FS: 00007f9fe104f6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc82f47f51 CR3: 000000011b1ed000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x14a2/0x3b90 fs/f2fs/segment.c:3434 do_write_page+0x277/0xb20 fs/f2fs/segment.c:3536 f2fs_outplace_write_data+0x14f/0x300 fs/f2fs/segment.c:3609 f2fs_convert_inline_page+0x79d/0xfc0 fs/f2fs/inline.c:179 f2fs_convert_inline_inode+0x7bc/0x8b0 fs/f2fs/inline.c:232 f2fs_preallocate_blocks fs/f2fs/file.c:4753 [inline] f2fs_file_write_iter+0x12e9/0x27c0 fs/f2fs/file.c:4998 __kernel_write_iter+0x2a9/0x6a0 fs/read_write.c:517 dump_emit_page fs/coredump.c:886 [inline] dump_user_range+0x3e6/0x630 fs/coredump.c:913 elf_core_dump+0x2b60/0x30b0 fs/binfmt_elf.c:2354 do_coredump+0x160e/0x23a0 fs/coredump.c:760 get_signal+0x157d/0x1700 kernel/signal.c:2890 arch_do_signal_or_restart+0xd1/0x11c0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316 irqentry_exit+0x12/0x40 kernel/entry/common.c:419 exc_page_fault+0x5e/0xb0 arch/x86/mm/fault.c:1520 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f9fe019e159 Code: Unable to access opcode bytes at 0x7f9fe019e12f. RSP: 002b:00007f9fe104eef8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000058 RCX: 00007f9fe019e159 RDX: 00007f9fe104ef10 RSI: 0000000000000058 RDI: 00007f9fe104ef10 RBP: 00007f9fe023503b R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9fe0426038 R14: 00007f9fe0425fa0 R15: 00007ffc82f45b68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:3022 [inline] RIP: 0010:update_sit_entry_for_alloc fs/f2fs/segment.c:2399 [inline] RIP: 0010:update_sit_entry+0x4ce/0x1580 fs/f2fs/segment.c:2443 Code: 8b 45 d0 48 8d 58 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 ef 5e 8a ff 48 8b 1b 4c 01 fb 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 6f 0f 00 00 44 0f b6 33 44 89 f0 44 08 RSP: 0000:ffffc900023468b8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88811e1c8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002346990 R08: ffff888131688029 R09: 1ffff110262d1005 R10: dffffc0000000000 R11: ffffed10262d1006 R12: 0000000000000004 R13: dffffc0000000000 R14: ffff88811bd74000 R15: 0000000000000000 FS: 00007f9fe104f6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555578198948 CR3: 000000011b1ed000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8b 45 d0 mov -0x30(%rbp),%eax 3: 48 8d 58 18 lea 0x18(%rax),%rbx 7: 48 89 d8 mov %rbx,%rax a: 48 c1 e8 03 shr $0x3,%rax e: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 13: 74 08 je 0x1d 15: 48 89 df mov %rbx,%rdi 18: e8 ef 5e 8a ff call 0xff8a5f0c 1d: 48 8b 1b mov (%rbx),%rbx 20: 4c 01 fb add %r15,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 6f 0f 00 00 jne 0xfa6 37: 44 0f b6 33 movzbl (%rbx),%r14d 3b: 44 89 f0 mov %r14d,%eax 3e: 44 rex.R 3f: 08 .byte 0x8