CVE-2021-46985

ACPI: scan: Fix a memory leak in an error handling path

No CVSS score yet EPSS 0.25%

Published 28 Feb 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2021-46985

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-2021-46985 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.

Check my servers

Description

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

ACPI: scan: Fix a memory leak in an error handling path

If 'acpi_device_set_name()' fails, we must free 'acpi_device_bus_id->bus_id' or there is a (potential) memory leak.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e5cdbe419004e172f642e876a671a9ff1c52f8bb, before 6901a4f795e0e8d65ae779cb37fc22e0bf294712
affected from 717d9d88fbd956ab03fad97266f6ce63a036e7f8, before 5ab9857dde7c3ea3faef6b128d718cf8ba98721b
affected from 7385e438e1f31af5b86f72fd19b0dcd2738502c9, before 69cc821e89ce572884548ac54c4f80eec7a837a5
affected from bc0b1a2036dd8072106ec81a8685ecb901f72ed6, before dafd4c0b5e835db020cff11c74b4af9493a58e72
affected from 4a5891992c680d69d7e490e4d0428d17779d8e85, before e2381174daeae0ca35eddffef02dcc8de8c1ef8a
affected from 321dbe6c0b551f9f8030becc6900f77cf9bbb9ad, before c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb
affected from eb50aaf960e3bedfef79063411ffd670da94b84b, before a7e17a8d421ae23c920240625b4413c7b94d94a4
affected from eb50aaf960e3bedfef79063411ffd670da94b84b, before 0c8bd174f0fc131bc9dfab35cd8784f59045da87
affected from 4.9.264, before 4.9.269
affected from 4.14.228, before 4.14.233
affected from 4.19.184, before 4.19.191
affected from 5.4.109, before 5.4.120
affected from 5.10.27, before 5.10.38
affected from 5.11.11, before 5.11.22
Other versions: unaffected
Linux
affected 5.12
unaffected before 5.12
unaffected from 4.9.269 up to and including 4.9.*
unaffected from 4.14.233 up to and including 4.14.*
unaffected from 4.19.191 up to and including 4.19.*
unaffected from 5.4.120 up to and including 5.4.*
unaffected from 5.10.38 up to and including 5.10.*
unaffected from 5.11.22 up to and including 5.11.*
unaffected from 5.12.5 up to and including 5.12.*
unaffected 5.13 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-2021-46985 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-46985

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-2021-46985
trivy image --scanners vuln IMAGE | grep CVE-2021-46985

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

Source: the record CVE-2021-46985 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.