CVE-2022-50411

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50411
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50411.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50411
Downstream
Related
Published
2025-09-18T16:03:55.437Z
Modified
2025-11-28T02:35:35.623885Z
Summary
ACPICA: Fix error code path in acpi_ds_call_control_method()
Details

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

ACPICA: Fix error code path in acpidscallcontrolmethod()

A use-after-free in acpipsparseaml() after a failing invocaion of acpidscallcontrolmethod() is reported by KASAN [1] and code inspection reveals that nextwalkstate pushed to the thread by acpidscreatewalkstate() is freed on errors, but it is not popped from the thread beforehand. Thus acpidsgetcurrentwalkstate() called by acpipsparse_aml() subsequently returns it as the new walk state which is incorrect.

To address this, make acpidscallcontrolmethod() call acpidspopwalkstate() to pop nextwalkstate from the thread before returning an error.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50411.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
38e251d356a01b61a86cb35213cafd7e8fe7090c
Fixed
f520d181477ec29a496c0b3bbfbdb7e2606c2713
Fixed
2deb42c4f9776e59bee247c14af9c5e8c05ca9a6
Fixed
9ef353c92f9d04c88de3af1a46859c1fb76db0f8
Fixed
b0b83d3f3ffa96e8395c56b83d6197e184902a34
Fixed
5777432ebaaf797e24f059979b42df3139967163
Fixed
0462fec709d51762ba486245bc344f44cc6cfa97
Fixed
799881db3e03b5e98fe6a900d9d7de8c7d61e7ee
Fixed
404ec60438add1afadaffaed34bb5fe4ddcadd40

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2