Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc The function performs a check on the "ctx" input parameter, however, it is used before the check. Initialize the "base" variable after the sanity check to avoid a possible NULL pointer dereference. Addresses-Coverity-ID: 1493866 ("Null pointer dereference")
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 93a6e920d8ccb4df846c03b6e72f7e08843d294c; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 8f069f6dde518dfebe86e848508c07e497bd9298; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 1ebc18836d5df09061657f8c548e594cbb519476; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 170b22234d5495f5e0844246e23f004639ee89ba |
| Linux / Linux | affected 5.8; unaffected 0 before 5.8; unaffected 5.10.96 through 5.10.*; unaffected 5.15.19 through 5.15.*; unaffected 5.16.5 through 5.16.*; unaffected 5.17 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/93a6e920d8ccb4df846c03b6e72f7e08843d294c
- https://git.kernel.org/stable/c/8f069f6dde518dfebe86e848508c07e497bd9298
- https://git.kernel.org/stable/c/1ebc18836d5df09061657f8c548e594cbb519476
- https://git.kernel.org/stable/c/170b22234d5495f5e0844246e23f004639ee89ba
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.