CVE-2021-46966: ACPI: custom_method: fix potential use-after-free issue
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 1d53ca5d131074c925ce38361fb0376d3bf7e394, 4.14.233, 4.19.191.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 1d53ca5d131074c925ce38361fb0376d3bf7e394, 4.14.233, 4.19.191 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 27, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 13th percentile
- CWE
- CWE-416
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 70424999fbf1f160ade111cb9baab51776e0f9c2, 06cd4a06eb596a888239fb8ceb6ea15677cab396, 5.4affected
- 4bda2b79a9d04c8ba31681c66e95877dbb433416 and later · before 1d53ca5d131074c925ce38361fb0376d3bf7e394affected · git
- 5c12dadcbef8cd55ef1f5dac799bfcbb7ea7db1d and later · before 8b04d57f30caf76649d0567551589af9a66ca9beaffected · git
- 35b88a10535edcf62d3e6b7893a8cd506ff98a24 and later · before 90575d1d9311b753cf1718f4ce9061ddda7dfd23affected · git
- e4467fb6ef547aa352dc03397f9474ec84eced5b and later · before a5b26a2e362f572d87e9fd35435680e557052a17affected · git
- 03d1571d9513369c17e6848476763ebbd10ec2cb and later · before 72814a94c38a33239793f7622cec6ace1e540c4baffected · git
- 03d1571d9513369c17e6848476763ebbd10ec2cb and later · before 62dc2440ebb552aa0d7f635e1697e077d9d21203affected · git
- 03d1571d9513369c17e6848476763ebbd10ec2cb and later · before f16737caf41fc06cfe6e49048becb09657074d4baffected · git
- 03d1571d9513369c17e6848476763ebbd10ec2cb and later · before b7a5baaae212a686ceb812c32fceed79c03c0234affected · git
- 03d1571d9513369c17e6848476763ebbd10ec2cb and later · before e483bb9a991bdae29a0caa4b3a6d002c968f94aaaffected · git
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.4.195 and later · before 4.4.269
- linux linux kernel4.9.195 and later · before 4.9.269
- linux linux kernel4.14.147 and later · before 4.14.233
- linux linux kernel4.19.77 and later · before 4.19.191
- linux linux kernel5.4 and later · before 5.4.118
- linux linux kernel5.5 and later · before 5.10.36
- linux linux kernel5.11 and later · before 5.11.20
- linux linux kernel5.12 and later · before 5.12.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.10.38-1 | 5.10.38-1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP5 | kernel-default | before 4.12.14-122.216.1 | 4.12.14-122.216.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-default-base | before 5.3.18-150200.24.183.1.150200.9.93.2 | 5.3.18-150200.24.183.1.150200.9.93.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-docs | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-obs-build | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-preempt | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-syms | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-default-base | before 5.3.18-150300.59.153.2.150300.18.90.2 | 5.3.18-150300.59.153.2.150300.18.90.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-docs | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-obs-build | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-preempt | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-syms | before 5.3.18-150300.59.153.1 | 5.3.18-150300.59.153.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_56 | before 1-8.3.1 | 1-8.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-default | before 5.3.18-150200.24.183.1 | 5.3.18-150200.24.183.1 |
| SUSE:Linux Enterprise Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_46 | before 1-150200.5.3.2 | 1-150200.5.3.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-default | before 5.3.18-150300.59.153.2 | 5.3.18-150300.59.153.2 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_42 | before 1-150300.7.3.2 | 1-150300.7.3.2 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-rt | before 5.3.18-150300.161.1 | 5.3.18-150300.161.1 |
| SUSE:Linux Enterprise Micro 5.1 | kernel-source-rt | before 5.3.18-150300.161.1 | 5.3.18-150300.161.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt | before 4.12.14-10.182.1 | 4.12.14-10.182.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt_debug | before 4.12.14-10.182.1 | 4.12.14-10.182.1 |
+10
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2021-46964Feb 27, 2024 · scsi: qla2xxx: Reserve extra IRQ vectors22Monitor
- ← EarlierCVE-2021-46965Feb 27, 2024 · mtd: physmap: physmap-bt1-rom: Fix unintentional stack access28Monitor
- Later →CVE-2021-46967Feb 27, 2024 · vhost-vdpa: fix vm_flags for virtqueue doorbell mapping22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1d53ca5d131074c925ce38361fb0376d3bf7e394 | Vendor (CNA) |
| Linux Linux | 4.14.233 | Vendor (CNA) |
| Linux Linux | 4.19.191 | Vendor (CNA) |
| Linux Linux | 4.4.269 | Vendor (CNA) |
| Linux Linux | 4.9.269 | Vendor (CNA) |
| Linux Linux | 5.3 | Vendor (CNA) |
| Linux Linux | 5.4 | Vendor (CNA) |
| Linux Linux | 62dc2440ebb552aa0d7f635e1697e077d9d21203 | Vendor (CNA) |
| Linux Linux | 72814a94c38a33239793f7622cec6ace1e540c4b | Vendor (CNA) |
| Linux Linux | 8b04d57f30caf76649d0567551589af9a66ca9be | Vendor (CNA) |
| Linux Linux | 90575d1d9311b753cf1718f4ce9061ddda7dfd23 | Vendor (CNA) |
| Linux Linux | a5b26a2e362f572d87e9fd35435680e557052a17 | Vendor (CNA) |
| Linux Linux | b7a5baaae212a686ceb812c32fceed79c03c0234 | Vendor (CNA) |
| Linux Linux | e483bb9a991bdae29a0caa4b3a6d002c968f94aa | Vendor (CNA) |
| Linux Linux | f16737caf41fc06cfe6e49048becb09657074d4b | Vendor (CNA) |
| debian:linux | 5.10.38-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-64kb | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-default | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150300.59.153.2.150300.18.90.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_42 | 1-150300.7.3.2 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-rt | 5.3.18-150300.161.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-source | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.161.1 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-syms | 5.3.18-150300.59.153.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.3.18-150300.59.153.2 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0138 · Feb 28, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/62dc2440ebb552aa0d7f635e1697e077d9d21203
- git.kernel.org/stable/c/72814a94c38a33239793f7622cec6ace1e540c4b
- git.kernel.org/stable/c/8b04d57f30caf76649d0567551589af9a66ca9be
- git.kernel.org/stable/c/90575d1d9311b753cf1718f4ce9061ddda7dfd23
- git.kernel.org/stable/c/a5b26a2e362f572d87e9fd35435680e557052a17
- git.kernel.org/stable/c/b7a5baaae212a686ceb812c32fceed79c03c0234
- git.kernel.org/stable/c/e483bb9a991bdae29a0caa4b3a6d002c968f94aa
- git.kernel.org/stable/c/f16737caf41fc06cfe6e49048becb09657074d4b
Vendor advisories and official records. Exploit/PoC links are deliberately left out.