opnsense-src/sys/amd64
Pierre Pronchery a03acfa434 bhyve: initialize register value
In case of an error in a code pattern like

```
uint64_t val;
error = memread(vcpu, gpa, &val, 1, arg);
error = vie_update_register(vcpu, reg, val, size);
```

uninitialized stack data would be used.

Reported by:    Synacktiv
Reviewed by:	markj
Security:       HYP-21
Sponsored by:   The Alpha-Omega Project
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D46107

(cherry picked from commit 94693ec7c8)
2024-09-30 08:11:15 -04:00
..
acpica x86: AMD Zen2: Zenbleed chicken bit mitigation 2023-10-10 09:34:31 -04:00
amd64 sysarch: improve checks for max user address 2024-09-23 16:03:07 +03:00
conf conf: Add usbhid and hidbus to GENERIC* kernel configs 2024-07-29 18:36:42 +02:00
ia32 syscalls: fix missing SIGSYS for several ENOSYS errors 2023-10-09 06:24:31 +03:00
include amd64: add variables indicating INVLPGB works 2024-08-28 03:26:34 +03:00
linux amd64/linux*: mark brandlists as static 2024-02-14 05:42:40 +02:00
linux32 Abstract UIO allocation and deallocation. 2024-03-08 23:27:20 -05:00
pci x86: Adjust base addr for PCI MCFG regions 2024-01-18 15:24:35 -08:00
sgx sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vmm bhyve: initialize register value 2024-09-30 08:11:15 -04:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00