{"id":"CVE-2026-64472","summary":"vfio/mlx5: Fix racy bitfields and tighten struct layout","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/mlx5: Fix racy bitfields and tighten struct layout\n\nBitfield operations are not atomic, they use a read-modify-write\npattern, therefore we should be careful not to pack bitfields that\ncan be concurrently updated into the same storage unit.\n\nThis split takes a binary approach: flags that are only modified\npre/post open/close remain bitfields, flags modified from user\naction, including actions that reach across to another device (ex.\nreset) use dedicated storage units.\n\nNote mlx5_vhca_page_tracker.status is relocated to fill the alignment\nhole this split exposes.\n\nBitfield justifications:\n\n  migrate_cap: written only in mlx5vf_cmd_set_migratable() at probe\n  chunk_mode: written only in mlx5vf_cmd_set_migratable() at probe\n  mig_state_cap: written only in mlx5vf_cmd_set_migratable() at probe\n\nDedicated storage units:\n\n  mdev_detach: written in the VF attach/detach event notifier\n               mlx5fv_vf_event() at runtime\n  log_active: written in mlx5vf_start_page_tracker()/\n              mlx5vf_stop_page_tracker() during runtime dirty tracking\n  deferred_reset: written in mlx5vf_state_mutex_unlock()/\n                  mlx5vf_pci_aer_reset_done() during runtime reset handling\n  is_err: set by tracker error handling and dirty-log polling at runtime\n  object_changed: set by tracker event handling and cleared by dirty-log\n                  polling at runtime","modified":"2026-08-18T03:31:30.441053051Z","published":"2026-07-25T08:51:35.978Z","related":["openSUSE-SU-2026:11476-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64472.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1dd99b8f4e143592e12e5a77e7b538bc698116cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/399d806f998f7a25405fc1b97227e579aead24af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39d163627b51886492bf31f66cb02c94613d2287"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ed120b1a007bace57c461805519d70e1af44e59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1db80a67da928a92ba460ede1be52d8941f46be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2365a63b02ddea32e7db78b742c2503ec7b81f1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64472.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64472"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}