CVE-2023-52826: drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference

In tpg110_get_modes(), the return value of drm_mode_duplicate() is
assigned to mode, which will lead to a NULL pointer dereference on
failure of drm_mode_duplicate(). Add a check to avoid npd.

Classification

CVE ID: CVE-2023-52826

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/9acc2bc00135e9ecd13a70ce1140e2673e504cdc
https://git.kernel.org/stable/c/84c923d898905187ebfd4c0ef38cd1450af7e0ea
https://git.kernel.org/stable/c/d0bc9ab0a161a9745273f5bf723733a8e6c57aca
https://git.kernel.org/stable/c/9268bfd76bebc85ff221691b61498cc16d75451c
https://git.kernel.org/stable/c/eaede6900c0961b072669d6bd97fe8f90ed1900f
https://git.kernel.org/stable/c/f22def5970c423ea7f87d5247bd0ef91416b0658

Timeline