syzbot


fatal error: set memory region failed; out of slots (2)

Status: moderation: reported C repro on 2025/07/29 19:02
Reported-by: syzbot+ac73a90551d68e526fb0@syzkaller.appspotmail.com
First crash: 49d, last: 35d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor fatal error: set memory region failed; out of slots -1 C 94 776d 1064d 0/26 closed as invalid on 2025/01/02 13:06

Sample crash report:
fatal error: set memory region failed; out of slots

goroutine 3091 gp=0xc000a076c0 m=15 mp=0xc000601008 [syscall]:
syscall.Syscall6(0x9, 0x0, 0x80000000, 0x3, 0x1, 0x74, 0xfbc0000000)
	bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/syscall/syscall_linux.go:95 +0x39 fp=0xc001809530 sp=0xc0018094d0 pc=0x49f339
syscall.Syscall6(0x9, 0x0, 0x80000000, 0x3, 0x1, 0x74, 0xfbc0000000)
	<autogenerated>:1 +0x3d fp=0xc001809578 sp=0xc001809530 pc=0x4a00bd
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).extendChunksLocked(0xc0000fe008, 0xc0018097b0)
	pkg/sentry/pgalloc/pgalloc.go:924 +0x1ec fp=0xc001809630 sp=0xc001809578 pc=0x854a2c
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).findAllocatableAndMarkUsed(0xc0000fe008, 0xc0018097b0)
	pkg/sentry/pgalloc/pgalloc.go:848 +0x165 fp=0xc001809708 sp=0xc001809630 pc=0x853ec5
gvisor.dev/gvisor/pkg/sentry/pgalloc.(*MemoryFile).Allocate(0xc0000fe008, 0x7ffe7000, {0x1, 0x6, 0x0, 0x0, 0x0, 0x0})
	pkg/sentry/pgalloc/pgalloc.go:654 +0x16d fp=0xc001809858 sp=0xc001809708 pc=0x85370d
gvisor.dev/gvisor/pkg/sentry/kernel/shm.(*Registry).newShmLocked(0xc00124b000, {0x16144b0, 0xc00145b208}, 0x1f9, 0x0, 0xc00013eba0, 0x0, 0x7ffe7000)
	pkg/sentry/kernel/shm/shm.go:215 +0x1f4 fp=0xc001809930 sp=0xc001809858 pc=0x8e5d14
gvisor.dev/gvisor/pkg/sentry/kernel/shm.(*Registry).FindOrCreate(0xc00124b000, {0x16144b0, 0xc00145b208}, 0x1f9, 0x0, 0x7ffe7000, 0x0, 0x61?, 0x1?, 0x0)
	pkg/sentry/kernel/shm/shm.go:191 +0x317 fp=0xc0018099c0 sp=0xc001809930 pc=0x8e5897
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Shmget(0xc00145b208, 0xc00126a000?, {{0x0}, {0x7ffe7000}, {0x0}, {0x200000003000}, {0x0}, {0x0}})
	pkg/sentry/syscalls/linux/sys_shm.go:39 +0xd1 fp=0xc001809a78 sp=0xc0018099c0 pc=0xc1b5f1
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00145b208, 0x1d, {{0x0}, {0x7ffe7000}, {0x0}, {0x200000003000}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:143 +0x655 fp=0xc001809ca8 sp=0xc001809a78 pc=0xa795b5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00145b208, 0x1d, {{0x0}, {0x7ffe7000}, {0x0}, {0x200000003000}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:323 +0x45 fp=0xc001809d00 sp=0xc001809ca8 pc=0xa7a705
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00145b208, 0x1d, {{0x0}, {0x7ffe7000}, {0x0}, {0x200000003000}, {0x0}, {0x0}})
	pkg/sentry/kernel/task_syscall.go:283 +0x65 fp=0xc001809d50 sp=0xc001809d00 pc=0xa7a425
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00095a580?)
	pkg/sentry/kernel/task_syscall.go:258 +0x2a5 fp=0xc001809e28 sp=0xc001809d50 pc=0xa7a1a5
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00081b170?, 0xc00145b208)
	pkg/sentry/kernel/task_run.go:269 +0xebc fp=0xc001809f30 sp=0xc001809e28 pc=0xa6febc
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00145b208, 0x246)
	pkg/sentry/kernel/task_run.go:97 +0x214 fp=0xc001809fc0 sp=0xc001809f30 pc=0xa6e994
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	pkg/sentry/kernel/task_start.go:412 +0x25 fp=0xc001809fe0 sp=0xc001809fc0 pc=0xa78005
runtime.goexit({})
	src/runtime/asm_amd64.s:1700 +0x1 fp=0xc001809fe8 sp=0xc001809fe0 pc=0x4816e1
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 805
	pkg/sentry/kernel/task_start.go:412 +0xc5

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/18 09:40 gvisor da551ec98173 88248e14 console log report syz / log C ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 09:29 gvisor da551ec98173 88248e14 .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/16 21:45 gvisor 128211909518 44f8051e console log report syz / log C ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 21:32 gvisor 128211909518 44f8051e .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/12 00:06 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 22:19 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 20:32 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 18:45 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 16:58 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 15:27 gvisor 7323f1df8aad 3cda49cf console log report syz / log C ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/11 15:12 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 03:29 gvisor 7323f1df8aad 3cda49cf .config console log report syz / log C ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/11 03:17 gvisor 7323f1df8aad 3cda49cf console log report syz / log C ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/24 16:53 gvisor d335069c7ec4 65d60d73 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/22 09:47 gvisor 304075324c8b 1555463b console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/22 02:28 gvisor 304075324c8b 1555463b console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 20:06 gvisor 304075324c8b 56d87229 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 18:49 gvisor 304075324c8b 56d87229 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 17:32 gvisor 9ea209fd11eb 56d87229 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 12:45 gvisor 9ea209fd11eb 56d87229 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 03:00 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 01:50 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/21 00:06 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 22:31 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 20:26 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 16:45 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 13:56 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 11:51 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 07:28 gvisor 9ea209fd11eb 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/20 02:44 gvisor d7830d968c56 7117feec .config console log report info ci-gvisor-kvm-cover fatal error: set memory region failed; out of slots
2025/07/19 13:25 gvisor d7830d968c56 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/19 05:05 gvisor d7830d968c56 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/19 03:17 gvisor d7830d968c56 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/19 03:08 gvisor d7830d968c56 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 23:27 gvisor d7830d968c56 7117feec console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 21:28 gvisor db69f0048be5 f550e092 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 16:46 gvisor db69f0048be5 f550e092 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 11:18 gvisor db69f0048be5 f550e092 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 05:27 gvisor da551ec98173 88248e14 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/18 01:01 gvisor da551ec98173 88248e14 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/17 23:31 gvisor da551ec98173 88248e14 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/17 03:31 gvisor 128211909518 44f8051e console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/17 01:25 gvisor 128211909518 44f8051e console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 19:42 gvisor 128211909518 44f8051e console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 18:21 gvisor 3b6e02d26316 124ec9cc console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 16:37 gvisor 3b6e02d26316 124ec9cc console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 14:25 gvisor 3b6e02d26316 124ec9cc console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 12:16 gvisor 3b6e02d26316 124ec9cc console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/16 10:52 gvisor 3b6e02d26316 124ec9cc console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/15 21:34 gvisor 8b2eb5fb303a 03fcfc4b console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/15 05:42 gvisor c2f9f2752729 03fcfc4b console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/15 01:29 gvisor c2f9f2752729 03fcfc4b console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/14 15:56 gvisor 7323f1df8aad d8fc7335 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/14 14:10 gvisor 7323f1df8aad d8fc7335 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/14 12:20 gvisor 7323f1df8aad d8fc7335 console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/14 05:57 gvisor 7323f1df8aad 3cda49cf console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
2025/07/13 14:40 gvisor 7323f1df8aad 3cda49cf console log report info ci-gvisor-kvm fatal error: set memory region failed; out of slots
* Struck through repros no longer work on HEAD.