CVE-2021-46935
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46935 affects the Linux kernel's binder driver, specifically related to async_free_space accounting for empty parcels. The vulnerability was introduced in Linux kernel 4.13 when a fix for a kernel structure visibility issue was implemented. The affected versions include Linux kernel from 4.14.0 to 4.14.261, 4.15.0 to 4.19.224, 4.20.0 to 5.4.170, 5.5.0 to 5.10.90, and 5.11.0 to 5.15.13 (NVD).

Technical details

The vulnerability stems from an accounting issue in the binder driver where sizeof(void *) was used as the buffer size for 0-length data payloads to detect abusive clients sending 0-length asynchronous transactions. However, on the free side, the accounting of async_free_space did not add the sizeof(void *) back, resulting in up to 8-bytes of async_free_space being leaked on every async transaction of 8-bytes or less. The vulnerability has a CVSS v3.1 Base Score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) (NVD).

Impact

The vulnerability results in a memory leak of up to 8-bytes of async_free_space on every async transaction of 8-bytes or less. While these small transactions are uncommon, the cumulative effect of the leak went undetected for several years (Kernel Patch).

Mitigation and workarounds

The fix involves using 'buffer_size' (the allocated buffer size) instead of 'size' (the logical buffer size) when updating the async_free_space during the free operation. This patch has been applied to multiple kernel versions through various stable releases (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management