CVE-2017-7518

NameCVE-2017-7518
DescriptionA flaw was found in the Linux kernel before version 4.12 in the way the KVM module processed the trap flag(TF) bit in EFLAGS during emulation of the syscall instruction, which leads to a debug exception(#DB) being raised in the guest stack. A user/process inside a guest could use this flaw to potentially escalate their privileges inside the guest. Linux guests are not affected by this.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3981-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)stretch4.9.228-1fixed
stretch (security)4.9.210-1+deb9u1fixed
buster4.19.132-1fixed
buster (security)4.19.118-2+deb10u1fixed
bullseye, sid5.7.10-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcewheezy(not affected)
linuxsourcejessie3.16.43-2+deb8u5DSA-3981-1
linuxsourcestretch4.9.30-2+deb9u5DSA-3981-1
linuxsource(unstable)4.11.11-1

Notes

[wheezy] - linux <not-affected> (Vulnerable code not present)
http://www.openwall.com/lists/oss-security/2017/06/23/5
https://www.spinics.net/lists/kvm/msg151817.html
https://bugzilla.redhat.com/show_bug.cgi?id=1464473
Fixed by: https://git.kernel.org/linus/c8401dda2f0a00cd25c0af6a95ed50e478d25de4

Search for package or bug name: Reporting problems