| name | cis-ocp-vm-v100-1-1 |
| description | Restrict GPU and USB pass through to approved devices (Manual) |
| category | cis-openshift-virtualization |
| version | 1.0 |
| author | cyberstrike-official |
| tags | ["cis","openshift","kubernetes","openshift-virtualization","kubevirt","vm","platform-configuration","hardware-passthrough","gpu","usb"] |
| cis_id | 1.1 |
| cis_benchmark | CIS Redhat OpenShift Virtual Machine Extension Benchmark v1.0.0 |
| tech_stack | ["kubernetes","openshift","openshift-virtualization","kubevirt"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
CIS 1.1 — Restrict GPU and USB pass through to approved devices
Profile Applicability
Description
The ability to pass through devices provides the capability to offload tasks from the CPU to the device itself.
Rationale
Restricting passthrough to approved devices reduces the risk of unauthorized or unintended data sharing/transmission introduced by allowing GPU and USB connectivity.
Impact
Unauthorized devices will not be passed through, and therefore not be available to workloads.
Audit Procedure
List the host devices available to virtualization workloads and verify the host devices returned are necessary for workload execution.
$ oc get hyperconverged kubevirt-hyperconverged -n openshift-cnv -ojsonpath='{.spec.permittedHostDevices}'
Example output structure:
{
"mediatedDevices": [
{
"mdevNameSelector": "DEVICE_A",
"resourceName": "vendor.com/DEVICE_A"
}
],
"pciHostDevices": [
{
"externalResourceProvider": true,
"pciDeviceSelector": "XXX:YYY",
"resourceName": "vendor.com/DEVICE_B"
},
{
"pciDeviceSelector"