summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-09-12 22:03:16 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-15 12:20:13 +0200
commit8ca944fea4d6d9019e01f2d6f6e766f315a9d73f (patch)
treea5866ba7427c6de5f356264a4bfc5f923c09890c /fs/proc/array.c
parentb0fb6891b8ad55cb5767edf94351ffe4f0b9a404 (diff)
ACPICA: Fix largest possible resource descriptor index
ACPI_RESOURCE_NAME_LARGE_MAX should be equal to the last actually used resource descriptor index (ACPI_RESOURCE_NAME_CLOCK_INPUT). Otherwise 'resource_index' in 'acpi_ut_validate_resource()' may be clamped incorrectly and resulting value may issue an out-of-bounds access for 'acpi_gbl_resource_types' array. Compile tested only. Fixes: 520d4a0ee5b6 ("ACPICA: add support for ClockInput resource (v6.5)") Link: https://github.com/acpica/acpica/commit/cf00116c Link: https://marc.info/?l=linux-acpi&m=175449676131260&w=2 Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions