Kernel Vulnerability in Linux Package: TCP Timers Deadlock and Use-After-Free Issues

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-22077: In the Linux kernel, the following vulnerability has been resolved: Revert "smb: client: fix TCP timers deadlock after rmmod" This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801. Affects linux versions < 6.12.25-1. Fixed in 6.12.25-1. 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 package is a core component of the Debian operating system, providing essential functionalities for managing hardware and system resources. It is responsible for handling system calls, managing memory, and facilitating communication between software and hardware. This vulnerability affects the Linux kernel's handling of TCP connections, particularly in the context of CIFS (Common Internet File System) connections, leading to potential resource leaks and system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified related to the handling of TCP timers after module unloading. The issue arises from a reverted commit intended to fix a null pointer dereference in LOCKDEP, which did not resolve the underlying problem. Instead, it reintroduced a use-after-free condition by reviving the kernel TCP socket without proper management of its state. This can lead to leaked sockets and potential denial of service if a FIN packet is lost during a connection's termination process.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned to mitigate this vulnerability. It is strongly recommended to apply the patch as soon as it is available.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks related to TCP connection management, particularly for CIFS. Users are advised to update their systems promptly to the patched version to ensure stability and security. Regular monitoring using tools like Vulert can help in identifying and managing such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a deadlock in TCP timers and a use-after-free condition in the Linux kernel, specifically affecting CIFS connections.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If exploited, this vulnerability could lead to resource leaks, system instability, and denial of service due to leaked TCP sockets.

Yes, a patch is available in version 6.12.25-1 of the Linux package. Users should update to this version or later.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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