vfio/mlx5: Fix racy bitfields and tighten struct layout (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 8 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
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
Références
- https://git.kernel.org/stable/c/1dd99b8f4e143592e12e5a77e7b538bc698116cb
- https://git.kernel.org/stable/c/f1db80a67da928a92ba460ede1be52d8941f46be
- https://git.kernel.org/stable/c/399d806f998f7a25405fc1b97227e579aead24af
- https://git.kernel.org/stable/c/7ed120b1a007bace57c461805519d70e1af44e59
- https://git.kernel.org/stable/c/39d163627b51886492bf31f66cb02c94613d2287
- https://git.kernel.org/stable/c/f2365a63b02ddea32e7db78b742c2503ec7b81f1
Références européennes
- ENISA EUVD · EUVD-2026-48816
- GCVE · GCVE-0-2026-64472
Avis du CERT-FR
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1252 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1229 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1203 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1162 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1031 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0982 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0981 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < 1dd99b8f4e143592e12e5a77e7b538bc698116cb ; affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < f1db80a67da928a92ba460ede1be52d8941f46be ; affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < 399d806f998f7a25405fc1b97227e579aead24af ; affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < 7ed120b1a007bace57c461805519d70e1af44e59 ; affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < 39d163627b51886492bf31f66cb02c94613d2287 ; affected 61a2f1460fd03285ea34c1a235f2f50f71e13a1f < f2365a63b02ddea32e7db78b742c2503ec7b81f1 |
| Linux · Linux | affected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |