Descrizione
In the Linux kernel, the following vulnerability has been resolved: smb: client: clean up failed cached directory opens open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If the CREATE succeeds but a later command returns an error, the function must retain the CREATE FID so common cleanup can issue SMB2_close(). It also must not treat a response error as a valid CREATE. Validate the CREATE response before using its fields, record the FIDs, and mark the handle open before handling errors from later compound commands. Move the -EREMCHG reconnect handling before response validation so a missing response does not hide the reconnect request. Count the handle when it is marked open; confirmed close responses decrement the counter, while existing close retry behavior remains best effort on transport failures.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/48958ddda3d7eee3600261e2d90671f63e055dc4
- Riferimentohttps://git.kernel.org/stable/c/7c1509598a4fdfb54cb09ce33e4405bd6dbd8295
- Riferimentohttps://git.kernel.org/stable/c/abab661eed00fa102d3c35ddf1cce4f687e718c1
- Riferimentohttps://git.kernel.org/stable/c/cc7e622340b8fa678ac4edbc4b4459b946d07d2c
- Riferimentohttps://git.kernel.org/stable/c/d2ff5fb93ea83034025850266b5eed391f96b825
- Riferimentohttps://git.kernel.org/stable/c/e747942c2441ea06d83ce134f5d56a34985ef80c