CVE-2024-26812
Google PCI Linux NULL ptr Reflected Handler Unregistration
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.
INFO
Published Date :
April 5, 2024, 9:15 a.m.
Last Modified :
March 18, 2025, 5:04 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26812
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26812
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26812
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 18, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.6 up to (excluding) 6.1.84 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added Reference Type CVE: https://git.kernel.org/stable/c/0e09cf81959d9f12b75ad5c6dd53d237432ed034 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0e09cf81959d9f12b75ad5c6dd53d237432ed034 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/18c198c96a815c962adc2b9b77909eec0be7df4d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/18c198c96a815c962adc2b9b77909eec0be7df4d Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/27d40bf72dd9a6600b76ad05859176ea9a1b4897 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/27d40bf72dd9a6600b76ad05859176ea9a1b4897 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4c089cefe30924fbe20dd1ee92774ea1f5eca834 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4c089cefe30924fbe20dd1ee92774ea1f5eca834 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4cb0d7532126d23145329826c38054b4e9a05e7c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4cb0d7532126d23145329826c38054b4e9a05e7c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/69276a555c740acfbff13fb5769ee9c92e1c828e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/69276a555c740acfbff13fb5769ee9c92e1c828e Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/7d29d4c72c1e196cce6969c98072a272d1a703b3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7d29d4c72c1e196cce6969c98072a272d1a703b3 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b18fa894d615c8527e15d96b76c7448800e13899 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b18fa894d615c8527e15d96b76c7448800e13899 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0e09cf81959d9f12b75ad5c6dd53d237432ed034 Added Reference https://git.kernel.org/stable/c/18c198c96a815c962adc2b9b77909eec0be7df4d Added Reference https://git.kernel.org/stable/c/27d40bf72dd9a6600b76ad05859176ea9a1b4897 Added Reference https://git.kernel.org/stable/c/4c089cefe30924fbe20dd1ee92774ea1f5eca834 Added Reference https://git.kernel.org/stable/c/4cb0d7532126d23145329826c38054b4e9a05e7c Added Reference https://git.kernel.org/stable/c/69276a555c740acfbff13fb5769ee9c92e1c828e Added Reference https://git.kernel.org/stable/c/7d29d4c72c1e196cce6969c98072a272d1a703b3 Added Reference https://git.kernel.org/stable/c/b18fa894d615c8527e15d96b76c7448800e13899 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 13, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/b18fa894d615c8527e15d96b76c7448800e13899 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/27d40bf72dd9a6600b76ad05859176ea9a1b4897 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 10, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/4cb0d7532126d23145329826c38054b4e9a05e7c [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 05, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/7d29d4c72c1e196cce6969c98072a272d1a703b3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/69276a555c740acfbff13fb5769ee9c92e1c828e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4c089cefe30924fbe20dd1ee92774ea1f5eca834 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0e09cf81959d9f12b75ad5c6dd53d237432ed034 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/18c198c96a815c962adc2b9b77909eec0be7df4d [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26812
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26812
weaknesses.