CVE-2025-38608 json
bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
published 2025-08-19 14 mo ago modified 2026-10-15 24 d ago also EUVD-2025-26091
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.297, 5.10.241, 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
- linux Debian 12 6.1.148-1
- linux Debian 13 6.12.43-1
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38608
- linux Ubuntu 22.04 LTS 5.15.0-163.173
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 22.04 LTS 5.15.0-1097.104
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1097.106
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 22.04 LTS 5.15.0-1093.99
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
ubuntu advisories UBUNTU-CVE-2025-38608
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-livepatch-SLE16_Update_0 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 5-160000.4.3
- kernel-livepatch-SLE16-RT_Update_0 Linux Micro 6.2 4-160000.3.4
- kernel-livepatch-MICRO-6-0_Update_6 Linux Micro 6.1, Linux Micro 6.0 11-3.1
- kernel-livepatch-MICRO-6-0-RT_Update_4 Linux Micro 6.1, Linux Micro 6.0 14-1.1
- kernel-livepatch-MICRO-6-0-RT_Update_11 Linux Micro 6.1, Linux Micro 6.0 5-1.1
- kernel-livepatch-MICRO-6-0_Update_4 Linux Micro 6.0 15-1.2
- kernel-livepatch-MICRO-6-0_Update_5 Linux Micro 6.0 13-1.2
- kernel-livepatch-MICRO-6-0_Update_7 Linux Micro 6.0 10-1.2
suse advisories SUSE-SU-2026:20149-1SUSE-SU-2026:20169-1SUSE-SU-2026:20164-1SUSE-SU-2026:0284-1SUSE-SU-2026:0283-1SUSE-SU-2026:0274-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.6.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.6.1
opensuse advisories openSUSE-SU-2025:20081-1
- kernel Azure Linux 3.0 6.6.104.2-1
- kernel CBL-Mariner 2.0 5.15.200.1-1
azure linux advisories AZL-66461AZL-73602
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/6ba20ff3cdb96a908b9dc93cf247d0b087672e7c commit
- git.kernel.org/stable/c/849d24dc5aed45ebeb3490df429356739256ac40 commit
- git.kernel.org/stable/c/73fc5d04009d3969ff8e8574f0fd769f04124e59 commit
- git.kernel.org/stable/c/16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb commit
- git.kernel.org/stable/c/0e853c1464bcf61207f8b5c32d2ac5ee495e859d commit
- git.kernel.org/stable/c/ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e commit
- git.kernel.org/stable/c/90d6ef67440cec2a0aad71a0108c8f216437345c commit
- git.kernel.org/stable/c/1e480387d4b42776f8957fb148af9d75ce93b96d commit
- git.kernel.org/stable/c/178f6a5c8cb3b6be1602de0964cd440243f493c9 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38608 updated cvss 4.4
kernel: Linux kernel kTLS: Denial of Service from uninitialized data transmission
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 24 d ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
- Technology feeds
References
-
git.kernel.org
/stable/c/6ba20ff3cdb96a908b9dc93cf247d0b087672e7c
patch
-
git.kernel.org
/stable/c/849d24dc5aed45ebeb3490df429356739256ac40
patch
-
git.kernel.org
/stable/c/73fc5d04009d3969ff8e8574f0fd769f04124e59
patch
-
git.kernel.org
/stable/c/16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb
patch
-
git.kernel.org
/stable/c/0e853c1464bcf61207f8b5c32d2ac5ee495e859d
patch
-
git.kernel.org
/stable/c/ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e
patch
-
git.kernel.org
/stable/c/90d6ef67440cec2a0aad71a0108c8f216437345c
patch
-
git.kernel.org
/stable/c/1e480387d4b42776f8957fb148af9d75ce93b96d
patch
-
git.kernel.org
/stable/c/178f6a5c8cb3b6be1602de0964cd440243f493c9
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/10/msg00007.html
third-party-advisory
Sources
- CVE List CVE-2025-38608
- NVD CVE-2025-38608
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.