Kernel warning via unvalidated compat I2C messages
Published Feb 27, 2024 · Updated May 11, 2026
Improper input validation in Linux kernel 4.15 through 5.15.12 allows local users to trigger a warning through a compat I2C_RDWR ioctl. The compat_i2cdev_ioctl function copies the user-supplied transfer structure but fails to reject a null message pointer or zero message count before invoking i2c_transfer. Access to an I2C device and the 32-bit compatibility ioctl path is required; upstream evidence reports a kernel warning, not a crash or code execution.
Summary
What happened
Improper input validation in Linux kernel 4.15 through 5.15.12 allows local users to trigger a warning through a compat I2C_RDWR ioctl. The compat_i2cdev_ioctl function copies the user-supplied transfer structure but fails to reject a null message pointer or zero message count before invoking i2c_transfer. Access to an I2C device and the 32-bit compatibility ioctl path is required; upstream evidence reports a kernel warning, not a crash or code execution.
The record
- CVE
- CVE-2021-46934
- Published
- Feb 27, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-754
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.15
- Affected versionversion=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <407c8708fb1bf2d4afc5337ef50635cf540c364b
- Affected versionversion=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <8d31cbab4c295d7010ebb729e9d02d0e9cece18f
- Affected versionversion=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <9e4a3f47eff476097e0c7faac04d1831fc70237d
- Affected versionversion=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <bb436283e25aaf1533ce061605d23a9564447bdf
- Affected versionversion=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b <f68599581067e8a5a8901ba9eb270b4519690e26
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo