CVE-2023-52693: ACPI: video: check for error while searching for backlight device parent

Description

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

ACPI: video: check for error while searching for backlight device parent

If acpi_get_parent() called in acpi_video_dev_register_backlight()
fails, for example, because acpi_ut_acquire_mutex() fails inside
acpi_get_parent), this can lead to incorrect (uninitialized)
acpi_parent handle being passed to acpi_get_pci_dev() for detecting
the parent pci device.

Check acpi_get_parent() result and set parent device only in case of success.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Classification

CVE ID: CVE-2023-52693

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 15.23% (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/556f02699d33c1f40b1b31bd25828ce08fa165d8
https://git.kernel.org/stable/c/1e3a2b9b4039bb4d136dca59fb31e06465e056f3
https://git.kernel.org/stable/c/c4e1a0ef0b4782854c9b77a333ca912b392bed2f
https://git.kernel.org/stable/c/3a370502a5681986f9828e43be75ce26c6ab24af
https://git.kernel.org/stable/c/2124c5bc22948fc4d09a23db4a8acdccc7d21e95
https://git.kernel.org/stable/c/39af144b6d01d9b40f52e5d773e653957e6c379c
https://git.kernel.org/stable/c/72884ce4e10417b1233b614bf134da852df0f15f
https://git.kernel.org/stable/c/ccd45faf4973746c4f30ea41eec864e5cf191099

Timeline