CVE-2022-50423
ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
Check your servers for CVE-2022-50423
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50423 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
There is an use-after-free reported by KASAN:
BUG: KASAN: use-after-free in acpi_ut_remove_reference+0x3b/0x82 Read of size 1 at addr ffff888112afc460 by task modprobe/2111 CPU: 0 PID: 2111 Comm: modprobe Not tainted 6.1.0-rc7-dirty Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), Call Trace: <TASK> kasan_report+0xae/0xe0 acpi_ut_remove_reference+0x3b/0x82 acpi_ut_copy_iobject_to_iobject+0x3be/0x3d5 acpi_ds_store_object_to_local+0x15d/0x3a0 acpi_ex_store+0x78d/0x7fd acpi_ex_opcode_1A_1T_1R+0xbe4/0xf9b acpi_ps_parse_aml+0x217/0x8d5 ... </TASK>
The root cause of the problem is that the acpi_operand_object is freed when acpi_ut_walk_package_tree() fails in acpi_ut_copy_ipackage_to_ipackage(), lead to repeated release in acpi_ut_copy_iobject_to_iobject(). The problem was introduced by "8aa5e56eeb61" commit, this commit is to fix memory leak in acpi_ut_copy_iobject_to_iobject(), repeatedly adding remove operation, lead to "acpi_operand_object" used after free.
Fix it by removing acpi_ut_remove_reference() in acpi_ut_copy_ipackage_to_ipackage(). acpi_ut_copy_ipackage_to_ipackage() is called to copy an internal package object into another internal package object, when it fails, the memory of acpi_operand_object should be freed by the caller.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.09% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 14 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 133462d35dae95edb944af86b986d4c9dec59bd1 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 02f237423c9c6a18e062de2d474f85d5659e4eb9 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before c9125b643fc51b8e662f2f614096ceb45a0adbc3 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before dfdde4d5138bc023897033a5ac653a84e94805be affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 02617006b5a46f2ea55ac61f5693c7afd7bf9276 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 6fde666278f91b85d71545a0ebbf41d8d7af8074 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 01f2c2052ea50fb9a8ce12e4e83aed0267934ef0 affected from 8aa5e56eeb61a099ea6519eb30ee399e1bc043ce, before 470188b09e92d83c5a997f25f0e8fb8cd2bc3469 affected b3e98f0c4f996cd53b80bad71f0d7e4a2cf3a4e8 affected 7af5504c102a378376101dbd160246b10a814dd0 affected e29a15484d7ea949e49ae7fb7e576a575da824a6 affected e2ab6731a36966d042a2d4dabd980496cd680f75 affected from 3.10.55, before 3.11 affected from 3.12.29, before 3.13 affected from 3.14.19, before 3.15 affected from 3.16.3, before 3.17
Other versions: unaffected
|
| Linux |
affected 3.17 unaffected before 3.17 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50423 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50423
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50423
trivy image --scanners vuln IMAGE | grep CVE-2022-50423
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/133462d35dae95edb944af86b986d4c9dec59bd1 git.kernel.org
- https://git.kernel.org/stable/c/02f237423c9c6a18e062de2d474f85d5659e4eb9 git.kernel.org
- https://git.kernel.org/stable/c/c9125b643fc51b8e662f2f614096ceb45a0adbc3 git.kernel.org
- https://git.kernel.org/stable/c/dfdde4d5138bc023897033a5ac653a84e94805be git.kernel.org
- https://git.kernel.org/stable/c/02617006b5a46f2ea55ac61f5693c7afd7bf9276 git.kernel.org
- https://git.kernel.org/stable/c/6fde666278f91b85d71545a0ebbf41d8d7af8074 git.kernel.org
- https://git.kernel.org/stable/c/f51b2235e4f320edc839c3e5cb0d1f8a6e8657c6 git.kernel.org
- https://git.kernel.org/stable/c/01f2c2052ea50fb9a8ce12e4e83aed0267934ef0 git.kernel.org
- https://git.kernel.org/stable/c/470188b09e92d83c5a997f25f0e8fb8cd2bc3469 git.kernel.org
Source: the record CVE-2022-50423 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse