CVE-2021-46934
JSON

3.3low

i2c: validate user data in compat ioctl

Severity
3.3low CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b before 407c8708fb1bf2d4afc5337ef50635cf540c364b, from 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b before 9e4a3f47eff476097e0c7faac04d1831fc70237d, from 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b before 8d31cbab4c295d7010ebb729e9d02d0e9cece18f, from 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b before f68599581067e8a5a8901ba9eb270b4519690e26, from 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b before bb436283e25aaf1533ce061605d23a9564447bdf, 4.15
Not affected: before 4.15, from 4.19.224 up to 4.19.*, from 5.4.170 up to 5.4.*, from 5.10.90 up to 5.10.*, from 5.15.13 up to 5.15.*, from 5.16 up to *
CVE List
linux linux_kernelfrom 4.15.0 before 4.19.224, from 4.20.0 before 5.4.170, from 5.5.0 before 5.10.90, from 5.11.0 before 5.15.13NVD

Classification

CWE-754

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: validar datos de usuario en compat ioctl Los datos de usuario incorrectos pueden causar advertencia en i2c_transfer(), ej: cero mensajes. El espacio de usuario no debería poder activar advertencias, por lo que este parche agrega comprobaciones de validación para los datos del usuario en ioctl compacto para evitar advertencias reportadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46934 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-46934 changed 2026-06-17Public domain