- Accueil
- Vulnérabilités
- CVE-2026-64438
CVE-2026-64438
crypto: qat - fix VF2PF work teardown race in adf_disable_sriov()
Résumé
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix VF2PF work teardown race in adf_disable_sriov() The VF2PF interrupt handler queues PF-side response work that stores a raw pointer to per-VF state (struct adf_accel_vf_info). Currently, adf_disable_sriov() destroys per-VF mutexes and frees vf_info without stopping new VF2PF work or waiting for in-flight workers to complete. A concurrently scheduled or already queued worker can then dereference freed memory. This manifests as a use-after-free when KASAN is enabled: BUG: KASAN: null-ptr-deref in mutex_lock+0x76/0xe0 Write of size 8 at addr 0000000000000260 by task kworker/24:2/... Workqueue: qat_pf2vf_resp_wq adf_iov_send_resp [intel_qat] Call Trace: kasan_report+0x119/0x140 mutex_lock+0x76/0xe0 adf_gen4_pfvf_send+0xd4/0x1f0 [intel_qat] adf_recv_and_handle_vf2pf_msg+0x290/0x360 [intel_qat] adf_iov_send_resp+0x8c/0xe0 [intel_qat] process_one_work+0x6ac/0xfd0 worker_thread+0x4dd/0xd30 kthread+0x326/0x410 ret_from_fork+0x33b/0x670 Add a PF-local flag, vf2pf_disabled, that gates work queueing, worker processing, and interrupt re-enabling during teardown. Set this flag atomically with the hardware interrupt mask inside adf_disable_all_vf2pf_interrupts(). After masking, synchronize the AE cluster MSI-X interrupt and flush the PF response workqueue before tearing down per-VF locks and state so all in-flight work completes before vf_info is destroyed. Introduce adf_enable_all_vf2pf_interrupts() to clear the flag and unmask all VF2PF interrupts under the same lock when SR-IOV is re-enabled. This ensures the software flag and hardware state transition atomically on both the enable and disable paths.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 4.3 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 4.3 (inclus) à 5.10.261 (exclu) |
— | NVD |
| Linux kernel | de 5.11 (inclus) à 5.15.212 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 6.1.178 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.6.145 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.97 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.40 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.1.4 (exclu) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1287)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
Avis CERT-FR
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (13 novembre 2026) 13 nov. 2026
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (09 octobre 2026) 9 oct. 2026
- CERTFR-2026-AVI-1287 — Multiples vulnérabilités dans le noyau Linux de Red Hat (09 octobre 2026) 9 oct. 2026
Références
- https://git.kernel.org/stable/c/218c2836b3987f3fa1d9eac505462cded0821e4cPatch
- https://git.kernel.org/stable/c/277281c10c63791067d24d421f7c43a15faa9096Patch
- https://git.kernel.org/stable/c/446b4d77599cf1a168573f7fb32a4a6aa4f09219Patch
- https://git.kernel.org/stable/c/49cd5ac6de8de39a14ead609bb552d372d5602cdPatch
- https://git.kernel.org/stable/c/51144032248cc4ea22917370565650670b8b4e9bPatch
- https://git.kernel.org/stable/c/5d916c1eae1933511a69bffe243b4ee5d7da399cPatch
- https://git.kernel.org/stable/c/6e92b28cd74fa433658efeadf21b9d4b01023d7dPatch
- https://git.kernel.org/stable/c/f344a369d0380d54c8d6c8d24734a78dd5a89817Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)- Faiblesse
- CWE-416 · Corruption mémoire