Every CVE Search/ Get API key

CVE-2024-31143

double unlock in x86 guest IRQ handling

7.5 HighFix available

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

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

0.51%Up 0.5 points since Jul 19, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.5

double unlock in x86 guest IRQ handling

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
CVE-2024-31143
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-832
Updated
2026-11-02
EUVDEUVD-2024-29053 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
EUVD-2024-29053
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-cjq8-723f-8fmv 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple...

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
GHSA-cjq8-723f-8fmv
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-832
Updated
2026-11-02
NVD 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
CVE-2024-31143
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-832
Updated
2026-11-02
OSVALPINE-CVE-2024-31143 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
ALPINE-CVE-2024-31143
CVSS 3.1
7.5 HighCVSS: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

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
CVE-2024-31143
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2024-31143 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
DEBIAN-CVE-2024-31143
CVSS 3.1
7.5 HighCVSS: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-31143 7.5

An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.

Record
UBUNTU-CVE-2024-31143
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2025-0270 No score

Updated xen packages fix security vulnerabilities

Double unlock in x86 guest IRQ handling. (CVE-2024-31143) Xapi: Metadata injection attack against backup/restore functionality. (CVE-2024-31144) Error handling in x86 IOMMU identity mapping. (CVE-2024-31145) PCI device pass-through with shared resources. (CVE-2024-31146) x86: Deadlock in vlapic_error(). (CVE-2024-45817) Deadlock in x86 HVM standard VGA handling. (CVE-2024-45818) libxl leaks data to PVH guests via ACPI tables. (CVE-2024-45819) Backend can crash Linux netfront. (CVE-2024-53240) Xen hypercall page unsafe against speculative attacks. (CVE-2024-53241) Deadlock potential with VT-d and legacy PCI device pass-through. (CVE-2025-1713) x86: Indirect Target Selection. (CVE-2024-28956) x86: Incorrect stubs exception handling for flags recovery. (CVE-2025-27465) TSA-SQ (TSA in the Store Queues). (CVE-2024-36350) TSA-L1 (TSA in the L1 data cache). (CVE-2024-36357) A NULL pointer dereference in the updating of the reference TSC area. (CVE-2025-27466) A NULL pointer dereference by assuming the SIM page is mapped when a synthetic timer message has to be delivered. (CVE-2025-58142) A race in the mapping of the reference TSC page, where a guest can get Xen to free a page while still present in the guest physical to machine (p2m) page tables. (CVE-2025-58143) An assertion is wrong there, where the case actually needs handling. A NULL pointer de-reference could result on a release build. (CVE-2025-58144) The P2M lock isn't held until a page reference was actually obtained (or the attempt to do so has failed). Otherwise the page can not only change type, but even ownership in between, thus allowing domain boundaries to be violated. (CVE-2025-58145) XAPI UTF-8 string handling. (CVE-2025-58146) Hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's format. (CVE-2025-58147) Hypercalls using any input format can cause send_ipi() to read d->vcpu[] out-of-bounds, and operate on a wild vCPU pointer.(CVE-2025-58148) Incorrect removal of permissions on PCI device unplug. (CVE-2025-58149)

Record
MGASA-2025-0270
Updated
2026-11-02
OSVopenSUSE-SU-2024:14204-1 No score

xen-4.18.2_06-2.1 on GA media

These are all security issues fixed in the xen-4.18.2_06-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14204-1
Updated
2026-11-02
OSVSUSE-SU-2024:2531-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46842: Fixed x86 HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984).
  • CVE-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355).
Record
SUSE-SU-2024:2531-1
Updated
2026-11-02
OSVSUSE-SU-2024:2533-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-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355).
Record
SUSE-SU-2024:2533-1
Updated
2026-11-02
OSVSUSE-SU-2024:2534-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-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355).
Record
SUSE-SU-2024:2534-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
OSVSUSE-SU-2024:2654-1 No score

Security update for xen

This update for xen fixes the following issues:

  • CVE-2023-46842: Fixed x86 HVM hypercalls may trigger Xen bug check (XSA-454, bsc#1221984).
  • CVE-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355).
Record
SUSE-SU-2024:2654-1
Updated
2026-11-02
OSVSUSE-SU-2024:3423-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-2024-31143: Fixed double unlock in x86 guest IRQ handling (XSA-458, bsc#1227355)
  • CVE-2024-31145: Fixed error handling in x86 IOMMU identity mapping (XSA-460, bsc#1228574)
  • CVE-2024-31146: Fixed PCI device pass-through with shared resources (XSA-461, bsc#1228575)
  • CVE-2024-45817: Fixed a deadlock in vlapic_error (XSA-462, bsc#1230366)
Record
SUSE-SU-2024:3423-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
xen
Alpine:v3.17
4.4.0 up to 4.16.6-r1
4.16.6-r1
xen
Alpine:v3.18
4.4.0 up to 4.17.5-r0
4.17.5-r0
xen
Alpine:v3.19
4.4.0 up to 4.18.3-r0
4.18.3-r0
xen
Alpine:v3.20
4.4.0 up to 4.18.3-r0
4.18.3-r0
xen
Alpine:v3.21
4.4.0 up to 4.19.0-r0
4.19.0-r0
xen
Alpine:v3.22
4.4.0 up to 4.19.0-r0
4.19.0-r0
xen
Alpine:v3.23
4.4.0 up to 4.19.0-r0
4.19.0-r0
xen
Alpine:v3.24
4.4.0 up to 4.19.0-r0
4.19.0-r0
xen
Debian: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 less
4.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
xen
Debian:13
before 4.19.1-1
4.19.1-1
Show 40 moreShow less
Affected packages
PackageAffectedFixed
xen
Debian:14
before 4.19.1-1
4.19.1-1
xen
Debian: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 less
4.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
xen
Mageia:9
From an advisory covering 26 CVEs
before 4.17.5-1.git20251028.1.mga9
4.17.5-1.git20251028.1.mga9
xen
SUSE:Linux Enterprise Module for Basesystem 15 SP6
From an advisory covering 2 CVEs
before 4.18.2_06-150600.3.3.1
4.18.2_06-150600.3.3.1
xen
SUSE:Linux Enterprise Module for Server Applications 15 SP6
From an advisory covering 2 CVEs
before 4.18.2_06-150600.3.3.1
4.18.2_06-150600.3.3.1
xen
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 4.18.2_06-150600.3.3.1
4.18.2_06-150600.3.3.1
xen
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Linux Enterprise Server 15 SP3-LTSS
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Enterprise Storage 7.1
From an advisory covering 2 CVEs
before 4.14.6_16-150300.3.75.1
4.14.6_16-150300.3.75.1
xen
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 2 CVEs
before 4.12.4_50-3.112.1
4.12.4_50-3.112.1
xen
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 4.12.4_50-3.112.1
4.12.4_50-3.112.1
xen
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 4.12.4_50-3.112.1
4.12.4_50-3.112.1
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 2 CVEs
before 4.17.4_04-150500.3.33.1
4.17.4_04-150500.3.33.1
xen
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 2 CVEs
before 4.17.4_04-150500.3.33.1
4.17.4_04-150500.3.33.1
xen
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 2 CVEs
before 4.17.4_04-150500.3.33.1
4.17.4_04-150500.3.33.1
xen
openSUSE:Leap Micro 5.5
From an advisory covering 2 CVEs
before 4.17.4_04-150500.3.33.1
4.17.4_04-150500.3.33.1
xen
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 4.17.4_04-150500.3.33.1
4.17.4_04-150500.3.33.1
xen
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Manager Proxy 4.3
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
SUSE:Manager Server 4.3
From an advisory covering 5 CVEs
before 4.16.6_04-150400.4.62.1
4.16.6_04-150400.4.62.1
xen
Ubuntu: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 less
4.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
xen
Ubuntu:18.04:LTS
All versions, plus listed versions
4.9.0-0ubuntu34.9.0-0ubuntu44.9.2-0ubuntu1
None known
xen
Ubuntu: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
xen
Ubuntu: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
xen
Ubuntu: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
xen
Ubuntu:25.10
All versions, plus listed versions
4.20.0-1ubuntu14.20.0+68-g35cb38b222-1
None known
xen
Ubuntu: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
xen
Ubuntu: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
xen
openSUSE:Tumbleweed
before 4.18.2_06-2.1
4.18.2_06-2.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-31143 is a high vulnerability (CVSS 7.5) in Xen, published July 16, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in xen 4.16.6-r1.

References

Show 55 moreShow less
MoveEnter Open