syzbot
kernel BUG in mark_free_pages
Status:
upstream: reported C repro on 2026/10/05 05:28
Subsystems:
pm
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+609c80047e3e808b465c@syzkaller.appspotmail.com
First crash: 20h37m, last: 7h21m
Sample crash report:
Freezing user space processes
Freezing user space processes completed (elapsed 0.009 seconds)
OOM killer disabled.
PM: hibernation: Preallocating image memory
page:ffffea0005400000 is uninitialized and poisoned
page dumped because: VM_BUG_ON_PAGE(PagePoisoned(page))
There is not page extension available.
------------[ cut here ]------------
kernel BUG at ./include/linux/mm.h:2402!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5632 Comm: syz-executor292 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2026
RIP: 0010:page_to_nid include/linux/mm.h:2402 [inline]
RIP: 0010:page_zone include/linux/mm.h:2622 [inline]
RIP: 0010:mark_free_pages+0x49a/0x4b0 kernel/power/snapshot.c:1266
Code: 5d e9 3a b9 44 0a e8 15 c9 22 00 90 0f 0b e8 0d fe 41 0a e8 08 c9 22 00 48 8b 7c 24 08 48 c7 c6 64 6c 48 8e e8 97 db 82 ff 90 <0f> 0b e8 ef c8 22 00 90 0f 0b e8 e7 c8 22 00 90 0f 0b 0f 1f 40 00
RSP: 0018:ffffc900035a7ad8 EFLAGS: 00010046
RAX: 26156de6b9890800 RBX: 0000000000010000 RCX: 26156de6b9890800
RDX: 0000000000000000 RSI: 8000000000000001 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8f6917a3 R09: 1ffffffff1ed22f4
R10: dffffc0000000000 R11: fffffbfff1ed22f5 R12: ffff88823fff8100
R13: 0000000000150000 R14: ffffffffffffffff R15: 0300000000000000
FS: 00007f23975186c0(0000) GS:ffff888124cc6000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe53995418 CR3: 0000000021bc3000 CR4: 0000000000350ef0
Call Trace:
<TASK>
count_data_pages kernel/power/snapshot.c:1417 [inline]
hibernate_preallocate_memory+0x14f/0x750 kernel/power/snapshot.c:1859
hibernation_snapshot+0xd5/0x3d0 kernel/power/hibernate.c:416
hibernate+0x28f/0x680 kernel/power/hibernate.c:813
state_store+0x234/0x290 kernel/power/main.c:821
kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f23975400a9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 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 d0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f23975181d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f23975f0b48 RCX: 00007f23975400a9
RDX: 0000000000000005 RSI: 0000200000000100 RDI: 0000000000000003
RBP: 00007f23975f0b40 R08: 35203a6b63617473 R09: 35203a6b63617473
R10: 35203a6b63617473 R11: 0000000000000246 R12: 00007f23975c2378
R13: 0000200000000500 R14: 0000200000000600 R15: 00656e696c66666f
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:page_to_nid include/linux/mm.h:2402 [inline]
RIP: 0010:page_zone include/linux/mm.h:2622 [inline]
RIP: 0010:mark_free_pages+0x49a/0x4b0 kernel/power/snapshot.c:1266
Code: 5d e9 3a b9 44 0a e8 15 c9 22 00 90 0f 0b e8 0d fe 41 0a e8 08 c9 22 00 48 8b 7c 24 08 48 c7 c6 64 6c 48 8e e8 97 db 82 ff 90 <0f> 0b e8 ef c8 22 00 90 0f 0b e8 e7 c8 22 00 90 0f 0b 0f 1f 40 00
RSP: 0018:ffffc900035a7ad8 EFLAGS: 00010046
RAX: 26156de6b9890800 RBX: 0000000000010000 RCX: 26156de6b9890800
RDX: 0000000000000000 RSI: 8000000000000001 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8f6917a3 R09: 1ffffffff1ed22f4
R10: dffffc0000000000 R11: fffffbfff1ed22f5 R12: ffff88823fff8100
R13: 0000000000150000 R14: ffffffffffffffff R15: 0300000000000000
FS: 00007f23975186c0(0000) GS:ffff888124cc6000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe53995418 CR3: 0000000021bc3000 CR4: 0000000000350ef0
* Struck through repros no longer work on HEAD.