{"id":"CVE-2018-16882","state":"PUBLISHED","title":"A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), i","description":"A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable.","publishedAt":"2019-01-03T16:00:00.000Z","updatedAt":"2024-08-05T10:32:54.168Z","severity":{"score":6.1,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H","source":"redhat"},"assigner":"redhat","products":["The Linux Foundation kernel:"],"affected":[{"vendor":"The Linux Foundation","product":"kernel:","versions":[{"version":"before 4.14.91","status":"affected"},{"version":"before 4.19.13","status":"affected"}]}],"references":["https://marc.info/?l=kvm&m=154514994222809&w=2","https://usn.ubuntu.com/3872-1/","https://usn.ubuntu.com/3878-1/","https://usn.ubuntu.com/3871-5/","https://usn.ubuntu.com/3878-2/","https://usn.ubuntu.com/3871-4/","http://www.securityfocus.com/bid/106254","https://lwn.net/Articles/775720/","https://usn.ubuntu.com/3871-1/","https://lwn.net/Articles/775721/","https://usn.ubuntu.com/3871-3/","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882","https://support.f5.com/csp/article/K80557033"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T19:44:25.237Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/16xxx/CVE-2018-16882.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-16882","state":"PUBLISHED","datePublished":"2019-01-03T16:00:00.000Z","dateUpdated":"2024-08-05T10:32:54.168Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2018-09-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable."}],"affected":[{"vendor":"The Linux Foundation","product":"kernel:","versions":[{"version":"before 4.14.91","status":"affected"},{"version":"before 4.19.13","status":"affected"}]}],"references":[{"url":"https://marc.info/?l=kvm&m=154514994222809&w=2","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3872-1/","name":"USN-3872-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3878-1/","name":"USN-3878-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3871-5/","name":"USN-3871-5","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3878-2/","name":"USN-3878-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3871-4/","name":"USN-3871-4","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/106254","name":"106254","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lwn.net/Articles/775720/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3871-1/","name":"USN-3871-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lwn.net/Articles/775721/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3871-3/","name":"USN-3871-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882","tags":["x_refsource_CONFIRM"]},{"url":"https://support.f5.com/csp/article/K80557033","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2019-04-21T15:06:02.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2018-12-18T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://marc.info/?l=kvm&m=154514994222809&w=2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3872-1/","name":"USN-3872-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3878-1/","name":"USN-3878-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-5/","name":"USN-3871-5","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3878-2/","name":"USN-3878-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-4/","name":"USN-3871-4","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/106254","name":"106254","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://lwn.net/Articles/775720/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-1/","name":"USN-3871-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lwn.net/Articles/775721/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-3/","name":"USN-3871-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://support.f5.com/csp/article/K80557033","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:32:54.168Z"}}]}}}