CVE-2021-46934Published Feb 27, 2024 · Feb 27Updated Jun 17
i2c: validate user data in compat ioctl
Linux
Low3.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel's i2c compat ioctl did not adequately validate user data. A local userspace caller could supply invalid data, such as zero messages, and trigger a warning in i2c_transfer().
Teams running Linux kernels with the affected i2c compat ioctl should check their deployments; affected versions were not specified.