{"api_version":"1","generated_at":"2026-04-22T20:07:35+00:00","cve":"CVE-2022-1158","urls":{"html":"https://cve.report/CVE-2022-1158","api":"https://cve.report/api/cve/CVE-2022-1158.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1158","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1158"},"summary":{"title":"CVE-2022-1158","description":"A flaw was found in KVM. When updating a guest's page table entry, vm_pgoff was improperly used as the offset to get the page's pfn. As vaddr and vm_pgoff are controllable by user-mode processes, this flaw allows unprivileged local users on the host to write outside the userspace region and potentially corrupt the kernel, resulting in a denial of service condition.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-05 17:15:00","updated_at":"2023-04-11 18:14:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20230214-0003/","name":"https://security.netapp.com/advisory/ntap-20230214-0003/","refsource":"CONFIRM","tags":[],"title":"August 2022 Linux Kernel 5.17 Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2069793","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2069793","refsource":"MISC","tags":[],"title":"2069793 – (CVE-2022-1158) CVE-2022-1158 kernel: KVM: cmpxchg_gpte can write to pfns outside the userspace region","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2022/04/08/4","name":"https://www.openwall.com/lists/oss-security/2022/04/08/4","refsource":"MISC","tags":[],"title":"oss-security - CVE-2022-1158: Linux Kernel v5.2+: x86/kvm: cmpxchg_gpte can write to\n pfns outside the userspace region","mime":"text/x-c","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-1158","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1158","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"1158","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1158","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1158","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"1158","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-1158","qid":"159745","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2022-9265)"},{"cve":"CVE-2022-1158","qid":"159746","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-9264)"},{"cve":"CVE-2022-1158","qid":"159754","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2022-9274)"},{"cve":"CVE-2022-1158","qid":"159755","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-9273)"},{"cve":"CVE-2022-1158","qid":"159785","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2022-9368)"},{"cve":"CVE-2022-1158","qid":"159788","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-9365)"},{"cve":"CVE-2022-1158","qid":"179258","title":"Debian Security Update for linux (DSA 5127-1)"},{"cve":"CVE-2022-1158","qid":"184453","title":"Debian Security Update for linux (CVE-2022-1158)"},{"cve":"CVE-2022-1158","qid":"198783","title":"Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5416-1)"},{"cve":"CVE-2022-1158","qid":"198822","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5469-1)"},{"cve":"CVE-2022-1158","qid":"198824","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5467-1)"},{"cve":"CVE-2022-1158","qid":"198826","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5468-1)"},{"cve":"CVE-2022-1158","qid":"240953","title":"Red Hat Update for kernel (RHSA-2022:8685)"},{"cve":"CVE-2022-1158","qid":"240954","title":"Red Hat Update for kernel-rt (RHSA-2022:8673)"},{"cve":"CVE-2022-1158","qid":"240956","title":"Red Hat Update for kpatch-patch (RHSA-2022:8686)"},{"cve":"CVE-2022-1158","qid":"240968","title":"Red Hat Update for kernel (RHSA-2022:8809)"},{"cve":"CVE-2022-1158","qid":"240969","title":"Red Hat Update for kpatch-patch (RHSA-2022:8831)"},{"cve":"CVE-2022-1158","qid":"241003","title":"Red Hat Update for kernel-rt (RHSA-2022:8941)"},{"cve":"CVE-2022-1158","qid":"241008","title":"Red Hat Update for kernel (RHSA-2022:8973)"},{"cve":"CVE-2022-1158","qid":"241009","title":"Red Hat Update for kernel-rt (RHSA-2022:8974)"},{"cve":"CVE-2022-1158","qid":"241022","title":"Red Hat Update for kpatch-patch (RHSA-2022:9082)"},{"cve":"CVE-2022-1158","qid":"353964","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2022-001"},{"cve":"CVE-2022-1158","qid":"354327","title":"Amazon Linux Security Advisory for kernel : ALAS2022-2022-083"},{"cve":"CVE-2022-1158","qid":"354468","title":"Amazon Linux Security Advisory for kernel : ALAS2022-2022-185"},{"cve":"CVE-2022-1158","qid":"354542","title":"Amazon Linux Security Advisory for kernel : ALAS-2022-185"},{"cve":"CVE-2022-1158","qid":"355199","title":"Amazon Linux Security Advisory for kernel : ALAS2023-2023-070"},{"cve":"CVE-2022-1158","qid":"355563","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2023-036"},{"cve":"CVE-2022-1158","qid":"355565","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2023-023"},{"cve":"CVE-2022-1158","qid":"376925","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2022:0125)"},{"cve":"CVE-2022-1158","qid":"6140399","title":"AWS Bottlerocket Security Update for kernel (GHSA-hjwr-px7g-4988)"},{"cve":"CVE-2022-1158","qid":"752126","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1687-1)"},{"cve":"CVE-2022-1158","qid":"752242","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:2104-1)"},{"cve":"CVE-2022-1158","qid":"753100","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 15 for SLE 15 SP2) (SUSE-SU-2022:1605-1)"},{"cve":"CVE-2022-1158","qid":"753152","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 17 for SLE 15 SP3) (SUSE-SU-2022:1573-1)"},{"cve":"CVE-2022-1158","qid":"753176","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1676-1)"},{"cve":"CVE-2022-1158","qid":"753224","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 24 for SLE 15 SP2) (SUSE-SU-2022:1629-1)"},{"cve":"CVE-2022-1158","qid":"753227","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 12 for SLE 15 SP3) (SUSE-SU-2022:1569-1)"},{"cve":"CVE-2022-1158","qid":"753241","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 10 for SLE 15 SP3) (SUSE-SU-2022:1575-1)"},{"cve":"CVE-2022-1158","qid":"753256","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 13 for SLE 15 SP2) (SUSE-SU-2022:1591-1)"},{"cve":"CVE-2022-1158","qid":"753260","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 16 for SLE 15 SP3) (SUSE-SU-2022:1571-1)"},{"cve":"CVE-2022-1158","qid":"753299","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1669-1)"},{"cve":"CVE-2022-1158","qid":"753349","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 23 for SLE 15 SP2) (SUSE-SU-2022:1637-1)"},{"cve":"CVE-2022-1158","qid":"753453","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 26 for SLE 15 SP2) (SUSE-SU-2022:1634-1)"},{"cve":"CVE-2022-1158","qid":"902726","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10522)"},{"cve":"CVE-2022-1158","qid":"902743","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10540)"},{"cve":"CVE-2022-1158","qid":"903990","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10522-1)"},{"cve":"CVE-2022-1158","qid":"904150","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10540-1)"},{"cve":"CVE-2022-1158","qid":"905958","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10522-2)"},{"cve":"CVE-2022-1158","qid":"906497","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10540-2)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-1158","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"kernel","version":{"version_data":[{"version_value":"kernel 5.18"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2069793","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2069793"},{"refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2022/04/08/4","url":"https://www.openwall.com/lists/oss-security/2022/04/08/4"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20230214-0003/","url":"https://security.netapp.com/advisory/ntap-20230214-0003/"}]},"description":{"description_data":[{"lang":"eng","value":"A flaw was found in KVM. When updating a guest's page table entry, vm_pgoff was improperly used as the offset to get the page's pfn. As vaddr and vm_pgoff are controllable by user-mode processes, this flaw allows unprivileged local users on the host to write outside the userspace region and potentially corrupt the kernel, resulting in a denial of service condition."}]}},"nvd":{"publishedDate":"2022-08-05 17:15:00","lastModifiedDate":"2023-04-11 18:14:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.33","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"5.17.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.110","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"5.16.19","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.4.189","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}