CVE-2024-31142
x86: Incorrect logic for BTC/SRSO mitigations
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
x86: Incorrect logic for BTC/SRSO mitigations
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
EUVDEUVD-2024-29052
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
EUVD-2024-29052- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-g7qc-r5p9-r36r
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied...
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
GHSA-g7qc-r5p9-r36r- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
NVD
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-693
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-31142
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
ALPINE-CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted.
For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2024-31142
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted. For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
DEBIAN-CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-31142
7.5
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted. For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
- Record
UBUNTU-CVE-2024-31142- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13853-1 No score
xen-4.18.2_02-1.1 on GA media
These are all security issues fixed in the xen-4.18.2_02-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13853-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1259-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2023-46842: Fixed denial of service due to Xen bug check triggered by HVM hypercalls (XSA-454) in xen x86 (bsc#1221984)
- CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455) in xen x86 (bsc#1222302)
- CVE-2024-2201: Fixed memory disclosure via Native Branch History Injection (XSA-456) in xen x86 (bsc#1222453)
Other fixes:
- Update to Xen 4.16.6 (bsc#1027519)
- Record
SUSE-SU-2024:1259-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1295-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2023-46842: Fixed denial of service due to Xen bug check triggered by HVM hypercalls (XSA-454) in xen x86 (bsc#1221984)
- CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455) in xen x86 (bsc#1222302)
- CVE-2024-2201: Fixed memory disclosure via Native Branch History Injection (XSA-456) in xen x86 (bsc#1222453)
Other fixes:
- Update to Xen 4.17.4 (bsc#1027519)
- Record
SUSE-SU-2024:1295-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1540-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
- CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
- CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
- Record
SUSE-SU-2024:1540-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1541-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
- CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
- CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
- Upstream bug fixes (bsc#1027519)
- Record
SUSE-SU-2024:1541-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2535-1 No score
Security update for xen
This update for xen fixes the following issues:
- CVE-2023-28746: Register File Data Sampling (XSA-452, bsc#1221332)
- CVE-2023-46842: HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984)
- CVE-2024-2193: Fixed GhostRace, a speculative race conditions. (XSA-453, bsc#1221334)
- CVE-2024-2201: Mitigation for Native Branch History Injection (XSA-456, bsc#1222453)
- CVE-2024-31142: Fixed incorrect logic for BTC/SRSO mitigations (XSA-455, bsc#1222302)
- CVE-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355)
- Record
SUSE-SU-2024:2535-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xenAlpine:v3.16 |
4.16.0 up to 4.16.6-r0 | 4.16.6-r0 |
xenAlpine:v3.17 |
4.16.0 up to 4.16.6-r0 | 4.16.6-r0 |
xenAlpine:v3.18 |
4.16.0 up to 4.17.4-r0 | 4.17.4-r0 |
xenAlpine:v3.19 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenAlpine:v3.20 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenAlpine:v3.21 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenAlpine:v3.22 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenAlpine:v3.23 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenAlpine:v3.24 |
4.16.0 up to 4.18.2-r0 | 4.18.2-r0 |
xenDebian:12 |
before 4.17.5+23-ga4e5191dc0-1, plus listed versions 4.17.1+2-gb773c48e36-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1~deb12u14.17.2-1 Show 6 moreShow less4.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.14.17.3+10-g091466ba55-1.1~exp14.17.3+10-g091466ba55-1.1~exp24.17.3+10-g091466ba55-1~deb12u14.17.3+36-g54dacb5c02-1 |
4.17.5+23-ga4e5191dc0-1 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xenDebian:13 |
before 4.19.1-1 | 4.19.1-1 |
xenDebian:14 |
before 4.19.1-1 | 4.19.1-1 |
xenDebian:12 From an advisory covering 12 CVEs |
before 4.17.5+23-ga4e5191dc0-1, plus listed versions 4.17.1+2-gb773c48e36-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1~deb12u14.17.2-1 Show 6 moreShow less4.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.14.17.3+10-g091466ba55-1.1~exp14.17.3+10-g091466ba55-1.1~exp24.17.3+10-g091466ba55-1~deb12u14.17.3+36-g54dacb5c02-1 |
4.17.5+23-ga4e5191dc0-1 |
xenSUSE:Linux Enterprise Micro 5.3 From an advisory covering 3 CVEs |
before 4.16.6_02-150400.4.55.1 | 4.16.6_02-150400.4.55.1 |
xenSUSE:Linux Enterprise Micro 5.4 From an advisory covering 3 CVEs |
before 4.16.6_02-150400.4.55.1 | 4.16.6_02-150400.4.55.1 |
xenopenSUSE:Leap Micro 5.3 From an advisory covering 3 CVEs |
before 4.16.6_02-150400.4.55.1 | 4.16.6_02-150400.4.55.1 |
xenopenSUSE:Leap Micro 5.4 From an advisory covering 3 CVEs |
before 4.16.6_02-150400.4.55.1 | 4.16.6_02-150400.4.55.1 |
xenSUSE:Linux Enterprise Micro 5.5 From an advisory covering 3 CVEs |
before 4.17.4_02-150500.3.30.1 | 4.17.4_02-150500.3.30.1 |
xenSUSE:Linux Enterprise Module for Basesystem 15 SP5 From an advisory covering 3 CVEs |
before 4.17.4_02-150500.3.30.1 | 4.17.4_02-150500.3.30.1 |
xenSUSE:Linux Enterprise Module for Server Applications 15 SP5 From an advisory covering 3 CVEs |
before 4.17.4_02-150500.3.30.1 | 4.17.4_02-150500.3.30.1 |
xenopenSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 4.17.4_02-150500.3.30.1 | 4.17.4_02-150500.3.30.1 |
xenSUSE:Linux Enterprise Micro 5.1 From an advisory covering 3 CVEs |
before 4.14.6_14-150300.3.72.1 | 4.14.6_14-150300.3.72.1 |
xenSUSE:Linux Enterprise Micro 5.2 From an advisory covering 3 CVEs |
before 4.14.6_14-150300.3.72.1 | 4.14.6_14-150300.3.72.1 |
xenSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 3 CVEs |
before 4.12.4_48-3.109.1 | 4.12.4_48-3.109.1 |
xenSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 3 CVEs |
before 4.12.4_48-3.109.1 | 4.12.4_48-3.109.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 3 CVEs |
before 4.12.4_48-3.109.1 | 4.12.4_48-3.109.1 |
xenSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 6 CVEs |
before 4.13.5_12-150200.3.93.1 | 4.13.5_12-150200.3.93.1 |
xenSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 6 CVEs |
before 4.13.5_12-150200.3.93.1 | 4.13.5_12-150200.3.93.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 6 CVEs |
before 4.13.5_12-150200.3.93.1 | 4.13.5_12-150200.3.93.1 |
xenUbuntu:16.04:LTS |
All versions, plus listed versions 4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu4 Show 7 moreShow less4.6.0-1ubuntu4.14.6.0-1ubuntu4.24.6.0-1ubuntu4.34.6.5-0ubuntu14.6.5-0ubuntu1.14.6.5-0ubuntu1.24.6.5-0ubuntu1.4 |
None known |
xenUbuntu:18.04:LTS |
All versions, plus listed versions 4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1 |
None known |
xenUbuntu:20.04:LTS |
All versions, plus listed versions 4.9.2-0ubuntu24.9.2-0ubuntu64.9.2-0ubuntu74.11.3+24-g14b62ab3e5-1ubuntu14.11.3+24-g14b62ab3e5-1ubuntu24.11.3+24-g14b62ab3e5-1ubuntu2.24.11.3+24-g14b62ab3e5-1ubuntu2.3 |
None known |
xenUbuntu:22.04:LTS |
All versions, plus listed versions 4.11.4+24-gddaaccbbab-1ubuntu24.16.0-1~ubuntu24.16.0-1~ubuntu2.1 |
None known |
xenUbuntu:24.04:LTS |
All versions, plus listed versions 4.17.2-14.17.2+55-g0b56bed864-14.17.2+76-ge1f9cb16e2-14.17.2+76-ge1f9cb16e2-1ubuntu14.17.3+10-g091466ba55-14.17.3+10-g091466ba55-1.1ubuntu24.17.3+10-g091466ba55-1.1ubuntu3 |
None known |
xenUbuntu:25.10 |
All versions, plus listed versions 4.20.0-1ubuntu14.20.0+68-g35cb38b222-1 |
None known |
xenUbuntu:26.10 |
All versions, plus listed versions 4.20.2+7-g1badcf5035-2build24.20.2+37-g61ff35323e-1ubuntu14.20.3+127-gc42374a105-1 |
None known |
xenUbuntu:26.04:LTS |
All versions, plus listed versions 4.20.0+68-g35cb38b222-14.20.2+7-g1badcf5035-24.20.2+7-g1badcf5035-2build2 |
None known |
xenopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 4.18.2_02-1.1 | 4.18.2_02-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-31142 is a high vulnerability (CVSS 7.5) in Xen, published April 12, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.4%, the 97th percentile. Fixed in xen 4.16.6-r0.
References
xenbits.xenproject.org/xsa/advisory-455.html
lists.fedoraproject.org/archives/list/[email protected]/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3
lists.fedoraproject.org/archives/list/[email protected]/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH
xenbits.xen.org/xsa/advisory-455.html
nvd.nist.gov/vuln/detail/CVE-2024-31142
github.com/advisories/GHSA-g7qc-r5p9-r36r
Show 23 moreShow less
security.alpinelinux.org/vuln/CVE-2024-31142
security-tracker.debian.org/tracker/CVE-2024-31142
suse.com/support/update/announcement/2024/suse-su-20241259-1
bugzilla.suse.com/1027519
bugzilla.suse.com/1221984
bugzilla.suse.com/1222302
bugzilla.suse.com/1222453
suse.com/security/cve/CVE-2023-46842
suse.com/security/cve/CVE-2024-2201
suse.com/security/cve/CVE-2024-31142
suse.com/support/update/announcement/2024/suse-su-20241295-1
suse.com/support/update/announcement/2024/suse-su-20241540-1
suse.com/support/update/announcement/2024/suse-su-20241541-1
suse.com/support/update/announcement/2024/suse-su-20242535-1
bugzilla.suse.com/1214083
bugzilla.suse.com/1221332
bugzilla.suse.com/1221334
bugzilla.suse.com/1227355
suse.com/security/cve/CVE-2023-28746
suse.com/security/cve/CVE-2024-2193
suse.com/security/cve/CVE-2024-31143
ubuntu.com/security/CVE-2024-31142
cve.org/CVERecord?id=CVE-2024-31142