syzbot


freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned

Status: fixed on 2023/08/03 02:02
Reported-by: syzbot+daa680cf9d09aaabf3cf@syzkaller.appspotmail.com
Fix commit: b7370efade86 Revert "vm_phys_enqueue_contig: handle npages==0"
First crash: 479d, last: 479d

Sample crash report:
panic: vm_phys_enq_range: page 0xfffffe0000000000 and npages 0 are misaligned
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xffffffff849799b0
kdb_backtrace() at kdb_backtrace+0xd0/frame 0xffffffff84979b10
vpanic() at vpanic+0x24b/frame 0xffffffff84979bf0
panic() at panic+0xb5/frame 0xffffffff84979cb0
vm_phys_enq_range() at vm_phys_enq_range+0x2a7/frame 0xffffffff84979d00
vm_phys_enqueue_contig() at vm_phys_enqueue_contig+0x17c/frame 0xffffffff84979d70
vm_page_startup() at vm_page_startup+0x1458/frame 0xffffffff84979e90
vm_mem_init() at vm_mem_init+0x2d/frame 0xffffffff84979eb0
mi_startup() at mi_startup+0x4b7/frame 0xffffffff84979ff0
btext() at btext+0x3d
KDB: enter: panic
serialport: Connected to syzkaller.us-central1-c.ci-freebsd-main-test-0 port 1 (session ID: 30402e89e1d4832bcc4c36b8f126eefe4f47dd925c0c729f18433e3a53864d29, active connections: 1).

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/02 09:32 freebsd-src cfd05de19467 df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 09:32 freebsd-src cfd05de19467 df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 09:32 freebsd-src cfd05de19467 df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:11 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:11 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:11 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:02 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:02 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:02 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-main freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 10:12 freebsd-src 67365116239d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 10:12 freebsd-src 67365116239d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 10:12 freebsd-src 67365116239d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:52 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:52 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 08:52 freebsd-src 3514686b344d df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:41 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:41 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
2023/08/02 05:41 freebsd-src 1a7fcf6d51eb df07ffe8 console log report ci-freebsd-i386 freebsd boot error: panic: vm_phys_enq_range: page ADDR and npages NUM are misaligned
* Struck through repros no longer work on HEAD.