Use-After-Free Vulnerability in Linux Kernel tcp Module

linux Updated 02 Oct 2025

Summary

14/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-27394: In the Linux kernel, the following vulnerability has been resolved: tcp: Fix Use-After-Free in tcp_ao_connect_init Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal of tcp_ao_connect_init, is not... Affects linux versions < 6.8.9-1. Fixed in 6.8.9-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It is known for its robustness and flexibility, supporting a wide range of devices and architectures. However, like any complex software, it is susceptible to vulnerabilities. The specific issue at hand involves the tcp module, which manages TCP connections and ensures reliable data transmission over networks. This vulnerability can lead to severe security risks if not addressed promptly.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the tcp_ao_connect_init function. This issue arises because the call_rcu function, which is invoked during the hlist_for_each_entry_rcu traversal, is not part of the RCU read critical section. Consequently, there is a risk that the RCU grace period may expire during the traversal, leading to the potential freeing of the key. If exploited, this vulnerability could allow an attacker to execute arbitrary code or cause a denial of service, severely compromising system integrity.

How To Fix

Minimum fixed version

6.8.9-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 provided for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

The identified use-after-free vulnerability in the Linux kernel's tcp module poses significant security risks. It is essential for users to update their systems to the patched version 6.8.9-1 to safeguard against potential exploits. Regular monitoring and timely updates are critical in maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to arbitrary code execution or crashes.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without any signup.

Exploitation of this vulnerability could allow attackers to execute arbitrary code or cause a denial of service, compromising the security and stability of the affected system.

Yes, this vulnerability affects specific versions of the Linux kernel, particularly those prior to the fixed version 6.8.9-1.

While there are no specific workarounds, it is crucial to prioritize updating your kernel 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.8.9-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