CVE-2022-50411

ACPICA: Fix error code path in acpi_ds_call_control_method()

High · published September 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
5.6
In the wild
Unconfirmed
What it is

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

ACPICA: Fix error code path in acpi_ds_call_control_method()

A use-after-free in acpi_ps_parse_aml() after a failing invocaion of

acpi_ds_call_control_method() is reported by KASAN [1] and code

inspection reveals that next_walk_state pushed to the thread by

acpi_ds_create_walk_state() is freed on errors, but it is not popped

from the thread beforehand. Thus acpi_ds_get_current_walk_state()

called by acpi_ps_parse_aml() subsequently returns it as the new

walk state which is incorrect.

To address this, make acpi_ds_call_control_method() call

acpi_ds_pop_walk_state() to pop next_walk_state from the thread before

returning an error.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.6th percentile
Published
2025-09-18T16:03Z
EPSS history
Timeline
  • 18 SEP 16:03Z
    ACPICA: Fix error code path in acpi_ds_call_control_method()
    cvelistv5