CVE-2024-26813

vfio/platform: Create persistent IRQ handlers

No CVSS score yet EPSS 0.23%

Published 5 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-26813

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-26813 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/platform: Create persistent IRQ handlers

The vfio-platform SET_IRQS ioctl currently allows loopback triggering of an interrupt before a signaling eventfd has been configured by the user, which thereby allows a NULL pointer dereference.

Rather than register the IRQ relative to a valid trigger, register all IRQs in a disabled state in the device open path. This allows mask operations on the IRQ to nest within the overall enable state governed by a valid eventfd signal. This decouples @masked, protected by the @locked spinlock from @trigger, protected via the @igate mutex.

In doing so, it's guaranteed that changes to @trigger cannot race the IRQ handlers because the IRQ handler is synchronously disabled before modifying the trigger, and loopback triggering of the IRQ via ioctl is safe due to serialization with trigger changes via igate.

For compatibility, request_irq() failures are maintained to be local to the SET_IRQS ioctl rather than a fatal error in the open device path. This allows, for example, a userspace driver with polling mode support to continue to work regardless of moving the request_irq() call site. This necessarily blocks all SET_IRQS access to the failed index.

Exploitation

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

The assessment of CISA (SSVC, 10 Sep 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 57f972e2b341dd6a73533f9293ec55d584a5d833, before 07afdfd8a68f9eea8db0ddc4626c874f29d2ac5e
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before 09452c8fcbd7817c06e8e3212d99b45917e603a5
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before cc5838f19d39a5fef04c468199699d2a4578be3a
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before 7932db06c82c5b2f42a4d1a849d97dba9ce4a362
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before 62d4e43a569b67929eb3319780be5359694c8086
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before d6bedd6acc0bcb1e7e010bc046032e47f08d379f
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before 0f8d8f9c2173a541812dd750529f4a415117eb29
affected from 57f972e2b341dd6a73533f9293ec55d584a5d833, before 675daf435e9f8e5a5eab140a9864dfad6668b375
Other versions: unaffected
Linux
affected 4.1
unaffected before 4.1
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-26813 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26813

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-26813
trivy image --scanners vuln IMAGE | grep CVE-2024-26813

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