Vulnerability in Kernel package: iio: dummy: iio_simple_dummy: check the return value of kstrdup()

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002908: iio: dummy: iio_simple_dummy: check the return value of kstrdup(). Affects Kernel versions < 87eea4319b2cc92ad9a6ff16c6f668a7e1f9b451. 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 Kernel package is a critical component of the Linux operating system, responsible for managing the system's core functionality. It provides essential services and interfaces for hardware devices, file systems, and process management. The iio_simple_dummy module within the Kernel package is used for testing and simulating Industrial I/O (IIO) devices. It allows developers to create virtual IIO devices for debugging and experimentation purposes.

Vulnerability Detail

The vulnerability in the iio_simple_dummy module arises from a failure to properly check the return value of the kstrdup() function. This function is used to allocate and copy a string in kernel space. By not verifying the return value, it is possible for an attacker to exploit this vulnerability and cause a denial-of-service (DoS) condition or potentially execute arbitrary code within the kernel context. 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 iio_simple_dummy module in the Kernel package is vulnerable to a security issue related to the improper checking of the return value of kstrdup(). To mitigate this vulnerability, it is crucial to update the Linux Kernel package to version v5.17.15 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The iio_simple_dummy module is used for testing and simulating Industrial I/O (IIO) devices in the Linux Kernel. It allows developers to create virtual IIO devices for debugging and experimentation purposes.

The impact of this vulnerability is not yet proven, but it could potentially lead to a denial-of-service (DoS) condition or arbitrary code execution within the kernel context.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. It requires no signup and uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel package to the fixed version.

You can find more information about this vulnerability in the GSD-2022-1002908 entry of the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002908.json

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