Buffer Overflow in ocfs2 Mount Fails with strlen

Kernel Updated 02 Oct 2025

Summary

28/10/2021
N/A
No i
Unrated
Not published

UVI-2021-1001805: ocfs2: mount fails with buffer overflow in strlen. Affects Kernel versions < 7623b1035ca2d17bde0f6a086ad6844a34648df1. 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 ocfs2 package is a file system implemented in the Linux Kernel. It is designed for use in cluster environments, providing shared storage capabilities. The package allows multiple nodes to access the same file system simultaneously. However, a vulnerability has been discovered in ocfs2 that can lead to a buffer overflow when mounting the file system.

Vulnerability Detail

The vulnerability in ocfs2 is caused by a buffer overflow in the strlen function. When processing certain input, the strlen function does not properly check the length of the input string, leading to a buffer overflow. This can potentially be exploited by an attacker to 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.

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. Users are advised to update their Linux Kernel to the fixed version.

Conclusion

The ocfs2 package in the Linux Kernel is vulnerable to a buffer overflow in the strlen function. Users should update their Linux Kernel to version v4.19.214 or later to fix the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ocfs2 is a file system implemented in the Linux Kernel, designed for use in cluster environments to provide shared storage capabilities.

A buffer overflow is a vulnerability that occurs when a program writes more data into a buffer than it can hold, leading to overwriting adjacent memory locations.

The impact of this vulnerability can vary depending on the attacker's capabilities. It could potentially allow an attacker to execute arbitrary code or cause a denial of service.

There is no information available regarding exploitation of this vulnerability in the wild.

You can use Vulert's playground at Vulert 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.

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