diff options
author | Mark Johnston <markj@FreeBSD.org> | 2025-08-01 23:34:46 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-08-04 14:27:26 +0000 |
commit | 9a1b3303352beb44d48b8251b80656a316b7a2e9 (patch) | |
tree | a9116a55e925ac32111f627f5ba5dc6188b0c7a4 /contrib/apr/(developers-only) | |
parent | eb9c541a7389553cb3ef5affca4c25be07d50b94 (diff) |
Otherwise vm_page_grab_zero_partial() and vm_page_grab_pages() can pass
it to vm_page_alloc_*(), which results in an assertion failure since
that flag is meaningless when allocating a page:
panic: invalid request 0x8400
cpuid = 0
time = 1754074745
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x49/frame 0xfffffe00542859c0
vpanic() at vpanic+0x1ea/frame 0xfffffe0054285b00
panic() at panic+0x43/frame 0xfffffe0054285b60
vm_page_alloc_domain_iter() at vm_page_alloc_domain_iter+0x720/frame 0xfffffe0054285be0
vm_page_grab_zero_partial() at vm_page_grab_zero_partial+0x1d4/frame 0xfffffe0054285c90
shm_fspacectl() at shm_fspacectl+0x1cd/frame 0xfffffe0054285d30
kern_fspacectl() at kern_fspacectl+0x49f/frame 0xfffffe0054285db0
sys_fspacectl() at sys_fspacectl+0x5b/frame 0xfffffe0054285e00
amd64_syscall() at amd64_syscall+0x29c/frame 0xfffffe0054285f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0054285f30
Reported by: syzkaller
Reviewed by: alc, kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D51692
Diffstat (limited to 'contrib/apr/(developers-only)')
0 files changed, 0 insertions, 0 deletions