Vulnerability in Kernel: i2c: xiic: fix reference leak when pm_runtime_get_sync fails

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000241: i2c: xiic: fix reference leak when pm_runtime_get_sync fails. Affects Kernel versions >= 10b17004a74c384c6f410af355b0d6d7a168f613, < a42ac16e6573f19c78f556ea292f5b534fcc4514. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to ensure the proper functioning of the system. The i2c subsystem within the Kernel enables communication with I2C devices, such as sensors and other peripherals. The xiic driver is responsible for managing I2C communication for certain platforms. However, a vulnerability has been identified in the xiic driver that can lead to a reference leak when the pm_runtime_get_sync function fails.

Vulnerability Detail

The vulnerability in the xiic driver occurs when the pm_runtime_get_sync function fails to acquire a reference. This can result in a reference leak, leading to potential resource exhaustion and system instability. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.6 of the Linux Kernel and has been fixed in version v5.12.4.

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 Kernel is not immediately feasible, a possible workaround is to disable the affected xiic driver or module. This can be achieved by modifying the Kernel configuration or blacklisting the module. However, it is important to note that this workaround may impact the functionality of I2C devices relying on the xiic driver.

Conclusion

The vulnerability in the xiic driver of the Kernel can result in a reference leak and potential resource exhaustion. It is crucial to update the Linux Kernel to version v5.12.4 or later to mitigate this vulnerability. If immediate updating is not possible, disabling the affected xiic driver or module can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a reference leak, potentially causing resource exhaustion and system instability. It may also allow an attacker to execute arbitrary code with elevated privileges or trigger a denial-of-service condition.

You can check the version of the Linux Kernel installed on your system. If it is version v5.6 or later and does not include the fix introduced in v5.12.4, your system may be vulnerable.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is always advisable to apply security patches promptly to mitigate potential risks.

The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker already has access to the system, they may be able to exploit this vulnerability to escalate privileges or disrupt system functionality.

For more details about this vulnerability, including the specific code changes and commits addressing it, you can refer to the source link provided in the database-specific information section of this report.

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