CVE-2021-46934
i2c: validate user data in compat ioctl
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 407c8708fb1bf2d4afc5337ef50635cf540c364b; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < f68599581067e8a5a8901ba9eb270b4519690e26; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < bb436283e25aaf1533ce061605d23a9564447bdf
- Anyone running Linux 4.15
Vulnerability facts
- Affected
- Linux >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 407c8708fb1bf2d4afc5337ef50635cf540c364b; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < f68599581067e8a5a8901ba9eb270b4519690e26; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < bb436283e25aaf1533ce061605d23a9564447bdf; Linux 4.15
- Fixed in
- Linux 407c8708fb1bf2d4afc5337ef50635cf540c364b, Linux 9e4a3f47eff476097e0c7faac04d1831fc70237d, Linux 8d31cbab4c295d7010ebb729e9d02d0e9cece18f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/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: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-754
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: validate user data in compat ioctl Wrong user data may cause warning in i2c_transfer(), ex: zero msgs. Userspace should not be able to trigger warnings, so this patch adds validation checks for user data in compact ioctl to prevent reported warnings
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 407c8708fb1bf2d4afc5337ef50635cf540c364b; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < f68599581067e8a5a8901ba9eb270b4519690e26; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < bb436283e25aaf1533ce061605d23a9564447bdf | — | cvelist |
| Linux | 4.15 | — | 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-46934. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-46934.md Affected: Linux >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 407c8708fb1bf2d4afc5337ef50635cf540c364b; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f; >= 7d5cb45655f2e9e37ef75d1… Fixed in: Linux 407c8708fb1bf2d4afc5337ef50635cf540c364b, Linux 9e4a3f47eff476097e0c7faac04d1831fc70237d, Linux 8d31cbab4c295d7010ebb729e9d02d0e9cece18f 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/407c8708fb1bf2d4afc5337ef50635cf540c364b
- https://git.kernel.org/stable/c/9e4a3f47eff476097e0c7faac04d1831fc70237d
- https://git.kernel.org/stable/c/8d31cbab4c295d7010ebb729e9d02d0e9cece18f
- https://git.kernel.org/stable/c/f68599581067e8a5a8901ba9eb270b4519690e26
- https://git.kernel.org/stable/c/bb436283e25aaf1533ce061605d23a9564447bdf
FAQ
Is CVE-2021-46934 being exploited?
There is no confirmed exploitation: CVE-2021-46934 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-46934?
Low: CVSS 3.3 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-46934?
Linux >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 407c8708fb1bf2d4afc5337ef50635cf540c364b; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < f68599581067e8a5a8901ba9eb270b4519690e26; >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < bb436283e25aaf1533ce061605d23a9564447bdf; Linux 4.15.
Is there a fix for CVE-2021-46934?
Yes. Fixed in Linux 407c8708fb1bf2d4afc5337ef50635cf540c364b, Linux 9e4a3f47eff476097e0c7faac04d1831fc70237d, Linux 8d31cbab4c295d7010ebb729e9d02d0e9cece18f. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-46934?
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.