{"id":"CVE-2018-18021","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-18021","generatedAt":"2026-10-28T22:41:40.706Z","title":"This is exploitable by attackers who can create virtual machines.","description":"arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable by attackers who can create virtual machines. An attacker can arbitrarily redirect the hypervisor flow of control (with full register control). An attacker can also cause a denial of service (hypervisor panic) via an illegal exception return. This occurs because of insufficient restrictions on userspace access to the core register file, and because PSTATE.M validation does not prevent unintended execution modes.","published":"2018-10-07T06:29:00.000Z","lastModified":"2026-06-17T01:46:42.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.1,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},"cwe":["CWE-20"],"affected":["linux/linux kernel","debian/debian linux","canonical/ubuntu linux"],"epss":{"score":0.00593,"percentile":0.48157,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.59%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279","tags":["Patch"],"source":"cve@mitre.org"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d","tags":["Patch"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/105550","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:3656","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3821-1/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3821-2/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3931-1/","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3931-2/","source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2018/dsa-4313","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.openwall.com/lists/oss-security/2018/10/02/2","tags":["Mailing List","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/105550","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:3656","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3821-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3821-2/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3931-1/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3931-2/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2018/dsa-4313","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.openwall.com/lists/oss-security/2018/10/02/2","tags":["Mailing List","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18021","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}