CVE-2022-23038 json
Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which…
published 2022-03-10 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-28149
- cvss
- 7.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- linux Debian 14, Debian 13, Debian 12 5.16.14-1
debian advisories DEBIAN-CVE-2022-23038
- linux Ubuntu 18.04 LTS 4.15.0-177.186
- linux Ubuntu 20.04 LTS 5.4.0-117.132
- linux-aws Ubuntu 18.04 LTS 4.15.0-1128.137
- linux-aws Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-gke Ubuntu 20.04 LTS 5.4.0-1074.79
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1026.29
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
ubuntu advisories UBUNTU-CVE-2022-23038
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.84.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.84.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.84.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.84.1
- kernel-syms SLES 12 SP2-BCL 4.4.121-92.172.1
- kernel-source SLES 12 SP2-BCL 4.4.121-92.172.1
- kernel-default SLES 12 SP2-BCL 4.4.121-92.172.1
- kernel-syms SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 4.4.180-94.161.1
suse advisories SUSE-SU-2022:1402-1SUSE-SU-2022:1283-1SUSE-SU-2022:1270-1SUSE-SU-2022:1267-1SUSE-SU-2022:1266-1SUSE-SU-2022:1257-1
- dtb-aarch64 openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-64kb openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-syms openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-obs-qa openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-source openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-default openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-preempt openSUSE Leap 15.3 5.3.18-150300.59.60.4
- kernel-kvmsmall openSUSE Leap 15.3 5.3.18-150300.59.60.4
opensuse advisories openSUSE-SU-2022:1039-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23038 updated
xen: Linux PV device frontends vulnerable to attacks by backends (XSA-396)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-075-01 updated cvss 7.0
Siemens SCALANCE, RUGGEDCOM Third-Party
-
Siemens RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2) <V7.2 Siemens RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2) <V7.2 Siemens SCALANCE M804PB (6GK5804-0AP00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex A) (6GK5812-1AA00-2AA2) <V7.2 Siemens SCALANCE M812-1 ADSL-Router (Annex B) (6GK5812-1BA00-2AA2) <V7.2 Siemens SCALANCE M816-1 ADSL-Router (Annex A) (6GK5816-1AA00-2AA2) <V7.2affected: fixed in V7.2 support.industry.siemens.com
+14 more productsfewer
Siemens SCALANCE M816-1 ADSL-Router (Annex B) (6GK5816-1BA00-2AA2) <V7.2 Siemens SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2) <V7.2 Siemens SCALANCE M874-2 (6GK5874-2AA00-2AA2) <V7.2 Siemens SCALANCE M874-3 (6GK5874-3AA00-2AA2) <V7.2 Siemens SCALANCE M876-3 (EVDO) (6GK5876-3AA02-2BA2) <V7.2 Siemens SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2) <V7.2 Siemens SCALANCE M876-4 (6GK5876-4AA10-2BA2) <V7.2 Siemens SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2) <V7.2 Siemens SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2) <V7.2 Siemens SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1) <V7.2 Siemens SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1) <V7.2 Siemens SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1) <V7.2 Siemens SCALANCE S615 (6GK5615-0AA00-2AA2) <V7.2 Siemens SCALANCE S615 EEC (6GK5615-0AA01-2AA2) <V7.2
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
-
xenbits.xenproject.org
/xsa/advisory-396.txt
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/07/msg00000.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2022-23038
- NVD CVE-2022-23038
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.