Kernel crash via freed ACPI method buffer
Published Feb 27, 2024 · Updated May 23, 2026
Use-after-free in affected Linux kernel releases allows local users to trigger invalid memory access through repeated ACPI custom-method writes. In drivers/acpi/custom_method.c, cm_write() frees its persistent buffer after a short write but retains the pointer, so a later call reuses freed memory. Access requires permission to write the custom_method debugfs interface; the resulting kernel-memory corruption can crash the host.
Summary
What happened
Use-after-free in affected Linux kernel releases allows local users to trigger invalid memory access through repeated ACPI custom-method writes. In drivers/acpi/custom_method.c, cm_write() frees its persistent buffer after a short write but retains the pointer, so a later call reuses freed memory. Access requires permission to write the custom_method debugfs interface; the resulting kernel-memory corruption can crash the host.
The record
- CVE
- CVE-2021-46966
- Published
- Feb 27, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=03d1571d9513369c17e6848476763ebbd10ec2cb <62dc2440ebb552aa0d7f635e1697e077d9d21203
- Affected versionversion=03d1571d9513369c17e6848476763ebbd10ec2cb <72814a94c38a33239793f7622cec6ace1e540c4b
- Affected versionversion=03d1571d9513369c17e6848476763ebbd10ec2cb <b7a5baaae212a686ceb812c32fceed79c03c0234
- Affected versionversion=03d1571d9513369c17e6848476763ebbd10ec2cb <e483bb9a991bdae29a0caa4b3a6d002c968f94aa
- Affected versionversion=03d1571d9513369c17e6848476763ebbd10ec2cb <f16737caf41fc06cfe6e49048becb09657074d4b
- Affected versionversion=06cd4a06eb596a888239fb8ceb6ea15677cab396
- Affected versionversion=35b88a10535edcf62d3e6b7893a8cd506ff98a24 <90575d1d9311b753cf1718f4ce9061ddda7dfd23
- Affected versionversion=4.14.147 <4.14.233
- Affected versionversion=4.19.77 <4.19.191
- Affected versionversion=4.4.195 <4.4.269
- Affected versionversion=4.9.195 <4.9.269
- Affected versionversion=4bda2b79a9d04c8ba31681c66e95877dbb433416 <1d53ca5d131074c925ce38361fb0376d3bf7e394
- Affected versionversion=5.2.19 <5.3
- Affected versionversion=5.3.4 <5.4
- Affected versionversion=5.4
- Affected versionversion=5c12dadcbef8cd55ef1f5dac799bfcbb7ea7db1d <8b04d57f30caf76649d0567551589af9a66ca9be
- Affected versionversion=70424999fbf1f160ade111cb9baab51776e0f9c2
- Affected versionversion=e4467fb6ef547aa352dc03397f9474ec84eced5b <a5b26a2e362f572d87e9fd35435680e557052a17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo