Overflow Vulnerability in seq_buf_putmem_hex() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001486: seq_buf: Fix overflow in seq_buf_putmem_hex(). Affects Kernel versions >= 5e3ca0ec76fce92daa4eed0d02de9c79b1fe3920, < 7ad5c2f4dff68a00d24f0692e027b99c7231b995. 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 is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The seq_buf_putmem_hex() function is part of the seq_buf module in the Kernel, which is responsible for handling sequential buffers. Sequential buffers are used to store and manipulate data in a sequential manner.

The seq_buf_putmem_hex() function is vulnerable to an overflow issue, which can be exploited by an attacker to overwrite adjacent memory locations. This vulnerability was introduced in version v2.6.27 of the Kernel and has been present until version v4.4.276. The impact and attack plausibility of this vulnerability have not been proven yet.

Vulnerability Detail

The seq_buf_putmem_hex() function in the Kernel is vulnerable to an overflow issue. When processing a large amount of data, the function does not properly check the size of the buffer, leading to a buffer overflow. An attacker can exploit this vulnerability by providing specially crafted input, causing the function to write beyond the allocated memory.

The consequences of this vulnerability can vary depending on the context in which the Kernel is used. In certain scenarios, an attacker may be able to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. However, the actual impact and attack vectors need further investigation and validation.

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 apply patches or backports provided by the Linux distribution they are using. These patches may contain specific fixes for the overflow issue in seq_buf_putmem_hex(). It is important to follow the instructions provided by the distribution's security advisories or consult with the distribution's support channels for guidance on applying the necessary patches.

Conclusion

The overflow vulnerability in seq_buf_putmem_hex() in the Kernel can potentially lead to serious security implications. It is crucial to update the Kernel to the latest stable version to ensure that the vulnerability is patched. Applying patches or backports provided by the Linux distribution can also mitigate the risk. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the context in which the Kernel is used. In certain scenarios, an attacker may be able to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. However, the actual impact and attack vectors need further investigation and validation.

You can use tools like Vulert 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. You can visit the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.

Yes, users can apply patches or backports provided by their Linux distribution to mitigate the vulnerability. It is recommended to follow the instructions provided by the distribution's security advisories or consult with the distribution's support channels for guidance on applying the necessary patches.

To fix this vulnerability, it is recommended to update the Kernel to version v4.4.276 or later. You can obtain the latest stable version of the Kernel from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/. Follow the instructions provided by the repository to update your Kernel.

You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2021-1001486. You can access the details of this vulnerability at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001486.json.

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