CVE-2024-26810 vfio/pci: Lock external INTx masking ops

High 7.8 Published Updated

A race condition in the Linux kernel's VFIO PCI driver allows concurrent INTx masking operations, potentially leading to system instability or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26810?

CVE-2024-26810 is a high-severity vulnerability in Linux kernel, published on 5 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2024-26810?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26810?

Apply the vendor's patch.

Is CVE-2024-26810 being exploited?

There is no known exploitation of CVE-2024-26810 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26810, DEBIAN-CVE-2024-26810, GHSA-fpf4-cfch-367m, UBUNTU-CVE-2024-26810.

Is CVE-2024-26810 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free