Descrizione
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dsi: don't dump registers past the mapped region On DSI 6G platforms the IO address space is internally adjusted by io_offset. Later this adjusted address might be used for memory dumping. However the size that is used for memory dumping isn't adjusted to account for the io_offset, leading to the potential access to the unmapped region. Lower ctrl_size by the io_offset value to prevent access past the mapped area. msm_disp_snapshot_add_block+0x1d4/0x3c8 [msm] (P) msm_dsi_host_snapshot+0x4c/0x78 [msm] msm_dsi_snapshot+0x28/0x50 [msm] msm_disp_snapshot_capture_state+0x74/0x140 [msm] msm_disp_snapshot_state_sync+0x60/0x90 [msm] _msm_disp_snapshot_work+0x30/0x90 [msm] kthread_worker_fn+0xdc/0x460 kthread+0x120/0x140 Patchwork: https://patchwork.freedesktop.org/patch/721747/
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.14precedenti alla6.1.175→ aggiornare alla6.1.175o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.142→ aggiornare alla6.6.142o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.92→ aggiornare alla6.12.92o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.34→ aggiornare alla6.18.34o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.11→ aggiornare alla7.0.11o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc4→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/567b5e976e2e15280d78c9ef2ad…
- Patch: git.kernel.org/stable/c/5b49a46baa853b26dbefa65c6c7…
- Patch: git.kernel.org/stable/c/5e2c196c3430fb94225c4102b10…
- Patch: git.kernel.org/stable/c/9f8274749d9010a1a72f97e547b…
- Patch: git.kernel.org/stable/c/a184aec790135938b0fadb415e5…
- Patch: git.kernel.org/stable/c/ab871d5882953e5574ae2bc47be…
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 | ≥ 5.14 < 6.1.175 | 6.1.175 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.142 | 6.6.142 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.92 | 6.12.92 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.34 | 6.18.34 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.11 | 7.0.11 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
| Linux | Linux Kernel | 7.1 rc3 | — |
| Linux | Linux Kernel | 7.1 rc4 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/567b5e976e2e15280d78c9ef2add1954a0bbb5b1
- Patchhttps://git.kernel.org/stable/c/5b49a46baa853b26dbefa65c6c75dd9ff69f63d4
- Patchhttps://git.kernel.org/stable/c/5e2c196c3430fb94225c4102b1028d0146544761
- Patchhttps://git.kernel.org/stable/c/9f8274749d9010a1a72f97e547b7eb9ebb82345b
- Patchhttps://git.kernel.org/stable/c/a184aec790135938b0fadb415e55accd1f8685a0
- Patchhttps://git.kernel.org/stable/c/ab871d5882953e5574ae2bc47bec88c2e3d22663