Descrizione
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - remove unused character device and IOCTLs The QAT driver exposes a character device (qat_adf_ctl) with IOCTLs for device configuration, start, stop, status query and enumeration. These IOCTLs are not part of any public uAPI header and have no known in-tree or out-of-tree users. Device lifecycle is already managed via sysfs. The ioctl interface also increases the attack surface and is the subject of a number of bug reports. Remove the character device, the IOCTL definitions, and the related data structures (adf_dev_status_info, adf_user_cfg_key_val, adf_user_cfg_section, adf_user_cfg_ctl_data). Drop the now-unused adf_cfg_user.h header and strip adf_ctl_drv.c down to the minimal module_init/module_exit hooks for workqueue, AER, and crypto/compression algorithm registration. Clean up leftover dead code that was only reachable from the removed IOCTL paths: adf_cfg_del_all(), adf_devmgr_verify_id(), adf_devmgr_get_num_dev(), adf_devmgr_get_dev_by_id(), adf_get_vf_real_id() and the unused ADF_CFG macros. Additionally, drop the entry associated to QAT IOCTLs in ioctl-number.rst.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
3.17precedenti alla5.10.260→ aggiornare alla5.10.260o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.211→ aggiornare alla5.15.211o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.177→ aggiornare alla6.1.177o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.144→ aggiornare alla6.6.144o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.95→ aggiornare alla6.12.95o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.37→ aggiornare alla6.18.37o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.14→ aggiornare alla7.0.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
7.1precedenti alla7.1.2→ aggiornare alla7.1.2o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/071590a44cbc38483fceb1ab943…
- Patch: git.kernel.org/stable/c/1de076f43e64bf65fbe7280a269…
- Patch: git.kernel.org/stable/c/3ae49dd04dbb11fb73f17f58a98…
- Patch: git.kernel.org/stable/c/6848a6e39cac44fdb7cb88f0f77…
- Patch: git.kernel.org/stable/c/a4999664a5ef77bdb0c6e6b935f…
- Patch: git.kernel.org/stable/c/b1ea97076bd0a5196290deba172…
- Patch: git.kernel.org/stable/c/b8ebf008696de1ec08c90d51f94…
- Patch: git.kernel.org/stable/c/d237230728c567297f2f98b425d…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 3.17 < 5.10.260 | 5.10.260 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.211 | 5.15.211 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.177 | 6.1.177 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.144 | 6.6.144 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.95 | 6.12.95 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.37 | 6.18.37 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.14 | 7.0.14 |
| Linux | Linux Kernel | ≥ 7.1 < 7.1.2 | 7.1.2 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/071590a44cbc38483fceb1ab943363ec26868e1b
- Patchhttps://git.kernel.org/stable/c/1de076f43e64bf65fbe7280a269c70e0e60518df
- Patchhttps://git.kernel.org/stable/c/3ae49dd04dbb11fb73f17f58a982dba128abe83a
- Patchhttps://git.kernel.org/stable/c/6848a6e39cac44fdb7cb88f0f777df62172d1551
- Patchhttps://git.kernel.org/stable/c/a4999664a5ef77bdb0c6e6b935f581ac8ce6b63a
- Patchhttps://git.kernel.org/stable/c/b1ea97076bd0a5196290deba172034e480646727
- Patchhttps://git.kernel.org/stable/c/b8ebf008696de1ec08c90d51f94d7e40bd448be1
- Patchhttps://git.kernel.org/stable/c/d237230728c567297f2f98b425d63156ab2ed17f
- Patchhttps://git.kernel.org/stable/c/de2cc38489b629927910b1aeff69bba7bd5c6f1b