CVE-2025-38608 bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
A flaw in the Linux kernel's kTLS implementation allows uninitialized memory to be transmitted, potentially leaking sensitive data to remote attackers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38608?
CVE-2025-38608 is a high-severity vulnerability in Debian Debian Linux, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-908
Which versions are affected by CVE-2025-38608?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38608?
Apply the vendor's patch.
Is CVE-2025-38608 being exploited?
There is no known exploitation of CVE-2025-38608 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-66461, AZL-73602, BELL-CVE-2025-38608, DEBIAN-CVE-2025-38608, GHSA-j92m-g7g3-p573, ROOT-OS-DEBIAN-11-CVE-2025-38608 and 4 more.