CVE-2026-64472

Source
https://cve.org/CVERecord?id=CVE-2026-64472
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64472.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64472
Downstream
Related
Published
2026-07-25T08:51:35.978Z
Modified
2026-08-18T03:31:30.441053051Z
Summary
vfio/mlx5: Fix racy bitfields and tighten struct layout
Details

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 mlx5vhcapage_tracker.status is relocated to fill the alignment hole this split exposes.

Bitfield justifications:

migratecap: written only in mlx5vfcmdsetmigratable() at probe chunkmode: written only in mlx5vfcmdsetmigratable() at probe migstatecap: written only in mlx5vfcmdset_migratable() at probe

Dedicated storage units:

mdevdetach: written in the VF attach/detach event notifier mlx5fvvfevent() at runtime logactive: written in mlx5vfstartpagetracker()/ mlx5vfstoppagetracker() during runtime dirty tracking deferredreset: written in mlx5vfstatemutexunlock()/ mlx5vfpciaerresetdone() during runtime reset handling iserr: set by tracker error handling and dirty-log polling at runtime objectchanged: set by tracker event handling and cleared by dirty-log polling at runtime

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64472.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
61a2f1460fd03285ea34c1a235f2f50f71e13a1f
Fixed
1dd99b8f4e143592e12e5a77e7b538bc698116cb
Fixed
f1db80a67da928a92ba460ede1be52d8941f46be
Fixed
399d806f998f7a25405fc1b97227e579aead24af
Fixed
7ed120b1a007bace57c461805519d70e1af44e59
Fixed
39d163627b51886492bf31f66cb02c94613d2287
Fixed
f2365a63b02ddea32e7db78b742c2503ec7b81f1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64472.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64472.json"