PT-2024-10338 · Linux+3 · Linux Kernel+3
Mark Langsdorf
·
Published
2024-02-27
·
Updated
2024-12-06
·
CVE-2021-46966
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a potential use-after-free problem in the Linux kernel's ACPI custom method. Specifically, in the
cm write() function, the buffer buf is always freed when reaching the end of the function. However, 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. This can lead to a denial of service. The issue is resolved by removing the unconditional kfree(buf) at the end of the function and setting buf to NULL in the -EINVAL error path.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse
Ubuntu