address incomplete validation of ELF program headers in execve(2) which could lead
authorjasper <jasper@openbsd.org>
Wed, 12 Jul 2023 19:34:14 +0000 (19:34 +0000)
committerjasper <jasper@openbsd.org>
Wed, 12 Jul 2023 19:34:14 +0000 (19:34 +0000)
commitaa8d54b2e065759960ba672837a0edcbe2580b67
treea59e5cf1694ad1d562e0bc7fbabb7623cfc5ee38
parent3772e814e0ead154912b1426b780015a463af85c
address incomplete validation of ELF program headers in execve(2) which could lead
to a panic in vmcmd_map_readvn() with a malformed binary/interpreter.

original crash found with Melkor, additional validation provided by
guenther@.

ok kettenis@ guenther@ deraadt@
sys/kern/exec_elf.c