CVE-2021-46934

i2c: validate user data in compat ioctl

LOW
3.3
CVSS Score
Published: February 27, 2024 at 09:44 AM UTC
Updated: June 17, 2026 at 04:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.3
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2244.15 ≤ v < 5.10.904.15 ≤ v < 5.15.134.15 ≤ v < 5.164.15 ≤ v < 5.4.1704.15.0 ≤ v < 4.19.2244.20.0 ≤ v < 5.4.1705.11.0 ≤ v < 5.15.135.5.0 ≤ v < 5.10.904.157d5cb45655f2e9e37ef75d18f50c0072ef14a38b
Vendor states this is fixed in 407c8708fb1bf2d4afc5337ef50635cf540c364b (fixed)
Vendor states this is fixed in 8d31cbab4c295d7010ebb729e9d02d0e9cece18f (fixed)
Vendor states this is fixed in 9e4a3f47eff476097e0c7faac04d1831fc70237d (fixed)
Vendor states this is fixed in bb436283e25aaf1533ce061605d23a9564447bdf (fixed)
Vendor states this is fixed in f68599581067e8a5a8901ba9eb270b4519690e26 (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 4.19.224 (unaffected)
Vendor states this is fixed in 5.10.90 (unaffected)
Vendor states this is fixed in 5.15.13 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.170 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/407c8708fb1bf2d4afc5337ef50635cf540c364b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d31cbab4c295d7010ebb729e9d02d0e9cece18f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e4a3f47eff476097e0c7faac04d1831fc70237d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb436283e25aaf1533ce061605d23a9564447bdf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f68599581067e8a5a8901ba9eb270b4519690e26

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card