CVE-2025-38608 Information

Description

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.

Reference

https://git.kernel.org/stable/c/0e853c1464bcf61207f8b5c32d2ac5ee495e859d https://git.kernel.org/stable/c/16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb https://git.kernel.org/stable/c/178f6a5c8cb3b6be1602de0964cd440243f493c9 https://git.kernel.org/stable/c/1e480387d4b42776f8957fb148af9d75ce93b96d https://git.kernel.org/stable/c/90d6ef67440cec2a0aad71a0108c8f216437345c https://git.kernel.org/stable/c/ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e

CNNVD-202508-2173 (Published: 2025-08-19)

Share on: