Potential deadlock in blk_ia_range_sysfs_show() in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003011: block: Fix potential deadlock in blk_ia_range_sysfs_show(). Affects Kernel versions >= a2247f19ee1c5ad75ef095cdfb909a3244b88aa8, < dc107c805cde709866b59867ef72b9390199205e. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is a critical piece of software that enables the functioning of various devices and services on Linux-based systems. The blk_ia_range_sysfs_show() function is part of the block layer subsystem in the kernel, which handles block devices such as hard drives and SSDs. This vulnerability affects the Linux Kernel versions 5.16 to 5.17.13.

Vulnerability Detail

The vulnerability identified as GSD-2022-1003011 is a potential deadlock in the blk_ia_range_sysfs_show() function. A deadlock occurs when two or more threads or processes are unable to proceed because each is waiting for the other to release a resource. In this case, the potential deadlock arises due to a race condition in the block layer code. If multiple threads attempt to access the same block range simultaneously, it can lead to a situation where each thread is waiting for the other to complete, resulting in a deadlock. This vulnerability has the potential to cause system instability and may lead to a denial-of-service condition.

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. However, users can mitigate the risk by ensuring that only one thread or process accesses the affected block range at a time. This can be achieved by implementing proper synchronization mechanisms, such as locks or semaphores, in the code that interacts with the block layer. It is recommended to consult the Linux Kernel documentation and seek guidance from experienced developers or system administrators for implementing appropriate synchronization techniques.

Conclusion

In conclusion, the potential deadlock vulnerability in blk_ia_range_sysfs_show() in the Linux Kernel can lead to system instability and denial-of-service conditions. It is recommended to update the Linux Kernel to version 5.17.14 or later to fix this vulnerability. Users can also implement proper synchronization mechanisms in their code to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The potential deadlock caused by this vulnerability can lead to system instability and may result in a denial-of-service condition. It can affect the performance and availability of block devices, potentially impacting the overall functioning of the system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any known vulnerabilities, including this one, are found.

No, only Linux Kernel versions 5.16 to 5.17.13 are affected by this vulnerability. The issue was introduced in version 5.16 by commit a2247f19ee1c5ad75ef095cdfb909a3244b88aa8 and fixed in version 5.17.14 by commit dc107c805cde709866b59867ef72b9390199205e.

Yes, the vulnerability has been fixed in Linux Kernel version 5.17.14. Users are advised to update their kernel to this version or later to mitigate the risk.

You can refer to the vulnerability details in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003011.json) for more information about this vulnerability, including the commit references and affected package versions.

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