CVE-2024-26812
Last modified
CVE-2024-26812 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.6, < 6.1.84 |
| Linux | Linux Kernel | >= 6.2, < 6.6.24 |
| Linux | Linux Kernel | >= 6.7, < 6.7.12 |
| Linux | Linux Kernel | >= 6.8, < 6.8.3 |
| Debian | Debian Linux | 10.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26812?
How severe is CVE-2024-26812?
How do I fix CVE-2024-26812?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26807In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26808In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26809In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-2681A vulnerability was found in Campcodes Online Job Finder Sys…6.1
- CVE-2024-26810In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26811In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26813In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26814In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26815In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26816In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26817In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26818In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-26812?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
