NetBSD-Syzbot archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd boot error: panic: pmap_get_physpage: out of memory



Hello,

syzbot found the following issue on:

HEAD commit:    5b0ba9719b32 change the ARC reclaim code to use the pageda..
git tree:       netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=109e202e080000
kernel config:  https://syzkaller.appspot.com/x/.config?x=739e57438eb9ed9e
dashboard link: https://syzkaller.appspot.com/bug?extid=ca3710b4c40cdd61aa72
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63

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

[   1.0000000] panic: pmap_get_physpage: out of memory
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] vpanic() at netbsd:vpanic+0xc9d
[   1.0000000] panic() at netbsd:panic+0x1b3 sys/kern/subr_prf.c:210
[   1.0000000] pmap_get_physpage() at netbsd:pmap_get_physpage+0x5a6 sys/arch/x86/x86/pmap.c:5452
[   1.0000000] kmsan_md_shadow_map_page() at netbsd:kmsan_md_shadow_map_page+0x209 sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/msan.h:156
[   1.0000000] kmsan_shadow_map() at netbsd:kmsan_shadow_map+0xa8 sys/kern/subr_msan.c:488
[   1.0000000] pmap_growkernel() at netbsd:pmap_growkernel+0x59a sys/arch/x86/x86/pmap.c:5612
[   1.0000000] uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x8c6 sys/uvm/uvm_km.c:346
[   1.0000000] uvm_init() at netbsd:uvm_init+0x162 sys/uvm/uvm_init.c:131
[   1.0000000] main() at netbsd:main+0x37c sys/kern/init_main.c:317
[   1.0000000] cpu0: End traceback...
[   1.0000000] fatal breakpoint trap in supervisor mode
[   1.0000000] trap type 1 code 0 rip 0xffffffff802228ad cs 0x8 rflags 0x286 cr2 0 ilevel 0x8 rsp 0xffffffff86c69910
[   1.0000000] curlwp 0xffffffff86868f00 pid 0.0 lowest kstack 0xffffffff86c622c0
Stopped in pid 0.0 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0xc9d
panic() at netbsd:panic+0x1b3 sys/kern/subr_prf.c:210
pmap_get_physpage() at netbsd:pmap_get_physpage+0x5a6 sys/arch/x86/x86/pmap.c:5452
kmsan_md_shadow_map_page() at netbsd:kmsan_md_shadow_map_page+0x209 sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/msan.h:156
kmsan_shadow_map() at netbsd:kmsan_shadow_map+0xa8 sys/kern/subr_msan.c:488
pmap_growkernel() at netbsd:pmap_growkernel+0x59a sys/arch/x86/x86/pmap.c:5612
uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x8c6 sys/uvm/uvm_km.c:346
uvm_init() at netbsd:uvm_init+0x162 sys/uvm/uvm_init.c:131
main() at netbsd:main+0x37c sys/kern/init_main.c:317
ds          d918
es          4da3
fs          9900
gs          0
rdi         5
rsi         0
rbp         ffffffff86c69910
rbx         0
rdx         1
rcx         1910
rax         ffffffff8688d918    msan_lwp0+0x1918
r8          ffffffff8688d918    msan_lwp0+0x1918
--db_more--


---
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 syzkaller%googlegroups.com@localhost.

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

-- 
You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd-bugs+unsubscribe%googlegroups.com@localhost.
To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/000000000000d126d605e5523980%40google.com.


Home | Main Index | Thread Index | Old Index