Skip to content
OpenAdvisories
High · 8.8 CVE-2022-23092 EUVD-2022-28197GHSA-gvf3-496w-8fm9

Missing bounds check in 9p message handling

Published Feb 15, 2024 · Updated Feb 13, 2025 · Assigned by freebsd

Description

The implementation of lib9p's handling of RWALK messages was missing a bounds check needed when unpacking the message contents. The missing check means that the receipt of a specially crafted message will cause lib9p to overwrite unrelated memory.

The bug can be triggered by a malicious bhyve guest kernel to overwrite memory in the bhyve(8) process. This could potentially lead to user-mode code execution on the host, subject to bhyve's Capsicum sandbox.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 13.1-RELEASE – < p1, 13.0-RELEASE – < p12 p1

References