Data Corruption Vulnerability in Linux Kernel's BPF with KTLS - CVE-2025-38608

linux Updated 02 Oct 2025

Summary

19/08/2025
N/A
No i
Unrated
Not published

CVE-2025-38608: In the Linux kernel, the following vulnerability has been resolved: bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls When sending plaintext data, we initially calculated the corresponding ciphertext l... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 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 supports various functionalities, including process management, memory management, and device control. The kernel is crucial for system stability and performance, but vulnerabilities can lead to severe security risks. This specific vulnerability affects the kernel's BPF (Berkeley Packet Filter) and KTLS (Kernel TLS) functionalities, which are used for secure data transmission over networks.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the BPF and KTLS components, specifically related to the function bpf_msg_pop_data(). When sending plaintext data, the system initially calculates the corresponding ciphertext length. However, if the plaintext data length is later reduced via socket policy, the system fails to recalculate the ciphertext length. This oversight results in transmitting buffers that contain uninitialized data during ciphertext transmission. Consequently, uninitialized bytes may be appended after a complete 'Application Data' packet, leading to errors on the receiving end when parsing TLS records. This vulnerability can potentially expose sensitive data and disrupt secure communications.

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 measure, users can mitigate the risk by avoiding the use of BPF with KTLS for sensitive data transmissions until the patch is applied. Additionally, monitoring network traffic for anomalies may help identify any potential exploitation attempts.

Conclusion

CVE-2025-38608 represents a significant vulnerability in the Linux kernel that can lead to data corruption during secure transmissions. It is crucial for users to update their systems to the latest patched version to mitigate the risks associated with this vulnerability. Understanding and addressing such vulnerabilities is essential for maintaining secure and reliable systems.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38608 is a vulnerability in the Linux kernel's BPF and KTLS functionalities that can lead to data corruption during secure data transmission.

This vulnerability can result in the transmission of uninitialized data, potentially exposing sensitive information and causing errors in secure communications.

Yes, a patch is available. Users should update their Linux package to the latest version to ensure they have the fix.

If immediate updates are not possible, consider avoiding the use of BPF with KTLS for sensitive data and monitor network traffic for any unusual activity.

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

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