Descrizione
In the Linux kernel, the following vulnerability has been resolved: smb: client: bound POSIX lock data area by response length CIFSSMBPosixLock() receives a TRANS2 response whose server-provided DataOffset and DataCount are not required by validate_t2() to describe an interval inside the response. A server can therefore make the client read a cifs_posix_lock beyond the response buffer and return those kernel bytes through F_GETLK. Use smbCalcSize() to obtain the full response length after any multipart TRANS2 reassembly, then reject data areas that extend past it before dereferencing them.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: EPSS 0.2% (percentile 15).
Versioni da aggiornare
- Linux Linux: versione corretta
6.12.118(o successiva). - Linux Linux: versione corretta
6.18.64(o successiva). - Linux Linux: versione corretta
7.3.2(o successiva). - Linux Linux: versione corretta
7.4-rc1(o successiva). - Linux Linux: vulnerabile la versione
2.6.17→ installare l'ultima release supportata dal vendor.
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 | — | 6.12.118 |
| Linux | Linux | — | 6.18.64 |
| Linux | Linux | — | 7.3.2 |
| Linux | Linux | — | 7.4-rc1 |
| Linux | Linux | 2.6.17 | — |
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/33f564592a1a3b99df582214f2ba7751db101fd0
- Riferimentohttps://git.kernel.org/stable/c/52675cc732ba1bfbb9647d69a71b1d17eabfb079
- Riferimentohttps://git.kernel.org/stable/c/659148924f05cfc453cca39b885d76b25b84cc29
- Riferimentohttps://git.kernel.org/stable/c/8fc9af68c57156ff64769f30e831553cd03b3000
- Riferimentohttps://git.kernel.org/stable/c/9b75ba374fe03e3650d86fe9cf7fcec117389516
- Riferimentohttps://git.kernel.org/stable/c/c89e3605e9d3d15b584ee99076acd5acfc5b5fb0
- Riferimentohttps://git.kernel.org/stable/c/d4fca47b80e5534b44a74cc23d29e6cb78afcc84
- Riferimentohttps://git.kernel.org/stable/c/d5993c6146ad74a3dab2d9cbd09106d644d761cb