[GIT PULL] ACPI fixes for v6.9-rc2

From: Rafael J. Wysocki
Date: Fri Mar 29 2024 - 14:31:38 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.9-rc2

with top-most commit 6af71633b04036a12d165d03ce6f21145ec5a555

Merge branch 'acpica'

on top of commit 4cece764965020c22cff7665b18a012006359095

Linux 6.9-rc1

to receive ACPI fixes for 6.9-rc2.

These fix two issues that may lead to attempts to use memory that
has been freed already.

Specifics:

- Drop __exit annotation from einj_remove() in the ACPI APEI code
because this function can be called during runtime (Arnd Bergmann).

- Make acpi_db_walk_for_fields() check acpi_evaluate_object() return
value to avoid accessing memory that has been freed (Nikita
Kiryushin).

Thanks!


---------------

Arnd Bergmann (1):
ACPI: APEI: EINJ: mark remove callback as non-__exit

Nikita Kiryushin (1):
ACPICA: debugger: check status of acpi_evaluate_object() in
acpi_db_walk_for_fields()

---------------

drivers/acpi/acpica/dbnames.c | 8 ++++++--
drivers/acpi/apei/einj-core.c | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)