Descrizione
In the Linux kernel, the following vulnerability has been resolved:
drm/i915/gem: Fix phys BO pread/pwrite with offset
sg_page() returns struct page pointer not (void *) so the scaling
of pread/pwrite is wrong for phys BO and wrong parts of BO would be
accessed if non-zero offset is used.
Last impacted platform with overlay or cursor planes using phys
mapping was Gen3/945G/Lakeport.
(cherry picked from commit 3e49a2f85070b2fb672c1e0fdba281a4ea3aebe6)
Tipo di vulnerabilità
CWE-1164
Irrelevant Code
The product contains code that is not essential for execution, i.e., makes no state changes and has no side effects that alter data or control flow - or is unreachable under any circumstances - such that removal of the code would have no impact to intended functionality or correctness.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Ridurre l’affidabilità |
| Altro |
Ridurre le prestazioni |
Tutte le 2 CVE di tipo CWE-1164, con andamento e prevenzione