cve.bz

CVE-2022-39188 Race Condition

4.7 mediumEPSS 0.2%Fix available

Medium (4.7). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in include/asm-generic/tlb.h in the Linux kernel before 5.19. Because of a race condition (unmap_mapping_range versus munmap), a device driver can free a page while it still has stale TLB entries. This only occurs in situations with VM_PFNMAP VMAs.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-39188 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-39188?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-39188?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-39188 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.

Badge for a README or a site

CVE-2022-39188

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-39188](https://cve.bz/cve/badge/CVE-2022-39188.svg)](https://cve.bz/cve/CVE-2022-39188)

HTML:

<a href="https://cve.bz/cve/CVE-2022-39188"><img src="https://cve.bz/cve/badge/CVE-2022-39188.svg" alt="CVE-2022-39188"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.19
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.260-1DLA-3131-1
Debian10linux-5.105.10.149-2~deb10u1DLA-3173-1
Debian11linux5.10.149-1DSA-5257-1
Debian12, 13, 14linux5.19.6-1DEBIAN-CVE-2022-39188
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-39188
Ubuntu18.04:LTSlinux4.15.0-201.212USN-5790-1
Ubuntu18.04:LTSlinux-aws4.15.0-1147.159USN-5790-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1093.102~18.04.2UBUNTU-CVE-2022-39188 USN-5791-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1158.173USN-5790-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1100.106~18.04.1UBUNTU-CVE-2022-39188 USN-5791-3
Ubuntu18.04:LTSlinux-dell300x4.15.0-1058.63UBUNTU-CVE-2022-39188 USN-5790-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-39188
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1142.158USN-5790-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1097.106~18.04.1UBUNTU-CVE-2022-39188 USN-5791-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-136.153~18.04.1UBUNTU-CVE-2022-39188 USN-5791-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1041.46~18.04.1UBUNTU-CVE-2022-39188 USN-5791-1
60 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.57.1.el8_6RHSA-2023:3388
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.123.1SUSE-SU-2022:3408-1
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.129.1.150200.9.61.1SUSE-SU-2022:3450-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.129.1SUSE-SU-2022:3450-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.111.1SUSE-SU-2022:3586-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.136.1SUSE-SU-2022:3587-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.101.1SUSE-SU-2022:3291-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.123.1SUSE-SU-2022:3408-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.129.1SUSE-SU-2022:3450-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.93.1SUSE-SU-2022:3264-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 morekernel-default5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150000.150.101.1SUSE-SU-2022:3291-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_2314-2.2SUSE-SU-2022:3342-1
93 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.93.1SUSE-SU-2022:3264-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.80.1SUSE-SU-2022:3609-1
openSUSELeap 15.3, Leap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.123.1SUSE-SU-2022:3408-1
openSUSELeap 15.3, Leap Micro 5.2kernel-default-base5.3.18-150300.59.93.1.150300.18.54.1SUSE-SU-2022:3264-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.93.1SUSE-SU-2022:3264-1
openSUSELeap 15.4dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150400.24.21.1SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.13.1SUSE-SU-2022:3288-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.21.2.150400.24.7.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-docs5.14.21-150400.24.21.3SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.93.1SUSE-SU-2022:3264-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-477.10.1.rt7.274.el8_8ALSA-2023:2736
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-477.10.1.el8_8ALSA-2023:2951
AlmaLinux9bpftool7.0.0-284.11.1.el9_2ALSA-2023:2458
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.11.1.rt14.296.el9_2ALSA-2023:2148
AlmaLinux9perf, rtla, kernel and 43 more5.14.0-284.11.1.el9_2ALSA-2023:2458
Azure Linux2kernel5.15.67.1-4AZL-10858

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; AlmaLinux's OSV database, MIT; 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 Moderate.

Red Hat's statement

This issue only occurs in situations with VM_PFNMAP virtual memory areas (VMAs).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.10.1.rt7.274.el8_8Fixed 2023-05-16RHSA-2023:2736
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.57.1.el8_6Fixed 2023-05-31RHSA-2023:3388
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.11.1.el9_2Fixed 2023-05-09RHSA-2023:2458
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-284.11.1.rt14.296.el9_2Fixed 2023-05-09RHSA-2023:2148
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.70.1.el9_0Fixed 2023-08-29RHSA-2023:4801
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.70.1.rt21.141.el9_0Fixed 2023-08-29RHSA-2023:4814
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.57.1.el8_6Fixed 2023-05-31RHSA-2023:3388
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope

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-39188.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON