CVE-2025-38608

published 19 Aug 2025 · updated 15 Oct 2026

bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls

8.6HighCVSS 8.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e853c1464bcf61207f8b5c32d2ac5ee495e859d, Kernel 16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb, Kernel 178f6a5c8cb3b6be1602de0964cd440243f493c9 and 6 more.

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 length. However, if we later reduced the plaintext data length via socket policy, we failed to recalculate the ciphertext length. This results in transmitting buffers containing uninitialized data during ciphertext transmission. This causes uninitialized bytes to be appended after a complete "Application Data" packet, leading to errors on the receiving end when parsing TLS record.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <0e853c1464bcf61207f8b5c32d2ac5ee495e859d, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <178f6a5c8cb3b6be1602de0964cd440243f493c9, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <1e480387d4b42776f8957fb148af9d75ce93b96d, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <6ba20ff3cdb96a908b9dc93cf247d0b087672e7c, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <73fc5d04009d3969ff8e8574f0fd769f04124e59, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <849d24dc5aed45ebeb3490df429356739256ac40, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <90d6ef67440cec2a0aad71a0108c8f216437345c, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e0e853c1464bcf61207f8b5c32d2ac5ee495e859d, 16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb, 178f6a5c8cb3b6be1602de0964cd440243f493c9, 1e480387d4b42776f8957fb148af9d75ce93b96d, 6ba20ff3cdb96a908b9dc93cf247d0b087672e7c, 73fc5d04009d3969ff8e8574f0fd769f04124e59, 849d24dc5aed45ebeb3490df429356739256ac40, 90d6ef67440cec2a0aad71a0108c8f216437345c, ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38608 severity on Zeptric[![CVE-2025-38608](https://zeptric.io/badge/cve/CVE-2025-38608.svg)](https://zeptric.io/cve/CVE-2025-38608)