# CVE-2026-46036: vfio/cdx: Serialize VFIO\_DEVICE\_SET\_IRQS with a per-device mutex

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-27T12:56:46.381Z
- **Modified:** 2026-08-05T12:29:15.525Z

## Who should check

- Anyone running Linux \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< ddf96e23c366c566283fce8377928851fa7f5e81; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7530f34ec0ca1438d45a75dcb43183a1cc92eced; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 670e8864b1a218d72f08db40d0103adf38fa1d9b
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

vfio/cdx: Serialize VFIO\_DEVICE\_SET\_IRQS with a per-device mutex

vfio\_cdx\_set\_msi\_trigger() reads vdev-\>config\_msi and operates on the
vdev-\>cdx\_irqs array based on its value, but provides no serialization
against concurrent VFIO\_DEVICE\_SET\_IRQS ioctls.  Two callers can race
such that one observes config\_msi as set while another clears it and
frees cdx\_irqs via vfio\_cdx\_msi\_disable(), resulting in a use-after-free
of the cdx\_irqs array.

Add a cdx\_irqs\_lock mutex to struct vfio\_cdx\_device and acquire it in
vfio\_cdx\_set\_msi\_trigger(), which is the single chokepoint through
which all updates to config\_msi, cdx\_irqs, and msi\_count flow, covering
both the ioctl path and the close-device cleanup path.  This keeps the
test of config\_msi atomic with the subsequent enable, disable, or
trigger operations.

Drop the pre-call !cdx\_irqs test from vfio\_cdx\_irqs\_cleanup() as part
of this change: the optimization it provided is redundant with the
!config\_msi early-return inside vfio\_cdx\_msi\_disable(), and leaving the
test in place would be an unsynchronized read of state the new lock is
meant to protect.

## Affected and fixed versions

- Linux: \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< ddf96e23c366c566283fce8377928851fa7f5e81; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7530f34ec0ca1438d45a75dcb43183a1cc92eced; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 670e8864b1a218d72f08db40d0103adf38fa1d9b (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 670e8864b1a218d72f08db40d0103adf38fa1d9b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46036.md
Affected: Linux >= 848e447e000c41894ff931dc7c004fd42c8840f8, < ddf96e23c366c566283fce8377928851fa7f5e81; >= 848e447e000c41894ff931dc7c004fd42c8840f8, < 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2; >= 848e447e000c41894ff931dc7c004fd42c8840f8, < 7530f34ec0ca1438d45a75dcb43183a1cc92eced; >= 848e447e000c41894ff931d…
Fixed in: Linux 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2, Linux 7530f34ec0ca1438d45a75dcb43183a1cc92eced, Linux 670e8864b1a218d72f08db40d0103adf38fa1d9b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46036 being exploited?

There is no confirmed exploitation: CVE-2026-46036 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46036?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46036?

Linux \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< ddf96e23c366c566283fce8377928851fa7f5e81; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 7530f34ec0ca1438d45a75dcb43183a1cc92eced; \>= 848e447e000c41894ff931dc7c004fd42c8840f8, \< 670e8864b1a218d72f08db40d0103adf38fa1d9b; Linux 6.10.

### Is there a fix for CVE-2026-46036?

Yes. Fixed in Linux 7b436ade16cc81095d79b79f8efa3af0a4f5c5a2, Linux 7530f34ec0ca1438d45a75dcb43183a1cc92eced, Linux 670e8864b1a218d72f08db40d0103adf38fa1d9b. Upgrade Linux to 670e8864b1a218d72f08db40d0103adf38fa1d9b or later.

### How do I check if I'm affected by CVE-2026-46036?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ddf96e23c366c566283fce8377928851fa7f5e81>
- patch: <https://git.kernel.org/stable/c/7b436ade16cc81095d79b79f8efa3af0a4f5c5a2>
- patch: <https://git.kernel.org/stable/c/7530f34ec0ca1438d45a75dcb43183a1cc92eced>
- patch: <https://git.kernel.org/stable/c/670e8864b1a218d72f08db40d0103adf38fa1d9b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46036>

HTML: <https://flawdb.com/CVE-2026-46036> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46036>
