CVE-2025-38608

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

8.6 high EPSS 0.47%

Published 19 Aug 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-38608

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38608 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

8.6 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 6ba20ff3cdb96a908b9dc93cf247d0b087672e7c
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 849d24dc5aed45ebeb3490df429356739256ac40
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 73fc5d04009d3969ff8e8574f0fd769f04124e59
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 0e853c1464bcf61207f8b5c32d2ac5ee495e859d
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 90d6ef67440cec2a0aad71a0108c8f216437345c
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 1e480387d4b42776f8957fb148af9d75ce93b96d
affected from 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, before 178f6a5c8cb3b6be1602de0964cd440243f493c9
Other versions: unaffected
Linux
affected 5.0
unaffected before 5.0
unaffected from 5.4.297 up to and including 5.4.*
unaffected from 5.10.241 up to and including 5.10.*
unaffected from 5.15.190 up to and including 5.15.*
unaffected from 6.1.148 up to and including 6.1.*
unaffected from 6.6.102 up to and including 6.6.*
unaffected from 6.12.42 up to and including 6.12.*
unaffected from 6.15.10 up to and including 6.15.*
unaffected from 6.16.1 up to and including 6.16.*
unaffected 6.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38608 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38608

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38608
trivy image --scanners vuln IMAGE | grep CVE-2025-38608

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38608 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.