Salvatore Bonaccorso
2023-Mar-21 20:21 UTC
[Pkg-xen-devel] Bug#1033297: xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334
Source: xen Version: 4.17.0+46-gaaf74a532c-1 Severity: grave Tags: security upstream X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org> Hi, The following vulnerabilities were published for xen. CVE-2022-42331[0]: | x86: speculative vulnerability in 32bit SYSCALL path Due to an | oversight in the very original Spectre/Meltdown security work | (XSA-254), one entrypath performs its speculation-safety actions too | late. In some configurations, there is an unprotected RET instruction | which can be attacked with a variety of speculative attacks. CVE-2022-42332[1]: | x86 shadow plus log-dirty mode use-after-free In environments where | host assisted address translation is necessary but Hardware Assisted | Paging (HAP) is unavailable, Xen will run guests in so called shadow | mode. Shadow mode maintains a pool of memory used for both shadow page | tables as well as auxiliary data structures. To migrate or snapshot | guests, Xen additionally runs them in so called log-dirty mode. The | data structures needed by the log-dirty tracking are part of | aformentioned auxiliary data. In order to keep error handling efforts | within reasonable bounds, for operations which may require memory | allocations shadow mode logic ensures up front that enough memory is | available for the worst case requirements. Unfortunately, while page | table memory is properly accounted for on the code path requiring the | potential establishing of new shadows, demands by the log-dirty | infrastructure were not taken into consideration. As a result, just | established shadow page tables could be freed again immediately, while | other code is still accessing them on the assumption that they would | remain allocated. CVE-2022-42333[2]: | x86/HVM pinned cache attributes mis-handling T[his CNA information | record relates to multiple CVEs; the text explains which | aspects/vulnerabilities correspond to which CVE.] To allow cachability | control for HVM guests with passed through devices, an interface | exists to explicitly override defaults which would otherwise be put in | place. While not exposed to the affected guests themselves, the | interface specifically exists for domains controlling such guests. | This interface may therefore be used by not fully privileged entities, | e.g. qemu running deprivileged in Dom0 or qemu running in a so called | stub-domain. With this exposure it is an issue that - the number of | the such controlled regions was unbounded (CVE-2022-42333), - | installation and removal of such regions was not properly serialized | (CVE-2022-42334). CVE-2022-42334[3]: | x86/HVM pinned cache attributes mis-handling T[his CNA information | record relates to multiple CVEs; the text explains which | aspects/vulnerabilities correspond to which CVE.] To allow cachability | control for HVM guests with passed through devices, an interface | exists to explicitly override defaults which would otherwise be put in | place. While not exposed to the affected guests themselves, the | interface specifically exists for domains controlling such guests. | This interface may therefore be used by not fully privileged entities, | e.g. qemu running deprivileged in Dom0 or qemu running in a so called | stub-domain. With this exposure it is an issue that - the number of | the such controlled regions was unbounded (CVE-2022-42333), - | installation and removal of such regions was not properly serialized | (CVE-2022-42334). If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2022-42331 https://www.cve.org/CVERecord?id=CVE-2022-42331 [1] https://security-tracker.debian.org/tracker/CVE-2022-42332 https://www.cve.org/CVERecord?id=CVE-2022-42332 [2] https://security-tracker.debian.org/tracker/CVE-2022-42333 https://www.cve.org/CVERecord?id=CVE-2022-42333 [3] https://security-tracker.debian.org/tracker/CVE-2022-42334 https://www.cve.org/CVERecord?id=CVE-2022-42334 Please adjust the affected versions in the BTS as needed. Regards, Salvatore
Debian Bug Tracking System
2023-Mar-29 07:36 UTC
[Pkg-xen-devel] Bug#1033297: marked as done (xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334)
Your message dated Wed, 29 Mar 2023 07:32:14 +0000 with message-id <E1phQI2-000q0s-TV at fasolo.debian.org> and subject line Bug#1033297: fixed in xen 4.14.5+94-ge49571868d-1 has caused the Debian Bug report #1033297, regarding xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1033297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033297 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Salvatore Bonaccorso <carnil at debian.org> Subject: xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334 Date: Tue, 21 Mar 2023 21:21:45 +0100 Size: 5642 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20230329/69623384/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#1033297: fixed in xen 4.14.5+94-ge49571868d-1 Date: Wed, 29 Mar 2023 07:32:14 +0000 Size: 19570 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20230329/69623384/attachment-0001.eml>
Debian Bug Tracking System
2023-Apr-03 13:54 UTC
[Pkg-xen-devel] Bug#1033297: marked as done (xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334)
Your message dated Mon, 03 Apr 2023 13:49:31 +0000 with message-id <E1pjKYt-008LfE-6E at fasolo.debian.org> and subject line Bug#1033297: fixed in xen 4.17.0+74-g3eac216e6e-1 has caused the Debian Bug report #1033297, regarding xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1033297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033297 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Salvatore Bonaccorso <carnil at debian.org> Subject: xen: CVE-2022-42331 CVE-2022-42332 CVE-2022-42333 CVE-2022-42334 Date: Tue, 21 Mar 2023 21:21:45 +0100 Size: 5642 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20230403/64b1dc10/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#1033297: fixed in xen 4.17.0+74-g3eac216e6e-1 Date: Mon, 03 Apr 2023 13:49:31 +0000 Size: 6738 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20230403/64b1dc10/attachment-0001.eml>
Seemingly Similar Threads
- Processed: stable is affected as well
- Bug#1029830: xen: CVE-2022-42330
- Bug#1031567: xen: CVE-2022-27672: XSA-426: x86: Cross-Thread Return Address Predictions
- Bug#1056928: xen: CVE-2023-46835 CVE-2023-46836
- CVE-2022-30550: Privilege escalation possible in dovecot when similar master and non-master passdbs are used