CVE-2021-46935
binder: fix async_free_space accounting for empty parcels
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 2d2df539d05205fd83c404d5f2dff48d36f9b495; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 7c7064402609aeb6fb11be1b4ec10673ff17b593; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 103b16a8c51f96d5fe063022869ea906c256e5da; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < cfd0d84ba28c18b531648c9d4a35ecca89ad9901
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 2d2df539d05205fd83c404d5f2dff48d36f9b495; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 7c7064402609aeb6fb11be1b4ec10673ff17b593; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 103b16a8c51f96d5fe063022869ea906c256e5da; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < cfd0d84ba28c18b531648c9d4a35ecca89ad9901; Linux 4.14
- Fixed in
- Linux 2d2df539d05205fd83c404d5f2dff48d36f9b495, Linux 7c7064402609aeb6fb11be1b4ec10673ff17b593, Linux 103b16a8c51f96d5fe063022869ea906c256e5da, Linux 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4, Linux 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-668
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: binder: fix async_free_space accounting for empty parcels In 4.13, commit 74310e06be4d ("android: binder: Move buffer out of area shared with user space") fixed a kernel structure visibility issue. As part of that patch, sizeof(void *) was used as the buffer size for 0-length data payloads so the driver could detect abusive clients sending 0-length asynchronous transactions to a server by enforcing limits on async_free_size. Unfortunately, on the "free" side, the accounting of async_free_space did not add the sizeof(void *) back. The result was that up to 8-bytes of async_free_space were leaked on every async transaction of 8-bytes or less. These small transactions are uncommon, so this accounting issue has gone undetected for several years. The fix is to use "buffer_size" (the allocated buffer size) instead of "size" (the logical buffer size) when updating the async_free_space during the free operation. These are the same except for this corner case of asynchronous transactions with payloads < 8 bytes.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 2d2df539d05205fd83c404d5f2dff48d36f9b495; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 7c7064402609aeb6fb11be1b4ec10673ff17b593; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 103b16a8c51f96d5fe063022869ea906c256e5da; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < cfd0d84ba28c18b531648c9d4a35ecca89ad9901 | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-46935. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-46935.md Affected: Linux >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 2d2df539d05205fd83c404d5f2dff48d36f9b495; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 7c7064402609aeb6fb11be1b4ec10673ff17b593; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 103b16a8c51f96d5fe063022869ea906c256e5da; >= 74310e06be4d74dcf67cd10… Fixed in: Linux 2d2df539d05205fd83c404d5f2dff48d36f9b495, Linux 7c7064402609aeb6fb11be1b4ec10673ff17b593, Linux 103b16a8c51f96d5fe063022869ea906c256e5da, Linux 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4, Linux 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2d2df539d05205fd83c404d5f2dff48d36f9b495
- https://git.kernel.org/stable/c/7c7064402609aeb6fb11be1b4ec10673ff17b593
- https://git.kernel.org/stable/c/103b16a8c51f96d5fe063022869ea906c256e5da
- https://git.kernel.org/stable/c/1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4
- https://git.kernel.org/stable/c/17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff
- https://git.kernel.org/stable/c/cfd0d84ba28c18b531648c9d4a35ecca89ad9901
FAQ
Is CVE-2021-46935 being exploited?
There is no confirmed exploitation: CVE-2021-46935 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-46935?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-46935?
Linux >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 2d2df539d05205fd83c404d5f2dff48d36f9b495; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 7c7064402609aeb6fb11be1b4ec10673ff17b593; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 103b16a8c51f96d5fe063022869ea906c256e5da; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff; >= 74310e06be4d74dcf67cd108366710dee5c576d5, < cfd0d84ba28c18b531648c9d4a35ecca89ad9901; Linux 4.14.
Is there a fix for CVE-2021-46935?
Yes. Fixed in Linux 2d2df539d05205fd83c404d5f2dff48d36f9b495, Linux 7c7064402609aeb6fb11be1b4ec10673ff17b593, Linux 103b16a8c51f96d5fe063022869ea906c256e5da, Linux 1cb8444f3114f0bb2f6e3bcadcf09aa4a28425d4, Linux 17691bada6b2f1d5f1c0f6d28cd9d0727023b0ff. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-46935?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.