aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/linux/linux_systrace_args.c
diff options
context:
space:
mode:
authorOsvaldo Janeri Filho <ojaneri@amd.com>2026-11-04 16:11:02 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2026-11-04 16:53:03 +0000
commitd67c363e85e7c720b1e0ac16e30cb64317c0dc2f (patch)
tree470d8805d3adca59ebf8040c5fea93e9a33ef54e /sys/arm64/linux/linux_systrace_args.c
parent82bbfe16ae1eaa9eca970cb50abe8ac9162fe9cb (diff)
bhyve: check paddr_guest2host return in _vq_recordHEADmain
_vq_record() stored the result of paddr_guest2host() without checking for NULL. A guest descriptor with an invalid address causes a NULL dereference in every virtio driver. Return early on failure; the caller sees zero descriptors and discards the chain. The indirect path already performs this check (line 357). Reviewed by: bnovkov Differential Revision: https://reviews.freebsd.org/D60870 MFC after: 1 week
Diffstat (limited to 'sys/arm64/linux/linux_systrace_args.c')
0 files changed, 0 insertions, 0 deletions