Descrizione
In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Check length in pkey_pckmo handler implementation Explicitly check the length of the target buffer in the pkey_pckmo implementation of the key_to_protkey() handler function. The handler function fails, if the generated output data exceeds the length of the provided target buffer.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.12precedenti alla6.12.97→ aggiornare alla6.12.97o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.40→ aggiornare alla6.18.40o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.5→ aggiornare alla7.1.5o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/02028a24e26d85262ab9c8fc434…
- Patch: git.kernel.org/stable/c/1ac287e2af9a9112fe271427ef4…
- Patch: git.kernel.org/stable/c/433e5e70cdc1edf382d28d08a88…
- Patch: git.kernel.org/stable/c/614aa0491c7a190556c2345ddde…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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.12 < 6.12.97 | 6.12.97 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.40 | 6.18.40 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.5 | 7.1.5 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/02028a24e26d85262ab9c8fc4344e1f3503007fc
- Patchhttps://git.kernel.org/stable/c/1ac287e2af9a9112fe271427ef45eceb26bce8b4
- Patchhttps://git.kernel.org/stable/c/433e5e70cdc1edf382d28d08a885b22e2b98b7da
- Patchhttps://git.kernel.org/stable/c/614aa0491c7a190556c2345dddee0b6f5ed90989