Descrizione
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix memory leaks in beacon template setup The functions ath11k_mac_setup_bcn_tmpl_ema() and ath11k_mac_setup_bcn_tmpl_mbssid() allocate memory for beacon templates but fail to free it when parameter setup returns an error. Since beacon templates must be released during normal execution, they must also be released in the error handling paths to prevent memory leaks. Fix this by using unified exit paths with proper cleanup in the respective error paths. Compile tested only. Issue found using a prototype static analysis tool and code review.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.5precedenti alla7.0.10→ aggiornare alla7.0.10o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/5d63aa38d5ca85206d9699ffdd6…
- Patch: git.kernel.org/stable/c/ff49eba595df500e4ddccc59308…
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 | ≥ 6.5 < 7.0.10 | 7.0.10 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/5d63aa38d5ca85206d9699ffdd616b58780dba07
- Patchhttps://git.kernel.org/stable/c/ff49eba595df500e4ddccc593088c8a4ab5f2c27
- Riferimentohttps://git.kernel.org/stable/c/5fc3d921512d31839227a2d22a2990de02acefeb
- Riferimentohttps://git.kernel.org/stable/c/7bedc489611f01634cec20f88f961a1f08e8d935
- Riferimentohttps://git.kernel.org/stable/c/9478aa5b39e986d45fafe279c24d3546783c22b1