Vulnerability in i2c: validate user data in compat ioctl

Kernel Updated 02 Oct 2025

Summary

10/01/2022
N/A
No i
Unrated
Not published

GSD-2022-1000034: i2c: validate user data in compat ioctl. Affects Kernel versions >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The i2c package is a component of the Linux Kernel that provides support for I2C (Inter-Integrated Circuit) bus communication. It allows devices to communicate with each other using a two-wire serial interface. The package is widely used in various Linux-based systems and is responsible for managing I2C devices and their interactions. However, a vulnerability has been discovered in the package that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the i2c package involves the lack of proper validation of user data in the compat ioctl interface. This vulnerability was introduced in version v4.15 of the Linux Kernel and was fixed in version v5.4.170. An attacker could exploit this vulnerability by providing malicious data through the ioctl interface, potentially leading to privilege escalation or arbitrary code execution. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the i2c package in the Linux Kernel is vulnerable to a potential security issue related to the validation of user data in the compat ioctl interface. It is recommended to update the Linux Kernel to version v5.4.170 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The i2c package is a component of the Linux Kernel that provides support for I2C bus communication.

The impact of this vulnerability could potentially include privilege escalation or arbitrary code execution.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.170 or later.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

For more details about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback