Memory Leak Vulnerability in Linux Kernel tty: serial: 8250: serial_cs

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001277: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path. Affects Kernel versions < 7a80f71601af015856a0aeb1e3c294037ac3dd32. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. The tty subsystem in the Linux Kernel handles terminal input and output, including serial communication. The 8250 serial driver (serial_cs) is a module within the tty subsystem that provides support for serial devices using the 8250 UART controller. This vulnerability specifically affects the serial_cs module in the Linux Kernel.

Vulnerability Detail

The vulnerability in the serial_cs module of the Linux Kernel is related to a memory leak in the error handling path. When certain error conditions occur during serial communication, memory allocated for the serial_cs module is not properly freed, leading to a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory resources, resulting in a denial-of-service (DoS) condition. 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

The memory leak vulnerability in the serial_cs module of the Linux Kernel can be mitigated by updating to the latest version of the Linux Kernel. It is important to regularly apply security updates and patches to ensure the overall security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to a denial-of-service (DoS) condition by exhausting system memory resources.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your manifest file (e.g., package-lock.json) and provides real-time alerts for open-source vulnerabilities.

There is no known exploit for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate any potential risks.

The recommended mitigation for this vulnerability is to update the Linux Kernel to the latest version that includes the fix. Regularly applying security updates and patches is crucial for maintaining the security of your system.

You can refer to the vulnerability details in the Open Source Vulnerability format provided by the Cloud Security Alliance's GSD database. The vulnerability ID is GSD-2021-1001277.

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