CVE-2021-46966

unknown
Published — · Modified —
CVSS v3
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-46966

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-46966.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed5.10.38-1
debian debianbullseyefixed5.10.38-1
debian debianforkyfixed5.10.38-1
debian debiansidfixed5.10.38-1
debian debiantrixiefixed5.10.38-1

References

Verify integrity in audit chain (admin only). AS-IS.