CVE-2023-52661: drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe()

Description

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

drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe()

If clk_get_sys(..., "pll_d2_out0") fails, the clk_get_sys() call must be
undone.

Add the missing clk_put and a new 'put_pll_d_out0' label in the error
handling path, and use it.

Classification

CVE ID: CVE-2023-52661

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

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

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

References

https://git.kernel.org/stable/c/5c8dc26e31b8b410ad1895e0d314def50c76eed0
https://git.kernel.org/stable/c/f3f407ccbe84a34de9be3195d22cdd5969f3fd9f
https://git.kernel.org/stable/c/845322a9c06dd1dcf35b6c4e3af89684297c23cc
https://git.kernel.org/stable/c/2388c36e028fff7f8ffd515681a14c6c2c07fea7
https://git.kernel.org/stable/c/fa74e4f5d0821829545b9f7034a0e577c205c101
https://git.kernel.org/stable/c/45c8034db47842b25a3ab6139d71e13b4e67b9b3

Timeline