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

UVI-2021-1001351: seq_buf: Fix overflow in seq_buf_putmem_hex(). Affects Kernel versions >= 5e3ca0ec76fce92daa4eed0d02de9c79b1fe3920, < 33ab9138a13e379cf1c4ccd76b97ae2ee8c5421b. 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 Kernel is a fundamental 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 enables the execution of user programs. The seq_buf_putmem_hex() function is a part of the seq_buf API in the Kernel, which is used for sequential buffer handling. This vulnerability specifically affects the seq_buf_putmem_hex() function, leading to a potential overflow.

Vulnerability Detail

The seq_buf_putmem_hex() function in the Kernel is vulnerable to an overflow issue. This vulnerability allows an attacker to overwrite adjacent memory locations, potentially leading to memory corruption, crashes, or even remote code execution. The vulnerability was introduced in version v2.6.27 of the Kernel and was fixed in version v5.4.133. 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 mentioned for this vulnerability.

Conclusion

In conclusion, the seq_buf_putmem_hex() function in the Kernel is vulnerable to an overflow issue. It is recommended to update the Linux Kernel to version v5.4.133 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The seq_buf API in the Kernel provides functions for handling sequential buffers. It allows efficient appending of data to a buffer and provides methods for reading and writing data in a sequential manner.

The overflow vulnerability in seq_buf_putmem_hex() can potentially lead to memory corruption, crashes, or remote code execution. However, the actual impact and attack plausibility have not been proven yet.

This vulnerability was introduced in version v2.6.27 of the Kernel and affects all versions up to v5.4.132. It has been fixed in version v5.4.133.

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

You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is UVI-2021-1001351.

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