Vulnerability in Kernel package: ubifs: Fix to add refcount once page is set private

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001438: ubifs: Fix to add refcount once page is set private. Affects Kernel versions >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < 5aaa2c0f0052b02c4a982993d4c5bb68fb7cbe22. 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 various hardware devices, file systems, and system services. The ubifs module within the Kernel package is responsible for handling the UBIFS file system, which is commonly used in embedded systems. This vulnerability affects the ubifs module and its interaction with page refcounting.

Vulnerability Detail

The vulnerability arises from a missing refcount increment in the ubifs module when a page is set as private. This can lead to a use-after-free scenario, where a page may be accessed after it has been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v2.6.27 of the Linux Kernel and has been fixed in version v5.16.19.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.16.19 or later. This can be done by obtaining the latest version from the official Linux Kernel repository and following the installation instructions provided. It is important to ensure that the updated Kernel package is compatible with the specific Linux distribution being used.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Kernel package is not immediately feasible, a possible workaround is to disable the use of the ubifs module or switch to an alternative file system until the package can be updated. However, this workaround may impact the functionality or performance of the system, and it is strongly advised to prioritize the installation of the updated Kernel package.

Conclusion

The vulnerability in the Kernel package's ubifs module can lead to a use-after-free scenario, potentially enabling arbitrary code execution or denial-of-service attacks. It is crucial to update the Kernel package to version v5.16.19 or later to mitigate this vulnerability. If immediate updating is not possible, disabling the ubifs module or switching to an alternative file system can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.

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

Yes, a temporary workaround is to disable the ubifs module or switch to an alternative file system. However, it is strongly recommended to prioritize the installation of the updated Kernel package as soon as possible.

You can refer to the vulnerability details in the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001438.json for more information about this vulnerability, including its timeline and affected versions.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.16.19 or later. This can be done by obtaining the latest version from the official Linux Kernel repository and following the installation instructions provided. It is important to ensure that the updated Kernel package is compatible with the specific Linux distribution being used.

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.