Vulnerability in Kernel: Disallow Extremely Large seq Buffer Allocations

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001261: seq_file: disallow extremely large seq buffer allocations. Affects Kernel versions >= 058504edd02667eef8fac9be27ab3ea74332e9b4, < 174c34d9cda1b5818419b8f5a332ced10755e52f. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a fundamental component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's seq_file module, which is responsible for handling sequential file access. This module allows users to read data from files in a sequential manner. However, it has been discovered that the seq_file module allows for the allocation of extremely large seq buffers, which can lead to potential security vulnerabilities.

Vulnerability Detail

The vulnerability arises from the seq_file module's failure to restrict the allocation of excessively large seq buffers. An attacker could exploit this by allocating a large buffer, potentially causing a denial-of-service (DoS) condition or triggering a buffer overflow. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.10.52 by commit 174c34d9cda1b5818419b8f5a332ced10755e52f. However, it was introduced in version v3.16 by commit 058504edd02667eef8fac9be27ab3ea74332e9b4.

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 →

Conclusion

In conclusion, the vulnerability in the Kernel's seq_file module allows for the allocation of extremely large seq buffers, potentially leading to a denial-of-service (DoS) condition or a buffer overflow. It is crucial to update the Linux Kernel to version v5.10.52 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The seq_file module in the Kernel is responsible for handling sequential file access. It allows users to read data from files in a sequential manner, providing an interface for iterating over the contents of a file.

If exploited, this vulnerability could lead to a denial-of-service (DoS) condition or a buffer overflow. However, the actual impact and attack plausibility have not been proven yet.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

Yes, this vulnerability has been fixed in Linux Kernel version v5.10.52 by commit 174c34d9cda1b5818419b8f5a332ced10755e52f.

To fix this vulnerability, you should update the Linux Kernel to version v5.10.52 or later. Obtain the latest stable version of the Kernel from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and follow the installation instructions provided.

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