Vulnerability in i2c: validate user data in compat ioctl
Summary
GSD-2022-1000034: i2c: validate user data in compat ioctl. Affects Kernel versions >= 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b, < 9e4a3f47eff476097e0c7faac04d1831fc70237d. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.