Descrizione
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify() Initialize le_tmp64 to zero in rtw_BIP_verify() to prevent using uninitialized data. Smatch warns that only 6 bytes are copied to this 8-byte (u64) variable, leaving the last two bytes uninitialized: drivers/staging/rtl8723bs/core/rtw_security.c:1308 rtw_BIP_verify() warn: not copying enough bytes for '&le_tmp64' (8 vs 6 bytes) Initializing the variable at the start of the function fixes this warning and ensures predictable behavior.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.12precedenti alla6.6.136→ aggiornare alla6.6.136o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.83→ aggiornare alla6.12.83o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.24→ aggiornare alla6.18.24o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.14→ aggiornare alla6.19.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
7.0precedenti alla7.0.1→ aggiornare alla7.0.1o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/8c964b82a4e97ec7f25e17b803e…
- Patch: git.kernel.org/stable/c/b487a7754d874230299d5a9c271…
- Patch: git.kernel.org/stable/c/c2026c6b603ebec52f550154967…
- Patch: git.kernel.org/stable/c/c65ee4d3be5df395e48afbcd094…
- Patch: git.kernel.org/stable/c/d5b8f5f8d6fc09a8af5ed139c68…
- Patch: git.kernel.org/stable/c/ef74ce5f0bc0e53ce702d8a794f…
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 | ≥ 4.12 < 6.6.136 | 6.6.136 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.83 | 6.12.83 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.24 | 6.18.24 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.14 | 6.19.14 |
| Linux | Linux Kernel | ≥ 7.0 < 7.0.1 | 7.0.1 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/8c964b82a4e97ec7f25e17b803ee196009b38a57
- Patchhttps://git.kernel.org/stable/c/b487a7754d874230299d5a9c2710ec4df8b2ed8a
- Patchhttps://git.kernel.org/stable/c/c2026c6b603ebec52f55015496703fe79077accf
- Patchhttps://git.kernel.org/stable/c/c65ee4d3be5df395e48afbcd0946dd5fce4338a9
- Patchhttps://git.kernel.org/stable/c/d5b8f5f8d6fc09a8af5ed139c688660f578ed732
- Patchhttps://git.kernel.org/stable/c/ef74ce5f0bc0e53ce702d8a794f3957884a26efc
- Riferimentohttps://git.kernel.org/stable/c/51532c7c1d357145f4ac561648499f7a6847f739
- Riferimentohttps://git.kernel.org/stable/c/6792624d933146e2757b07092e93ad915cb58930
- Riferimentohttps://git.kernel.org/stable/c/9e911eead187240193516edf55a0e1ab3425aa5b