vfio/fsl-mc: Block calling interrupt handler without trigger
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: vfio/fsl-mc: Block calling interrupt handler without trigger The eventfd_ctx trigger pointer of the vfio_fsl_mc_irq object is initially NULL and may become NULL if the user sets the trigger eventfd to -1. The interrupt handler itself is guaranteed that trigger is always valid between request_irq() and free_irq(), but the loopback testing mechanisms to invoke the handler function need to test the trigger. The triggering and setting ioctl paths both make use of igate and are therefore mutually exclusive. The vfio-fsl-mc driver does not make use of irqfds, nor does it support any sort of masking operations, therefore unlike vfio-pci and vfio-platform, the flow can remain essentially unchanged.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.10
References 7
git.kernel.org
- stable/c/a563fc18583ca4f42e2fdd0c70c7c618288e7ede
- stable/c/250219c6a556f8c69c5910fca05a59037e24147d
- stable/c/083e750c9f5f4c3bf61161330fb84d7c8e8bb417
- stable/c/ee0bd4ad780dfbb60355b99f25063357ab488267
- stable/c/de87511fb0404d23b6da5f4660383b6ed095e28d
- stable/c/6ec0d88166dac43f29e96801c0927d514f17add9
- stable/c/7447d911af699a15f8d050dfcb7c680a86f87012