pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002347: pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe. Affects Kernel versions >= 32e67eee670e1254ee5ab41e2f454680acb9c17c, < 0067ba448f1c29ca06e5aee00d8506889ed1f9d0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The pinctrl package in the Linux Kernel is responsible for managing pin control and GPIO (General Purpose Input/Output) functionality. It provides an interface for configuring and controlling pins on various hardware platforms. The nomadik driver is a specific driver within the pinctrl package that is used for handling pin control on Nomadik platforms. This vulnerability affects the nomadik driver and can potentially lead to memory leaks and resource exhaustion.

Vulnerability Detail

The vulnerability in the nomadik driver is due to a missing of_node_put() function call in the nmk_pinctrl_probe() function. This function is responsible for probing the Nomadik pinctrl device and initializing its resources. However, it fails to release the reference to the device tree node obtained from the device tree, leading to a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory and cause a denial-of-service condition. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v4.19.238.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, developers should add the missing of_node_put() function call in the nmk_pinctrl_probe() function. This will ensure that the reference to the device tree node is properly released after use, preventing memory leaks. The fix has been implemented in the Linux Kernel version v4.19.238, so users should update to this version or later to mitigate the 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. The recommended solution is to apply the fix by updating to the fixed version of the Linux Kernel.

Conclusion

The pinctrl: nomadik vulnerability in the Linux Kernel's nomadik driver can lead to memory leaks and resource exhaustion. It is crucial to update to the fixed version of the Linux Kernel (v4.19.238 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The pinctrl package is responsible for managing pin control and GPIO functionality in the Linux Kernel. It provides an interface for configuring and controlling pins on various hardware platforms.

The nomadik driver is a specific driver within the pinctrl package that is used for handling pin control on Nomadik platforms.

This vulnerability can potentially lead to memory leaks and resource exhaustion, which could result in a denial-of-service condition.

To fix this vulnerability, update to the fixed version of the Linux Kernel (v4.19.238 or later) that includes the necessary fix.

No specific workaround is mentioned for this vulnerability. The recommended solution is to update to the fixed version of the Linux Kernel.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, developers should add the missing of_node_put() function call in the nmk_pinctrl_probe() function. This will ensure that the reference to the device tree node is properly released after use, preventing memory leaks. The fix has been implemented in the Linux Kernel version v4.19.238, so users should update to this version or later to mitigate the 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.