CVEvulnerability
CVE-2021-46934
3.3 LOW
Official page ↗
- Status
- Modified
- Published
- 2024-02-27
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 3.3 LOW — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-754
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 configurations
• linux linux kernel (>= 4.15.0 < 4.19.224)
• linux linux kernel (>= 4.20.0 < 5.4.170)
• linux linux kernel (>= 5.5.0 < 5.10.90)
• linux linux kernel (>= 5.11.0 < 5.15.13)
Related
Weakness · CWE (1)
- CWE-754 Improper Check for Unusual or Exceptional Conditions weakness
References
- https://git.kernel.org/stable/c/407c8708fb1bf2d4afc5337ef50635cf540c364b Patch
- https://git.kernel.org/stable/c/8d31cbab4c295d7010ebb729e9d02d0e9cece18f Patch
- https://git.kernel.org/stable/c/9e4a3f47eff476097e0c7faac04d1831fc70237d Patch
- https://git.kernel.org/stable/c/bb436283e25aaf1533ce061605d23a9564447bdf Patch
- https://git.kernel.org/stable/c/f68599581067e8a5a8901ba9eb270b4519690e26 Patch
- https://git.kernel.org/stable/c/407c8708fb1bf2d4afc5337ef50635cf540c364b Patch
- https://git.kernel.org/stable/c/8d31cbab4c295d7010ebb729e9d02d0e9cece18f Patch
- https://git.kernel.org/stable/c/9e4a3f47eff476097e0c7faac04d1831fc70237d Patch
- https://git.kernel.org/stable/c/bb436283e25aaf1533ce061605d23a9564447bdf Patch
- https://git.kernel.org/stable/c/f68599581067e8a5a8901ba9eb270b4519690e26 Patch