CVE-2023-52693
Assigner: Linux
Published: 2024-05-17T14:27:26.514Z
State: PUBLISHED
descriptions: value: 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.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 9661e92c10a9
lessThan: 556f02699d33
status: affected
versionType: git
version: 9661e92c10a9
lessThan: 1e3a2b9b4039
status: affected
versionType: git
version: 9661e92c10a9
lessThan: c4e1a0ef0b47
status: affected
versionType: git
version: 9661e92c10a9
lessThan: 3a370502a568
status: affected
versionType: git
version: 9661e92c10a9
lessThan: 2124c5bc2294
status: affected
versionType: git
version: 9661e92c10a9
lessThan: 39af144b6d01
status: affected
versionType: git
version: 9661e92c10a9
lessThan: 72884ce4e104
status: affected
versionType: git
version: 9661e92c10a9
lessThan: ccd45faf4973
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 2.6.39
status: affected
version: 0
lessThan: 2.6.39
status: unaffected
versionType: custom
version: 4.19.306
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.268
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.209
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.148
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.75
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.14
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.2
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: ACPI: video: check for error while searching for backlight device parent
x_generator: engine: bippy-d175d3acf727