CVE-2024-26810

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 1e71b6449d55179170efc8dee8664510bb813b42affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 3dd9be6cb55e0f47544e7cdda486413f7134e3b3affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < ec73e079729258a05452356cf6d098bf1504d5a6affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 3fe0ac10bd117df847c93408a9d428a453cd60e5affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 04a4a017b9ffd7b0f427b8c376688d14cb614651affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 6fe478d855b20ac1eb5da724afe16af5a2aaaa40affected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 03505e3344b0576fd619416793a31eae9c5b73bfaffected
LinuxLinux89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 810cd4bb53456d0503cc4e7934e063835152c1b7affected
LinuxLinux3.6affected
LinuxLinux0 < 3.6unaffected
LinuxLinux5.4.274 <= 5.4.*unaffected
LinuxLinux5.10.215 <= 5.10.*unaffected
LinuxLinux5.15.154 <= 5.15.*unaffected
LinuxLinux6.1.84 <= 6.1.*unaffected
LinuxLinux6.6.24 <= 6.6.*unaffected
LinuxLinux6.7.12 <= 6.7.*unaffected
LinuxLinux6.8.3 <= 6.8.*unaffected
LinuxLinux6.9 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

Additional References

References