Description
Use-after-free vulnerability in the kvm_ioctl_create_device function in virt/kvm/kvm_main.c in the Linux kernel before 4.8.13 allows host OS users to cause a denial of service (host OS crash) or possibly gain privileges via crafted ioctl calls on the /dev/kvm device.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.8.15-1 | — |
| Debian 13 | linux | 4.8.15-1 | — |
| Debian 12 | linux | 4.8.15-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe | 4.8.0-39.42~16.04.1 | — |
References
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.13
- [oss-security] 20170118 CVE request Kernel: kvm: use-after-free issue while creating devices mailing-list
- https://github.com/torvalds/linux/commit/a0f1d21c1ccb1da66629627a74059dd7f5ac9c61
- 95672 vdb-entry
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0f1d21c1ccb1da66629627a74059dd7f5ac9c61
- https://bugzilla.redhat.com/show_bug.cgi?id=1414506