watch_queue: Free the page array when watch_queue is dismantled in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001431: watch_queue: Free the page array when watch_queue is dismantled. Affects Kernel versions >= c73be61cede5882f9605a852414db559c0ebedfd, < 3963a5d1ff75585bddf0c3a918566a6be09d7520. 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 Penetration testing for web, API and mobile 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 is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential services and manages system resources. The watch_queue is a data structure used in the Kernel to track page watches. It maintains an array of pages that are being monitored for changes. However, a vulnerability has been discovered in the watch_queue implementation that can lead to memory leaks and potential security risks.

Vulnerability Detail

The vulnerability in the watch_queue arises from a failure to free the page array when the watch_queue is dismantled. This can result in memory leaks, where allocated memory is not properly released, leading to resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability to exhaust system resources, causing instability or crashes. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.16.19.

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 provided for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.

Conclusion

The watch_queue vulnerability in the Linux Kernel can lead to memory leaks and potential denial-of-service attacks. It is crucial to update the Kernel to version v5.16.19 or later to fix this issue. Failure to address this vulnerability may result in resource exhaustion and system instability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks and potential denial-of-service attacks by exhausting system resources.

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 alert you if the vulnerability is present.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to update the Kernel to the fixed version to mitigate any potential risks.

No, this vulnerability requires local access to the system. However, it is still important to address the issue to prevent potential attacks from within the system.

This vulnerability specifically affects the Linux Kernel. However, it is always recommended to keep all software and dependencies up to date to ensure overall system security.

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