Vulnerability in Kernel package: serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000638: serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'. Affects Kernel versions < 915452f40e2f495e187276c4407a4f567ec2307e. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for communication between hardware and software. The serial driver in the Kernel package allows communication with serial devices. The 'rp2' module within the serial driver is responsible for handling firmware requests. However, it was discovered that the 'request_firmware_nowait' function was being used instead of the more secure 'request_firmware' function.

Vulnerability Detail

The vulnerability arises from the use of the 'request_firmware_nowait' function in the 'rp2' module of the Kernel package. This function does not wait for the firmware to be loaded, potentially leading to race conditions and other security issues. An attacker could exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial of service. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, the 'request_firmware_nowait' function should be replaced with the 'request_firmware' function. This ensures that the firmware is loaded synchronously, eliminating the possibility of race conditions. The fix for this vulnerability was implemented in Linux Kernel version v5.4.124 by commit 915452f40e2f495e187276c4407a4f567ec2307e.

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 Kernel package is vulnerable to a race condition issue in the 'rp2' module's use of the 'request_firmware_nowait' function. This vulnerability can potentially lead to unauthorized access, code execution, or denial of service. It is recommended to update to Linux Kernel version v5.4.124 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could include unauthorized access, arbitrary code execution, or denial of service.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability.

Yes, the vulnerability has been fixed in Linux Kernel version v5.4.124.

There are no known exploits for this vulnerability at the moment.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, the 'request_firmware_nowait' function should be replaced with the 'request_firmware' function. This ensures that the firmware is loaded synchronously, eliminating the possibility of race conditions. The fix for this vulnerability was implemented in Linux Kernel version v5.4.124 by commit 915452f40e2f495e187276c4407a4f567ec2307e.

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.