CVE-2024-26810

vfio/pci: Lock external INTx masking ops

State
Published
Severity
7.8 High
Published
Apr 5, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

vfio/pci: Lock external INTx masking ops

Mask operations through config space changes to DisINTx may race INTx configuration changes via ioctl. Create wrappers that add locking for paths outside of the core interrupt code.

In particular, irq_type is updated holding igate, therefore testing is_intx() requires holding igate. For example clearing DisINTx from config space can otherwise race changes of the interrupt configuration.

This aligns interfaces which may trigger the INTx eventfd into two camps, one side serialized by igate and the other only enabled while INTx is configured. A subsequent patch introduces synchronization for the latter flows.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.14.4 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 1e71b6449d55179170efc8dee8664510bb813b42Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 3dd9be6cb55e0f47544e7cdda486413f7134e3b3Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before ec73e079729258a05452356cf6d098bf1504d5a6Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 3fe0ac10bd117df847c93408a9d428a453cd60e5Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 04a4a017b9ffd7b0f427b8c376688d14cb614651Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 6fe478d855b20ac1eb5da724afe16af5a2aaaa40Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 03505e3344b0576fd619416793a31eae9c5b73bfAffected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 810cd4bb53456d0503cc4e7934e063835152c1b7Affected
LinuxLinux
  • 3.6Affected
  • before 3.6Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.84 through 6.1.*Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.