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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7d5cb45655f2e9e37ef75d18f50c0072ef14a38b to < 407c8708fb1bf2d4afc5337ef50635cf540c364baffected7d5cb45655f2e9e37ef75d18f50c0072ef14a38b to < 9e4a3f47eff476097e0c7faac04d1831fc70237daffected7d5cb45655f2e9e37ef75d18f50c0072ef14a38b to < 8d31cbab4c295d7010ebb729e9d02d0e9cece18faffected7d5cb45655f2e9e37ef75d18f50c0072ef14a38b to < f68599581067e8a5a8901ba9eb270b4519690e26affected7d5cb45655f2e9e37ef75d18f50c0072ef14a38b to < bb436283e25aaf1533ce061605d23a9564447bdfaffected
Linux Linux
Default version status: affected
4.15affected0 to < 4.15unaffected4.19.224 to ≤ 4.19.*unaffected5.4.170 to ≤ 5.4.*unaffected5.10.90 to ≤ 5.10.*unaffected5.15.13 to ≤ 5.15.*unaffected5.16 to ≤ *unaffected
References
- 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 ↗