cve.bz

CVE-2022-1158 Use After Free

7.8 highExploit referenceEPSS 0.4%

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1158 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1158?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1158?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1158 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.2 before 5.4.189
linux:linux_kernelfrom 5.5 before 5.10.110
linux:linux_kernelfrom 5.11 before 5.15.33
linux:linux_kernelfrom 5.16 before 5.16.19
linux:linux_kernelfrom 5.17 before 5.17.2
fedoraproject:fedora36
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.113-1DSA-5127-1
Debian12, 13, 14linux5.17.3-1DEBIAN-CVE-2022-1158
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-1158
Ubuntu18.04:LTSlinux-aws-5.4, linux-gcp-5.45.4.0-1078.84~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1083.87~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2022-1158
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1074.79~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1046.48~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-117.132~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1028.32~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1076.83~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1065.75~18.04.1UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu20.04:LTSlinux5.4.0-117.132UBUNTU-CVE-2022-1158 USN-5467-1
Ubuntu20.04:LTSlinux-aws, linux-gcp5.4.0-1078.84UBUNTU-CVE-2022-1158 USN-5467-1
41 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.3.1.rt7.213.el8RHSA-2022:7444
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-425.3.1.rt7.213.el8RHSA-2022:7444
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-162.6.1.rt21.168.el9_1RHSA-2022:7933
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-162.6.1.rt21.168.el9_1RHSA-2022:7933
Red Hatrhel_aus:8.2::baseos, rhel_tus:8.2::baseosperf, kernel, bpftool and 21 more0:4.18.0-193.95.1.el8_2RHSA-2022:8940
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_81_1, kpatch-patch-4_18_0-193_81_1-debuginfo, kpatch-patch-4_18_0-193_81_1-debugsource0:1-3.el8_2RHSA-2022:8989
Red Hatrhel_e4s:8.2::baseoskpatch-patch-4_18_0-193_87_1, kpatch-patch-4_18_0-193_90_1, kpatch-patch-4_18_0-193_91_1 and 6 more0:1-2.el8_2RHSA-2022:8989
27 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.115.1.150200.9.54.1SUSE-SU-2022:2104-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.115.1SUSE-SU-2022:2104-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.115.1SUSE-SU-2022:2104-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1316-150200.2.1SUSE-SU-2022:1591-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_14, kernel-livepatch-SLE15-SP2_Update_15, kernel-livepatch-SLE15-SP2_Update_1614-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1713-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_1812-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_19, kernel-livepatch-SLE15-SP2_Update_2010-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_219-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_228-150200.2.1SUSE-SU-2022:1605-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_237-150200.2.1SUSE-SU-2022:1637-1
28 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.56.1SUSE-SU-2022:1676-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.68.1.150300.18.41.3SUSE-SU-2022:1687-1
openSUSELeap 15.4dtb-aarch64, kernel-preempt5.3.18-150300.59.68.1SUSE-SU-2022:1687-1
Azure Linux2kernel5.15.67.1-4AZL-10540

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.3.1.rt7.213.el8Fixed 2022-11-08RHSA-2022:7444
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.3.1.el8Fixed 2022-11-08RHSA-2022:7683
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.95.1.el8_2Fixed 2022-12-13RHSA-2022:8940
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.95.1.rt13.146.el8_2Fixed 2022-12-13RHSA-2022:8941
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.95.1.el8_2Fixed 2022-12-13RHSA-2022:8940
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.95.1.el8_2Fixed 2022-12-13RHSA-2022:8940
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2022-12-13RHSA-2022:8989
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.71.1.rt7.143.el8_4Fixed 2022-11-29RHSA-2022:8673
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.71.1.el8_4Fixed 2022-11-29RHSA-2022:8685
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchFixed 2022-11-29RHSA-2022:8686
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.36.1.el8_6Fixed 2022-12-06RHSA-2022:8809
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2022-12-06RHSA-2022:8831
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1Fixed 2022-11-15RHSA-2022:8267
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.6.1.rt21.168.el9_1Fixed 2022-11-15RHSA-2022:7933
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.36.1.el9_0Fixed 2022-12-13RHSA-2022:8973
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.36.1.rt21.108.el9_0Fixed 2022-12-13RHSA-2022:8974
Red Hat Enterprise Linux 9.0 Extended Update Supportkpatch-patchFixed 2022-12-15RHSA-2022:9082
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1158.

References

Check your stackJSON