CVE-2024-26813
Last modified
CVE-2024-26813 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
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 | >= 4.1, < 5.4.274 |
| Linux | Linux Kernel | >= 5.5, < 5.10.215 |
| Linux | Linux Kernel | >= 5.11, < 5.15.154 |
| Linux | Linux Kernel | >= 5.16, < 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 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-26813?
How severe is CVE-2024-26813?
How do I fix CVE-2024-26813?
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-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-26812In 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
- CVE-2024-26819Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2024-26813?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
