First published: Tue Nov 22 2011(Updated: )
It was found that kvm_vm_ioctl_assign_device function did not check if the user requesting assignment was privileged or not. Together with /dev/kvm being 666, unprivileged user could assign unused pci devices, or even devices that were in use and whose resources were not properly claimed by the respective drivers. Please note that privileged access was still needed to re-program the device to for example issue DMA requests. This is typically achieved by touching files on sysfs filesystem. These files are usually not accessible to unprivileged users. As a result, local user could use this flaw to crash the system. Reference: <a href="http://thread.gmane.org/gmane.comp.emulators.kvm.devel/82043">http://thread.gmane.org/gmane.comp.emulators.kvm.devel/82043</a> Acknowledgements: Red Hat would like to thank Sasha Levin for reporting this issue.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | =3.1.2 | |
Linux Linux kernel | =3.1.6 | |
Linux Linux kernel | =3.1.3 | |
Linux Linux kernel | =3.1.5 | |
Linux Linux kernel | =3.1.8 | |
Linux Linux kernel | =3.1.7 | |
Linux Linux kernel | =3.1.1 | |
Linux Linux kernel | =3.1.4 | |
Linux Linux kernel | <=3.1.9 | |
debian/linux-2.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.