Descrizione
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: use check_add_overflow for shader size+offset bound vmw_shader_define() validates the user-supplied shader window against its backing buffer with (u64)buffer->tbo.base.size < (u64)size + (u64)offset drm_vmw_shader_create_arg::offset is __u64 in the uapi; when it is near U64_MAX the unsigned addition wraps and the resulting tiny value passes the check. The unbounded offset is then stored in res->guest_memory_offset and forwarded to host SVGA shader-create commands. Use check_add_overflow() to detect the wrap and compare the resulting endpoint against the buffer size.
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/1bbe7751f5ebac383405ef29a66622d65bd505d3
- Riferimentohttps://git.kernel.org/stable/c/54d56d5b42d2e4c72ba6e365e9774da90698aa22
- Riferimentohttps://git.kernel.org/stable/c/5c725901908eb1e52a16fc0e2373cb761df42d21
- Riferimentohttps://git.kernel.org/stable/c/cfd163169af3be56eaef113c680ea251f0d09189
- Riferimentohttps://git.kernel.org/stable/c/d3f44438aa805270aaead3b6840ccaea0f4c11f9