Page MenuHomeFreeBSD

bhyve: verify OpRegion size
ClosedPublic

Authored by corvink on May 24 2024, 11:33 AM.
Tags
None
Referenced Files
F152953454: D45335.diff
Sat, Apr 18, 7:28 AM
Unknown Object (File)
Mon, Apr 6, 1:08 PM
Unknown Object (File)
Sun, Mar 29, 2:05 AM
Unknown Object (File)
Sat, Mar 28, 7:43 PM
Unknown Object (File)
Mar 18 2026, 7:09 PM
Unknown Object (File)
Mar 18 2026, 7:08 AM
Unknown Object (File)
Feb 14 2026, 3:35 PM
Unknown Object (File)
Feb 8 2026, 11:33 AM
Subscribers

Details

Summary

If the OpRegion size doesn't match the size of our igd_opregion struct, it's
using a different layout than we're expecting. To avoid strange issues, we
should exit hard. If we see any devices in the field with a different OpRegion
size, we can analyse it and fix it accordingly.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable