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

0 views
Skip to first unread message

syzbot

unread,
Aug 2, 2023, 1:04:15 AM8/2/23
to syzkaller-f...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1a7fcf6d51eb vm_phys_enqueue_contig: handle npages==0
git tree: freebsd-src
console output: https://syzkaller.appspot.com/x/log.txt?x=110ed76ea80000
dashboard link: https://syzkaller.appspot.com/bug?extid=daa680cf9d09aaabf3cf

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+daa680...@syzkaller.appspotmail.com

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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

Mark Johnston

unread,
Aug 2, 2023, 11:19:00 AM8/2/23
to syzbot, syzkaller-f...@googlegroups.com
On Tue, Aug 01, 2023 at 10:04:13PM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 1a7fcf6d51eb vm_phys_enqueue_contig: handle npages==0
> git tree: freebsd-src
> console output: https://syzkaller.appspot.com/x/log.txt?x=110ed76ea80000
> dashboard link: https://syzkaller.appspot.com/bug?extid=daa680cf9d09aaabf3cf
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+daa680...@syzkaller.appspotmail.com
>
> 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

#syz fix: Revert "vm_phys_enqueue_contig: handle npages==0"
Reply all
Reply to author
Forward
0 new messages