drm/msm/dpu: Add missing NULL pointer check for pingpong interface
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: Add missing NULL pointer check for pingpong interface
It is checked almost always in dpu_encoder_phys_wb_setup_ctl(), but in a single place the check is missing. Also use convenient locals instead of phys_enc->* where available.
Patchwork: https://patchwork.freedesktop.org/patch/693860/
From the CVE record · Linux
The Linux kernel's drm/msm/dpu driver is missing a NULL pointer check for the pingpong interface in one path of dpu_encoder_phys_wb_setup_ctl(). This can lead to a NULL pointer dereference; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the fix; affected versions are not specified.