diff options
| author | Osvaldo Janeri Filho <ojaneri@amd.com> | 2026-11-04 16:11:02 +0000 |
|---|---|---|
| committer | Bojan Novković <bnovkov@FreeBSD.org> | 2026-11-04 16:53:03 +0000 |
| commit | d67c363e85e7c720b1e0ac16e30cb64317c0dc2f (patch) | |
| tree | 470d8805d3adca59ebf8040c5fea93e9a33ef54e /sys/arm64/linux/linux_systrace_args.c | |
| parent | 82bbfe16ae1eaa9eca970cb50abe8ac9162fe9cb (diff) | |
_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
