Critical Vulnerability in Linux Kernel: Invalid Wait Context in Watchdog Driver

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49383: In the Linux kernel, the following vulnerability has been resolved: watchdog: rzg2l_wdt: Fix 'BUG: Invalid wait context' This patch fixes the issue 'BUG: Invalid wait context' during restart() callback by using clk_prepa... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resources. The watchdog driver, specifically for the Renesas RZG2L platform, is responsible for monitoring system health and ensuring that the system can recover from failures. This vulnerability affects the stability and reliability of systems using this driver, particularly when configured with renesas_defconfig.

Vulnerability Detail

The vulnerability, identified as CVE-2022-49383, arises from an improper handling of clock management during the restart process in the rzg2l_wdt watchdog driver. The issue manifests as a 'BUG: Invalid wait context' error, which can lead to system instability and potential crashes. This occurs when the system attempts to lock resources while in an invalid context, specifically during the execution of the restart() callback. The problem was traced back to the use of pm_runtime_get_sync() for clock management, which is not suitable in this context.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

CVE-2022-49383 is a significant vulnerability in the Linux kernel's watchdog driver that can compromise system stability. Users are strongly advised to update to the patched version to ensure their systems remain secure and reliable. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49383 is a vulnerability in the Linux kernel's watchdog driver that can cause system instability due to an invalid wait context during the restart process.

This vulnerability can lead to system crashes or instability when the watchdog driver attempts to restart the system, potentially affecting system reliability.

If you are using a version of the Linux kernel prior to 5.18.5-1, particularly with the rzg2l_wdt watchdog driver, your system may be vulnerable.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing your manifest file. Visit Vulert Scanner to check for vulnerabilities without needing to sign up.

While there are no specific workarounds, it is crucial to plan for an update to the patched version as soon as possible to mitigate risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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