blob: 07a5065bbfff64e6e301fd13a9312d8326313a35 [file] [log] [blame]
The Linux kernel vulnerability CVE-2021-47445 affects the `drm/msm` driver, specifically in the `edp_ctrl.c` file. The issue arises from a null pointer dereference on the `edp` pointer, which occurs because the initialization of the `dev` pointer dereferences `edp` before it is null-checked. This can lead to a potential null pointer deference issue.
To fix this vulnerability, the patch ensures that `edp` is only dereferenced after it has been null-checked. This fix was introduced in various kernel versions, including 4.4.290, 4.9.288, 4.14.252, 4.19.213, 5.4.155, 5.10.75, and 5.15.
The affected file is `drivers/gpu/drm/msm/edp/edp_ctrl.c`. The Linux kernel CVE team recommends updating to the latest stable kernel version to resolve this issue, as individual changes are not tested alone and may introduce other bugs. However, if updating is impossible, the individual commits that fix this issue can be cherry-picked from the Git repository.