Buffer Copy Overflow Vulnerability in erofs

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003101: erofs: fix buffer copy overflow of ztailpacking feature. Affects Kernel versions >= ab749badf9f41f32509cd103391b81ea7e684b76, < 4d53a625f29074e7b8236c2c0e0922edb7608df9. 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 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 erofs package is a component of the Linux Kernel, which is responsible for managing the file system. It provides support for the Enhanced Read-Only File System (erofs) in Linux. The erofs file system is designed to optimize storage efficiency and reduce memory consumption. However, a vulnerability has been discovered in the ztailpacking feature of erofs, which can lead to a buffer copy overflow.

Vulnerability Detail

The buffer copy overflow vulnerability in the ztailpacking feature of erofs allows an attacker to overwrite adjacent memory locations beyond the intended buffer boundaries. This can result in the corruption of sensitive data, execution of arbitrary code, or a system crash. The vulnerability was introduced in version v5.17 of the Linux Kernel and was fixed in version v5.17.14.

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 known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The buffer copy overflow vulnerability in the ztailpacking feature of erofs can have severe consequences, including data corruption, code execution, or system crashes. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The buffer copy overflow vulnerability in erofs can lead to the corruption of sensitive data, execution of arbitrary code, or a system crash.

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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to update the Linux Kernel to the fixed version to prevent any potential attacks.

Yes, this vulnerability can be exploited remotely if an attacker can send malicious input to the affected system.

For more details about this vulnerability, you can refer to the source link provided in the vulnerability details section of this report.

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