Skip to content
OpenAdvisories
Unscored CVE-2022-23040 EUVD-2022-28151GHSA-5wjp-vc35-7wgq

Linux PV device frontends vulnerable to attacks by backends T[his CNA information record relates to multiple CVEs; the text explains which …

Published Mar 10, 2022 · Updated Aug 3, 2024 · Assigned by XEN

Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fips Package: linux-bluefield Package: linux-dell300x Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.4 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg-5.15 Package: linux-iot Package: linux-kvm Package: linux-lts-xenial Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.8 Package: linux-snapdragon Package: linux-vmware Ecosystem: Debian Ecosystem: Ubuntu

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.16.14-1 —
Debian 13 linux 5.16.14-1 —
Debian 12 linux 5.16.14-1 —
Debian 9 linux 4.9.320-2 DLA-3065-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-117.132 USN-5467-1
Ubuntu 20.04 LTS linux-aws +1 5.4.0-1078.84 USN-5467-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1083.87 USN-5467-1
Ubuntu 20.04 LTS linux-azure-fde 5.4.0-1083.87+cvm1.1 USN-5467-1
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1040.44 —
Ubuntu 20.04 LTS linux-gke 5.4.0-1074.79 USN-5467-1
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1046.48 USN-5467-1
Ubuntu 20.04 LTS linux-ibm 5.4.0-1026.29 USN-5467-1
Ubuntu 20.04 LTS linux-intel-iotg-5.15 5.15.0-1008.11~20.04.1 —
Ubuntu 20.04 LTS linux-iot 5.4.0-1004.6 —
Ubuntu 20.04 LTS linux-kvm 5.4.0-1068.72 USN-5467-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1076.83 USN-5467-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1065.75 USN-5467-1
Ubuntu 20.04 LTS linux-riscv +23 No fix yet —
Ubuntu 18.04 LTS linux 4.15.0-177.186 USN-5418-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1128.137 USN-5418-1
Ubuntu 18.04 LTS linux-aws-5.4 +1 5.4.0-1078.84~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1138.151 USN-5418-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1083.87~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1042.47 USN-5418-1
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1122.136 USN-5418-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1074.79~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1046.48~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-117.132~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-ibm-5.4 5.4.0-1028.32~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-kvm 4.15.0-1114.117 USN-5418-1
Ubuntu 18.04 LTS linux-oracle 4.15.0-1093.102 USN-5418-1
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1076.83~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1065.75~18.04.1 USN-5467-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1109.116 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1127.136 USN-5418-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro Realtime 22.04 LTS linux-realtime 5.15.0-1007.7 —
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips +1 5.4.0-1078.84+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1083.87+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1054.61 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2067.70 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2049.53 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1085.94 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-gcp-fips 4.15.0-2032.35 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips No fix yet —
Ubuntu Pro 16.04 LTS linux +2 No fix yet —
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1128.137~16.04.1 USN-5418-1
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1138.151~16.04.1 USN-5418-1
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1122.136~16.04.1 USN-5418-1
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-177.186~16.04.1 USN-5418-1
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1093.102~16.04.1 USN-5418-1
Ubuntu Pro 14.04 LTS linux-aws +1 No fix yet —
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1138.151~14.04.1 USN-5418-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLES 15 SP3 kernel-azure +2 5.3.18-150300.38.53.1 SUSE-SU-2022:1163-1
SLES 15 SP3 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 SUSE-SU-2022:1039-1
SLES 15 SP2 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SLES 15 SP2 kernel-docs +5 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLES 15 SP1 kernel-docs +5 4.12.14-150100.197.111.1 SUSE-SU-2022:1256-1
SLES 15 kernel-docs +6 4.12.14-150000.150.89.1 SUSE-SU-2022:1255-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.94.1 SUSE-SU-2022:1266-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.116.1 SUSE-SU-2022:1196-1
Show 34 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 kernel-syms +2 4.12.14-95.96.1 SUSE-SU-2022:1267-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.161.1 SUSE-SU-2022:1270-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_44 1-4.5.1 SUSE-SU-2022:1270-1
SLES 12 SP2 kernel-syms +2 4.4.121-92.172.1 SUSE-SU-2022:1283-1
SLES for SAP 15 SP2 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SLES for SAP 15 SP2 kernel-docs +5 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-150100.197.111.1 SUSE-SU-2022:1256-1
SLES for SAP 15 kernel-docs +5 4.12.14-150000.150.89.1 SUSE-SU-2022:1255-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.94.1 SUSE-SU-2022:1266-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.116.1 SUSE-SU-2022:1196-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.96.1 SUSE-SU-2022:1267-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.161.1 SUSE-SU-2022:1270-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_44 1-4.5.1 SUSE-SU-2022:1270-1
SLE Real Time 15 SP2 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SLE Real Time 15 SP2 kernel-docs +4 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.84.1 SUSE-SU-2022:1402-1
SLE Micro 5.1 kernel-default 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 SUSE-SU-2022:1039-1
SLE Micro 5.1 kernel-rt 5.3.18-150300.82.1 SUSE-SU-2022:1038-1
SLE Micro 5.0 kernel-default 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLE Micro 5.0 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SLE Micro 5.0 kernel-rt 5.3.18-150200.79.2 SUSE-SU-2022:1257-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-150300.59.60.4 SUSE-SU-2022:1039-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_16 1-150300.7.5.3 SUSE-SU-2022:1039-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_26 1-150200.5.5.1 SUSE-SU-2022:1197-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-150100.197.111.1 SUSE-SU-2022:1256-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_30 1-150100.3.3.1 SUSE-SU-2022:1256-1
SLE Live Patching 15 kernel-default 4.12.14-150000.150.89.1 SUSE-SU-2022:1255-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_29 1-150000.1.3.1 SUSE-SU-2022:1255-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.116.1 SUSE-SU-2022:1196-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_30 1-8.3.1 SUSE-SU-2022:1196-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.96.1 SUSE-SU-2022:1267-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_26 1-6.3.1 SUSE-SU-2022:1267-1
SLE HPC 15 SP2 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SLE HPC 15 SP2 kernel-docs +5 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-150100.197.111.1 SUSE-SU-2022:1256-1
SLE HPC 15 kernel-docs +5 4.12.14-150000.150.89.1 SUSE-SU-2022:1255-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-150300.82.1 SUSE-SU-2022:1038-1
SUSE Real Time Module 15 SP2 kernel-rt +2 5.3.18-150200.79.2 SUSE-SU-2022:1257-1
SUSE Real Time Module 15 SP2 kernel-syms-rt 5.3.18-150200.79.1 SUSE-SU-2022:1257-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.96.1 SUSE-SU-2022:1267-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.161.1 SUSE-SU-2022:1270-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_44 1-4.5.1 SUSE-SU-2022:1270-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.96.1 SUSE-SU-2022:1267-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.161.1 SUSE-SU-2022:1270-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_44 1-4.5.1 SUSE-SU-2022:1270-1
SUSE Manager Server 4.1 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SUSE Manager Server 4.1 kernel-docs +5 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SUSE Manager Retail Branch Server 4.1 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SUSE Manager Retail Branch Server 4.1 kernel-docs +4 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SUSE Manager Proxy 4.1 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SUSE Manager Proxy 4.1 kernel-docs +4 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.161.1 SUSE-SU-2022:1270-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_44 1-4.5.1 SUSE-SU-2022:1270-1
SUSE Enterprise Storage 7 kernel-default-base 5.3.18-150200.24.112.1.150200.9.52.2 SUSE-SU-2022:1197-1
SUSE Enterprise Storage 7 kernel-docs +5 5.3.18-150200.24.112.1 SUSE-SU-2022:1197-1
SUSE Enterprise Storage 6 kernel-docs +4 4.12.14-150100.197.111.1 SUSE-SU-2022:1256-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 dtb-aarch64 +7 5.3.18-150300.59.60.4 openSUSE-SU-2022:1039-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-150300.38.53.1 SUSE-SU-2022:1163-1
openSUSE Leap 15.3 kernel-debug +4 4.12.14-150100.197.111.1 openSUSE-SU-2022:1039-1, SUSE-SU-2022:1256-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-150300.59.60.4.150300.18.37.5 openSUSE-SU-2022:1039-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek-container 4.14.35-2047.514.3.el7 ELSA-2022-9480, ELSA-2022-9478
Oracle Linux 7 kernel-uek-container-debug 5.4.17-2136.308.7.el8 ELSA-2022-9480
Oracle Linux 7 perf +10 4.14.35-2047.514.3.el7uek ELSA-2022-9479, ELSA-2022-9477

Advisories 26

References