A 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 emulatio
A 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.
- Published
- Jul 30, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 50th percentile
- CWE
- CWE-250
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 5.5
- 2.3 point gap
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- debian debian linux8.0
- debian debian linux9.0
- linux linux kernelbefore 4.12
- redhat enterprise linux7.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.4
- redhat enterprise linux server eus7.4
- redhat enterprise linux server eus7.5
- redhat enterprise linux workstation7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
[UNKNOWN] Kernel:
- 4.12affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 4.11.11-1 | 4.11.11-1 |
| Debian:8 | linux | before 3.16.43-2+deb8u5 | 3.16.43-2+deb8u5 |
| Debian:9 | linux | before 4.9.30-2+deb9u5 | 4.9.30-2+deb9u5 |
| Red Hat:enterprise_linux:7::client | kernel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-abi-whitelists | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo-common-x86_64 | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-doc | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-headers | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | perf | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | perf-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-bootwrapper | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64 | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64le | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
+37
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77This week
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77This week
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:linux | 4.11.11-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-devel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-doc | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-headers | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:kernel-default | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-docs | 4.4.90-92.45.3 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
| suse:kernel-ec2 | 3.12.74-60.64.63.1 · SUSE:Linux Enterprise Module for Public Cloud 12 | Package registry (OSV) |
| suse:kernel-obs-build | 4.4.90-92.45.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
| suse:kernel-rt | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-rt_debug | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-source | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-source-rt | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-syms | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-xen | 3.12.74-60.64.63.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP1_Update_22 | 1-2.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP2_Update_14 | 1-2.4 · SUSE:Linux Enterprise Live Patching 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-250 · Execution with Unnecessary PrivilegesCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.openwall.com/lists/oss-security/2017/06/23/5
- www.securityfocus.com/bid/99263
- www.securitytracker.com/id/1038782
- access.redhat.com/articles/3290921
- access.redhat.com/errata/RHSA-2018:0395
- access.redhat.com/errata/RHSA-2018:0412
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- usn.ubuntu.com/3619-1/
- usn.ubuntu.com/3619-2/
- usn.ubuntu.com/3754-1/
- www.debian.org/security/2017/dsa-3981
- www.spinics.net/lists/kvm/msg151817.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.