CVE-2021-46966 - CVE House
Back to Database
Status published High CVE-2021-46966

ACPI: custom_method: fix potential use-after-free issue

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-46966

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
4bda2b79a9d04c8ba31681c66e95877dbb433416, 5c12dadcbef8cd55ef1f5dac799bfcbb7ea7db1d, 35b88a10535edcf62d3e6b7893a8cd506ff98a24, e4467fb6ef547aa352dc03397f9474ec84eced5b, 03d1571d9513369c17e6848476763ebbd10ec2cb, 70424999fbf1f160ade111cb9baab51776e0f9c2, 06cd4a06eb596a888239fb8ceb6ea15677cab396, 4.4.195, 4.9.195, 4.14.147, 4.19.77, 5.2.19, 5.3.4, 5.4, 0, 4.4.269, 4.9.269, 4.14.233, 4.19.191, 5.4.118, 5.10.36, 5.11.20, 5.12.3, 5.13

Timeline

Official Publish: February 27th, 2024
Last Modified: May 23rd, 2026
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.