CVE-2024-26812

vfio/pci: Create persistent INTx handler

7.8 high EPSS 0.25%

Published 5 Apr 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-26812

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26812 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

vfio/pci: Create persistent INTx handler

A vulnerability exists where the eventfd for INTx signaling can be deconfigured, which unregisters the IRQ handler but still allows eventfds to be signaled with a NULL context through the SET_IRQS ioctl or through unmask irqfd if the device interrupt is pending.

Ideally this could be solved with some additional locking; the igate mutex serializes the ioctl and config space accesses, and the interrupt handler is unregistered relative to the trigger, but the irqfd path runs asynchronous to those. The igate mutex cannot be acquired from the atomic context of the eventfd wake function. Disabling the irqfd relative to the eventfd registration is potentially incompatible with existing userspace.

As a result, the solution implemented here moves configuration of the INTx interrupt handler to track the lifetime of the INTx context object and irq_type configuration, rather than registration of a particular trigger eventfd. Synchronization is added between the ioctl path and eventfd_signal() wrapper such that the eventfd trigger can be dynamically updated relative to in-flight interrupts or irqfd callbacks.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Apr 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before b18fa894d615c8527e15d96b76c7448800e13899
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 27d40bf72dd9a6600b76ad05859176ea9a1b4897
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 4cb0d7532126d23145329826c38054b4e9a05e7c
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 7d29d4c72c1e196cce6969c98072a272d1a703b3
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 69276a555c740acfbff13fb5769ee9c92e1c828e
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 4c089cefe30924fbe20dd1ee92774ea1f5eca834
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 0e09cf81959d9f12b75ad5c6dd53d237432ed034
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 18c198c96a815c962adc2b9b77909eec0be7df4d
Other versions: unaffected
Linux
affected 3.6
unaffected before 3.6
unaffected from 5.4.274 up to and including 5.4.*
unaffected from 5.10.215 up to and including 5.10.*
unaffected from 5.15.154 up to and including 5.15.*
unaffected from 6.1.84 up to and including 6.1.*
unaffected from 6.6.24 up to and including 6.6.*
unaffected from 6.7.12 up to and including 6.7.*
unaffected from 6.8.3 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26812 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26812

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-26812
trivy image --scanners vuln IMAGE | grep CVE-2024-26812

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-26812 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.