Linux Kernel Vulnerability: Use-After-Free in vcs_write() Function

linux Updated 19 Oct 2026

Summary

18/10/2026
N/A
No i
Unrated
Not published

DEBIAN-CVE-2026-98840: In the Linux kernel, the following vulnerability has been resolved: vc_screen: reload vc pointer before if (ret) in vcs_write() to avoid UAF The reload of 'vc' added by commit 8fb9ea65c9d1 ("vc_screen: reload load of str... Affects linux versions 6.1.106-1 – 7.3~rc7-1~exp1. 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 Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system and is critical for system stability and security. This vulnerability affects the Linux package in Debian distributions, specifically in the vcs_write() function, which handles virtual console operations.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the vcs_write() function related to a use-after-free (UAF) condition. The issue arises when the 'vc' pointer is not reloaded properly after a copy failure, leading to a situation where a stale pointer may be used after the memory it points to has been freed. This can result in reading from freed memory, potentially causing system crashes or arbitrary code execution. The vulnerability was introduced by a commit that aimed to fix a null pointer dereference but inadvertently created a new issue.

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 temporary workaround, ensure that your system is not using the affected functionality until the package can be updated. Monitor system logs for any unusual behavior that may indicate exploitation attempts.

Conclusion

The identified vulnerability in the Linux kernel's vcs_write() function poses significant risks, including potential system crashes and unauthorized access. It is crucial for users to update their systems to the patched versions as soon as possible to mitigate these risks. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed, potentially leading to crashes or security breaches.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Exploitation of this vulnerability could lead to system crashes, data corruption, or unauthorized access to system resources.

Yes, patched versions of the Linux package are available for Debian 13 and 14. Please refer to the 'how to fix' section for details.

If immediate updates are not possible, consider implementing temporary workarounds and closely monitoring your system for any signs of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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