CVE-2021-46934

published 27 Feb 2024 · updated 11 May 2026

i2c: validate user data in compat ioctl

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 407c8708fb1bf2d4afc5337ef50635cf540c364b, Kernel 8d31cbab4c295d7010ebb729e9d02d0e9cece18f, Kernel 9e4a3f47eff476097e0c7faac04d1831fc70237d and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <407c8708fb1bf2d4afc5337ef50635cf540c364b, >=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <8d31cbab4c295d7010ebb729e9d02d0e9cece18f, >=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <9e4a3f47eff476097e0c7faac04d1831fc70237d, >=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <bb436283e25aaf1533ce061605d23a9564447bdf, >=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <f68599581067e8a5a8901ba9eb270b4519690e26407c8708fb1bf2d4afc5337ef50635cf540c364b, 8d31cbab4c295d7010ebb729e9d02d0e9cece18f, 9e4a3f47eff476097e0c7faac04d1831fc70237d, bb436283e25aaf1533ce061605d23a9564447bdf, f68599581067e8a5a8901ba9eb270b4519690e26

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-46934 severity on Zeptric[![CVE-2021-46934](https://zeptric.io/badge/cve/CVE-2021-46934.svg)](https://zeptric.io/cve/CVE-2021-46934)