CVE-2021-46966Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 8
- Auth required
- Yes
- Published
- Feb 27, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
In the Linux kernel, the following vulnerability has been resolved:
ACPI: custom_method: fix potential use-after-free issue
In cm_write(), buf is always freed when reaching the end of the
function. If the requested count is less than table.length, the
allocated buffer will be freed but subsequent calls to cm_write() will
still try to access it.
Remove the unconditional kfree(buf) at the end of the function and
set the buf to NULL in the -EINVAL error path to match the rest of
function.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 4.4.195 < 4.4.269 |
| linux | linux_kernel | ≥ 4.9.195 < 4.9.269 |
| linux | linux_kernel | ≥ 4.14.147 < 4.14.233 |
| linux | linux_kernel | ≥ 4.19.77 < 4.19.191 |
| linux | linux_kernel | ≥ 5.4 < 5.4.118 |
| linux | linux_kernel | ≥ 5.5 < 5.10.36 |
| linux | linux_kernel | ≥ 5.11 < 5.11.20 |
| linux | linux_kernel | ≥ 5.12 < 5.12.3 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch