cve.bz

CVE-2022-23038 Race Condition

7.0 highEPSS 0.4%

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

On this page
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Several Linux PV device frontends are using the grant table interfaces for removing access rights of the backends in ways being subject to race conditions, resulting in potential data leaks, data corruption by malicious backends, and denial of service triggered by malicious backends: blkfront, netfront, scsifront and the gntalloc driver are testing whether a grant reference is still in use. If this is not the case, they assume that a following removal of the granted access will always succeed, which is not true in case the backend has mapped the granted page between those two operations. As a result the backend can keep access to the memory page of the guest no matter how the page will be used after the frontend I/O has finished. The xenbus driver has a similar problem, as it doesn't check the success of removing the granted access of a shared ring buffer. blkfront: CVE-2022-23036 netfront: CVE-2022-23037 scsifront: CVE-2022-23038 gntalloc: CVE-2022-23039 xenbus: CVE-2022-23040 blkfront, netfront, scsifront, usbfront, dmabuf, xenbus, 9p, kbdfront, and pvcalls are using a functionality to delay freeing a grant reference until it is no longer in use, but the freeing of the related data page is not synchronized with dropping the granted access. As a result the backend can keep access to the memory page even after it has been freed and then re-used for a different purpose. CVE-2022-23041 netfront will fail a BUG_ON() assertion if it fails to revoke access in the rx path. This will result in a Denial of Service (DoS) situation of the guest which can be triggered by the backend. CVE-2022-23042

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/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; 31st percentile. Scored 2026-11-22. 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-23038 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23038?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23038?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-23038 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
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.320-2DLA-3065-1
Debian12, 13, 14linux5.16.14-1DEBIAN-CVE-2022-23038
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-23038
Ubuntu18.04:LTSlinux4.15.0-177.186UBUNTU-CVE-2022-23038 USN-5418-1
Ubuntu18.04:LTSlinux-aws4.15.0-1128.137UBUNTU-CVE-2022-23038 USN-5418-1
Ubuntu18.04:LTSlinux-aws-5.4, linux-gcp-5.45.4.0-1078.84~18.04.1UBUNTU-CVE-2022-23038 USN-5467-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1138.151UBUNTU-CVE-2022-23038 USN-5418-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1083.87~18.04.1UBUNTU-CVE-2022-23038 USN-5467-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1042.47UBUNTU-CVE-2022-23038 USN-5418-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2022-23038
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1122.136UBUNTU-CVE-2022-23038 USN-5418-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1074.79~18.04.1UBUNTU-CVE-2022-23038 USN-5467-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1046.48~18.04.1UBUNTU-CVE-2022-23038 USN-5467-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-117.132~18.04.1UBUNTU-CVE-2022-23038 USN-5467-1
42 more for Ubuntu in the JSON and on Ubuntu'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.111.1SUSE-SU-2022:1256-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morekernel-default-base5.3.18-150200.24.112.1.150200.9.52.2SUSE-SU-2022:1197-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.112.1SUSE-SU-2022:1197-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.161.1SUSE-SU-2022:1270-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_441-4.5.1SUSE-SU-2022:1270-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.161.1SUSE-SU-2022:1270-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.96.1SUSE-SU-2022:1267-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.116.1SUSE-SU-2022:1196-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.89.1SUSE-SU-2022:1255-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.111.1SUSE-SU-2022:1256-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0kernel-default5.3.18-150200.24.112.1SUSE-SU-2022:1197-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.60.4SUSE-SU-2022:1039-1
26 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.60.4openSUSE-SU-2022:1039-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.53.1SUSE-SU-2022:1163-1
openSUSELeap 15.3kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.111.1SUSE-SU-2022:1256-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.60.4.150300.18.37.5openSUSE-SU-2022:1039-1

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 morenone 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