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-1000042: i2c: validate user data in compat ioctl. Affects Kernel versions >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 8d31cbab4c295d7010ebb729e9d02d0e9cece18f. 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 part of the Linux Kernel ecosystem and is responsible for handling communication between integrated circuits on a computer motherboard. It provides a standardized interface for devices to exchange data over a serial bus. The vulnerability in question arises from a lack of validation of user data in the compat ioctl function.

Vulnerability Detail

The vulnerability allows an attacker to potentially exploit the i2c package by providing malicious data through the compat ioctl interface. This can lead to various security issues, such as privilege escalation, information disclosure, or denial of service. The vulnerability was introduced in version v4.15 of the Linux Kernel and has been fixed in version v5.10.90.

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

If updating the Linux Kernel is not immediately feasible, a possible workaround is to restrict access to the affected functionality. This can be achieved by disabling the use of the compat ioctl interface or implementing additional input validation checks to ensure the integrity of user data.

Conclusion

The vulnerability in the i2c package, which allows for potential exploitation through the compat ioctl interface, has been described. It is crucial to update the Linux Kernel to version v5.10.90 or later to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially be exploited by attackers to gain elevated privileges, access sensitive information, or disrupt the normal operation of the system.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert service will analyze it for any known vulnerabilities.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the recommended fixes as soon as possible to mitigate any potential risks.

In order to exploit this vulnerability, an attacker would need to have the ability to execute malicious code on the target system. This could be achieved through various means, such as gaining unauthorized access or tricking a user into running a malicious program.

The vulnerability was fixed in version v5.10.90 of the Linux Kernel. It is recommended to update to this version or later to ensure the vulnerability is patched.

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