Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-46966 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://git.kernel.org/stable/c/1d53ca5d131074c925ce38361fb0376d3bf7e394 kernel.orgPatch
https://git.kernel.org/stable/c/62dc2440ebb552aa0d7f635e1697e077d9d21203 kernel.orgPatch
https://git.kernel.org/stable/c/72814a94c38a33239793f7622cec6ace1e540c4b kernel.orgPatch
https://git.kernel.org/stable/c/8b04d57f30caf76649d0567551589af9a66ca9be kernel.orgPatch
https://git.kernel.org/stable/c/90575d1d9311b753cf1718f4ce9061ddda7dfd23 kernel.orgPatch

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-416Use After Free[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 4.4.195, < 4.4.269
>= 4.9.195, < 4.9.269
>= 4.14.147, < 4.14.233
>= 4.19.77, < 4.19.191
>= 5.4, < 5.4.118

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-46966
NVD Published Date:
Feb 27, 2024
NVD Last Modified:
Jun 17, 2026
Source:
kernel.org
CVE-2021-46966 Details - Not Deferred