The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=98ac13c4baf5deb84010d632cb3b96dacd8c4eb6
commit 98ac13c4baf5deb84010d632cb3b96dacd8c4eb6 Author: John-Mark Gurney <j...@freebsd.org> AuthorDate: 2025-08-18 20:25:37 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-08-25 15:23:12 +0000 arm64: prevent panic when using syscall mux + large arg call (mmap) if the syscall muxes are used, up to two additional arguments may be required. This means that the 8 required for mmap increases up to 10 (for __syscall). Sponsored by: Juniper Networks, Inc. (cherry picked from commit 740b879c6ade531adebeba7cd2f261bbe650797f) --- sys/arm64/arm64/elf32_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/elf32_machdep.c b/sys/arm64/arm64/elf32_machdep.c index 1c580e2b0de3..6392de73acff 100644 --- a/sys/arm64/arm64/elf32_machdep.c +++ b/sys/arm64/arm64/elf32_machdep.c @@ -190,7 +190,7 @@ freebsd32_fetch_syscall_args(struct thread *td) register_t *ap; struct syscall_args *sa; int error, i, nap, narg; - unsigned int args[4]; + unsigned int args[6]; nap = 4; p = td->td_proc;