Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usbguard and KVM/qemu/libvirt USB passthrough #635

Open
staviq opened this issue Aug 19, 2024 · 0 comments
Open

Usbguard and KVM/qemu/libvirt USB passthrough #635

staviq opened this issue Aug 19, 2024 · 0 comments

Comments

@staviq
Copy link

staviq commented Aug 19, 2024

I observed a really weird behavior

Connecting an unauthorized USB Ethernet adapter, and passing it to a qemu/kvm virtual machine, makes the device "available" inside the VM, it gets recognized by the guest os, except it's stuck in "no uplink" state, as if the lan cable is disconnected.

Authorizing the device on the host ( while it's still passed to the VM ) makes both the host and the guest see the lan adapter at the same time.

I think the question is, is it even possible to "jail" USB device inside a VM, without having to authorize it on the host, creating an unsecure window between authorizing and passing the device to the VM ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant