Read Out-of-Bounds Vulnerability in ubifs

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001440: ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock(). Affects Kernel versions >= 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d, < e09fa5318d51f522e1af4fbaf8f74999355980c8. 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 ubifs package is a file system designed for use on flash devices. It is commonly used in embedded systems and provides features such as compression, encryption, and wear-leveling. The vulnerability in ubifs_wbuf_write_nolock() function allows an attacker to read out-of-bounds memory, potentially leading to information disclosure or privilege escalation.

Vulnerability Detail

The vulnerability originates from a read out-of-bounds issue in the ubifs_wbuf_write_nolock() function. This function is responsible for writing data to the write buffer in the ubifs file system. By providing specially crafted input, an attacker can trigger a read operation that goes beyond the bounds of the intended memory region. This can result in the leakage of sensitive information or the manipulation of critical data structures, leading to a compromise of the system's security.

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

As a workaround, users can disable the use of the ubifs file system or switch to an alternative file system until the updated kernel is available. However, this may not be feasible in all cases, especially for systems heavily reliant on ubifs. It is strongly recommended to apply the official patch as soon as possible.

Conclusion

The read out-of-bounds vulnerability in ubifs can have serious security implications, potentially leading to information disclosure or privilege escalation. It is crucial to update the Linux Kernel to the recommended version or apply the official patch as soon as possible. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ubifs is a file system designed for use on flash devices, providing features such as compression, encryption, and wear-leveling.

The vulnerability allows an attacker to read out-of-bounds memory, potentially leading to information disclosure or privilege escalation.

To fix this vulnerability, update the Linux Kernel to version v5.16.19 or later, which includes the necessary patch.

As a temporary workaround, users can disable the use of ubifs or switch to an alternative file system until the updated kernel is available.

The updated kernel can be obtained from the official Linux Kernel repository.

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