# CVE-2026-64472: vfio/mlx5: Fix racy bitfields and tighten struct layout

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-25T08:51:35.978Z
- **Modified:** 2026-11-12T18:03:10.340Z

## Who should check

- Anyone running Linux \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 1dd99b8f4e143592e12e5a77e7b538bc698116cb; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f1db80a67da928a92ba460ede1be52d8941f46be; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 399d806f998f7a25405fc1b97227e579aead24af; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 7ed120b1a007bace57c461805519d70e1af44e59; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 39d163627b51886492bf31f66cb02c94613d2287; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f2365a63b02ddea32e7db78b742c2503ec7b81f1
- Anyone running Linux 5.19

## Description

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

vfio/mlx5: Fix racy bitfields and tighten struct layout

Bitfield operations are not atomic, they use a read-modify-write
pattern, therefore we should be careful not to pack bitfields that
can be concurrently updated into the same storage unit.

This split takes a binary approach: flags that are only modified
pre/post open/close remain bitfields, flags modified from user
action, including actions that reach across to another device (ex.
reset) use dedicated storage units.

Note mlx5\_vhca\_page\_tracker.status is relocated to fill the alignment
hole this split exposes.

Bitfield justifications:

  migrate\_cap: written only in mlx5vf\_cmd\_set\_migratable() at probe
  chunk\_mode: written only in mlx5vf\_cmd\_set\_migratable() at probe
  mig\_state\_cap: written only in mlx5vf\_cmd\_set\_migratable() at probe

Dedicated storage units:

  mdev\_detach: written in the VF attach/detach event notifier
               mlx5fv\_vf\_event() at runtime
  log\_active: written in mlx5vf\_start\_page\_tracker()/
              mlx5vf\_stop\_page\_tracker() during runtime dirty tracking
  deferred\_reset: written in mlx5vf\_state\_mutex\_unlock()/
                  mlx5vf\_pci\_aer\_reset\_done() during runtime reset handling
  is\_err: set by tracker error handling and dirty-log polling at runtime
  object\_changed: set by tracker event handling and cleared by dirty-log
                  polling at runtime

## Affected and fixed versions

- Linux: \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 1dd99b8f4e143592e12e5a77e7b538bc698116cb; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f1db80a67da928a92ba460ede1be52d8941f46be; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 399d806f998f7a25405fc1b97227e579aead24af; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 7ed120b1a007bace57c461805519d70e1af44e59; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 39d163627b51886492bf31f66cb02c94613d2287; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f2365a63b02ddea32e7db78b742c2503ec7b81f1 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64472.md
Affected: Linux >= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, < 1dd99b8f4e143592e12e5a77e7b538bc698116cb; >= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, < f1db80a67da928a92ba460ede1be52d8941f46be; >= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, < 399d806f998f7a25405fc1b97227e579aead24af; >= 61a2f1460fd03285ea34c1a…
Fixed in: Linux 1dd99b8f4e143592e12e5a77e7b538bc698116cb, Linux 399d806f998f7a25405fc1b97227e579aead24af, Linux 7ed120b1a007bace57c461805519d70e1af44e59, Linux 39d163627b51886492bf31f66cb02c94613d2287

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-64472 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 1dd99b8f4e143592e12e5a77e7b538bc698116cb; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f1db80a67da928a92ba460ede1be52d8941f46be; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 399d806f998f7a25405fc1b97227e579aead24af; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 7ed120b1a007bace57c461805519d70e1af44e59; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< 39d163627b51886492bf31f66cb02c94613d2287; \>= 61a2f1460fd03285ea34c1a235f2f50f71e13a1f, \< f2365a63b02ddea32e7db78b742c2503ec7b81f1; Linux 5.19.

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

Yes. Fixed in Linux 1dd99b8f4e143592e12e5a77e7b538bc698116cb, Linux 399d806f998f7a25405fc1b97227e579aead24af, Linux 7ed120b1a007bace57c461805519d70e1af44e59, Linux 39d163627b51886492bf31f66cb02c94613d2287. No fix listed yet: follow the vendor advisory.

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

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/1dd99b8f4e143592e12e5a77e7b538bc698116cb>
- patch: <https://git.kernel.org/stable/c/f1db80a67da928a92ba460ede1be52d8941f46be>
- patch: <https://git.kernel.org/stable/c/399d806f998f7a25405fc1b97227e579aead24af>
- patch: <https://git.kernel.org/stable/c/7ed120b1a007bace57c461805519d70e1af44e59>
- patch: <https://git.kernel.org/stable/c/39d163627b51886492bf31f66cb02c94613d2287>
- patch: <https://git.kernel.org/stable/c/f2365a63b02ddea32e7db78b742c2503ec7b81f1>

## 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-64472>

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