What’s Vulnerable › Vulnerabilities

CVE-2021-46934: i2c: validate user data in compat ioctl

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.224, 5.10.90, 5.15.13, 5.4.170. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46934 or the next vulnerability affects your stack