Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 0 UID: 0 PID: 13528 Comm: syz.3.1370 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:move_to_new_folio+0x277/0xc20 mm/migrate.c:1052
Code: fc ff df 48 89 44 24 50 42 80 3c 20 00 74 08 48 89 df e8 cc 38 fe ff 48 89 5c 24 48 48 8b 1b 48 83 c3 60 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 aa 38 fe ff 48 8b 1b 48 85 db 0f
RSP: 0018:ffffc9000bd46880 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888062d95a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000bd46b90 R08: ffffffff8207b31f R09: 1ffff1100495cf4b
R10: dffffc0000000000 R11: ffffed100495cf4c R12: dffffc0000000000
R13: ffff888024ae7930 R14: ffffea0002d13400 R15: 1ffffd4000103c38
FS:  00007fa0b57426c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc5edb95f98 CR3: 000000005981e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 migrate_folio_move mm/migrate.c:1368 [inline]
 migrate_pages_batch+0x1d1b/0x2a90 mm/migrate.c:1899
 migrate_pages_sync mm/migrate.c:1965 [inline]
 migrate_pages+0x1d57/0x3380 mm/migrate.c:2074
 compact_zone+0x3404/0x4ac0 mm/compaction.c:2641
 compact_node mm/compaction.c:2910 [inline]
 compact_nodes mm/compaction.c:2932 [inline]
 sysctl_compaction_handler+0x496/0x990 mm/compaction.c:2983
 proc_sys_call_handler+0x5ec/0x920 fs/proc/proc_sysctl.c:601
 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743
 do_splice_from fs/splice.c:941 [inline]
 direct_splice_actor+0x11b/0x220 fs/splice.c:1164
 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0x289/0x3e0 fs/splice.c:1233
 do_sendfile+0x564/0x8a0 fs/read_write.c:1363
 __do_sys_sendfile64 fs/read_write.c:1418 [inline]
 __se_sys_sendfile64+0x100/0x1e0 fs/read_write.c:1410
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa0b4985d29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa0b5742038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa0b4b75fa0 RCX: 00007fa0b4985d29
RDX: 00000000200000c0 RSI: 0000000000000003 RDI: 0000000000000007
RBP: 00007fa0b4a01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa0b4b75fa0 R15: 00007fa0b4c9fa28
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:move_to_new_folio+0x277/0xc20 mm/migrate.c:1052
Code: fc ff df 48 89 44 24 50 42 80 3c 20 00 74 08 48 89 df e8 cc 38 fe ff 48 89 5c 24 48 48 8b 1b 48 83 c3 60 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 aa 38 fe ff 48 8b 1b 48 85 db 0f
RSP: 0018:ffffc9000bd46880 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888062d95a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000bd46b90 R08: ffffffff8207b31f R09: 1ffff1100495cf4b
R10: dffffc0000000000 R11: ffffed100495cf4c R12: dffffc0000000000
R13: ffff888024ae7930 R14: ffffea0002d13400 R15: 1ffffd4000103c38
FS:  00007fa0b57426c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558add3c0088 CR3: 000000005981e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	df 48 89             	fisttps -0x77(%rax)
   3:	44 24 50             	rex.R and $0x50,%al
   6:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   b:	74 08                	je     0x15
   d:	48 89 df             	mov    %rbx,%rdi
  10:	e8 cc 38 fe ff       	call   0xfffe38e1
  15:	48 89 5c 24 48       	mov    %rbx,0x48(%rsp)
  1a:	48 8b 1b             	mov    (%rbx),%rbx
  1d:	48 83 c3 60          	add    $0x60,%rbx
  21:	48 89 d8             	mov    %rbx,%rax
  24:	48 c1 e8 03          	shr    $0x3,%rax
* 28:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2d:	74 08                	je     0x37
  2f:	48 89 df             	mov    %rbx,%rdi
  32:	e8 aa 38 fe ff       	call   0xfffe38e1
  37:	48 8b 1b             	mov    (%rbx),%rbx
  3a:	48 85 db             	test   %rbx,%rbx
  3d:	0f                   	.byte 0xf