Nikita Kiryushin
ebabdae52f
ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()
...
[ Upstream commit 40e2710860e57411ab57a1529c5a2748abbe8a19 ]
ACPICA commit 9061cd9aa131205657c811a52a9f8325a040c6c9
Errors in acpi_evaluate_object() can lead to incorrect state of buffer.
This can lead to access to data in previously ACPI_FREEd buffer and
secondary ACPI_FREE to the same buffer later.
Handle errors in acpi_evaluate_object the same way it is done earlier
with acpi_ns_handle_to_pathname.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Link: https://github.com/acpica/acpica/commit/9061cd9a
Fixes: 5fd033288a86 ("ACPICA: debugger: add command to dump all fields of particular subtype")
Signed-off-by: Nikita Kiryushin <kiryushin@ancud.ru>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:28:22 +02:00
..
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-06-28 11:12:22 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2019-10-28 22:12:46 +01:00
2020-06-05 13:34:23 +02:00
2020-10-08 18:03:55 +02:00
2019-10-28 22:12:46 +01:00
2022-04-13 20:24:57 +02:00
2021-01-22 15:51:53 +01:00
2020-10-08 18:03:55 +02:00
2024-04-10 16:28:22 +02:00
2021-01-18 16:01:10 +01:00
2019-08-21 00:00:37 +02:00
2019-02-18 11:21:10 +01:00
2018-03-18 19:08:05 +01:00
2020-03-30 14:52:32 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-12-31 13:32:57 +01:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-12-13 22:40:51 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-05-24 17:32:35 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-05-21 18:02:26 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-03-10 09:32:51 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-03-10 09:33:50 +01:00
2021-03-24 14:50:54 +01:00
2020-10-08 18:03:56 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2019-07-04 00:59:43 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2020-03-30 14:52:33 +02:00
2019-04-09 10:05:11 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-03-10 09:32:52 +01:00
2018-07-09 11:14:45 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2020-10-08 18:03:55 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2023-09-23 11:11:00 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2021-04-07 19:09:01 +02:00
2019-10-28 22:12:46 +01:00
2021-04-07 19:09:01 +02:00
2021-04-07 19:09:01 +02:00
2021-04-07 19:09:01 +02:00
2018-03-18 19:08:05 +01:00
2019-02-24 21:12:01 +01:00
2021-04-07 19:09:01 +02:00
2018-03-18 19:08:05 +01:00
2021-04-07 19:09:01 +02:00
2021-04-07 19:09:01 +02:00
2018-03-18 19:08:05 +01:00
2019-04-09 10:08:28 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-12-31 13:31:59 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2021-12-27 17:01:28 +01:00
2019-08-21 00:00:36 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00
2019-04-09 10:08:28 +02:00
2018-05-10 17:18:45 +02:00
2018-03-18 19:08:05 +01:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2019-08-21 00:00:36 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2021-04-07 19:09:01 +02:00
2021-04-07 19:09:01 +02:00
2018-03-18 19:08:05 +01:00
2019-04-09 11:24:48 +02:00
2021-01-22 15:51:53 +01:00
2018-08-14 23:49:13 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2022-04-13 20:24:57 +02:00
2019-01-15 18:04:02 +01:00
2022-04-13 20:24:57 +02:00
2018-03-18 19:08:05 +01:00