{"id":"CVE-2025-38608","aliases":["CVE-2025-38608"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls\n\nWhen sending plaintext data, we initially calculated the corresponding\nciphertext length. However, if we later reduced the plaintext data length\nvia socket policy, we failed to recalculate the ciphertext length.\n\nThis results in transmitting buffers containing uninitialized data during\nciphertext transmission.\n\nThis causes uninitialized bytes to be appended after a complete\n\"Application Data\" packet, leading to errors on the receiving end when\nparsing TLS record.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls\n\nWhen sending plaintext data, we initially calculated the corresponding\nciphertext length. However, if we later reduced the plaintext data length\nvia socket policy, we failed to recalculate the ciphertext length.\n\nThis results in transmitting buffers containing uninitialized data during\nciphertext transmission.\n\nThis causes uninitialized bytes to be appended after a complete\n\"Application Data\" packet, leading to errors on the receiving end when\nparsing TLS record.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf, ktls: Se corrige la corrupción de datos al usar bpf_msg_pop_data() en ktls. Al enviar datos de texto plano, inicialmente se calculaba la longitud del texto cifrado correspondiente. Sin embargo, si posteriormente se reducía la longitud de los datos de texto plano mediante la política de socket, no se podía recalcular la longitud del texto cifrado. Esto provoca que se transmitan búferes con datos sin inicializar durante la transmisión del texto cifrado. Esto provoca que se añadan bytes sin inicializar después de un paquete completo de \"Datos de Aplicación\", lo que genera errores en el receptor al analizar el registro TLS.","source":"nvd"}],"published":"2025-08-19T17:03:51.688Z","modified":"2026-10-15T22:18:47.043Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"6ba20ff3cdb96a908b9dc93cf247d0b087672e7c","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"849d24dc5aed45ebeb3490df429356739256ac40","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"73fc5d04009d3969ff8e8574f0fd769f04124e59","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"0e853c1464bcf61207f8b5c32d2ac5ee495e859d","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"90d6ef67440cec2a0aad71a0108c8f216437345c","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"1e480387d4b42776f8957fb148af9d75ce93b96d","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"178f6a5c8cb3b6be1602de0964cd440243f493c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6ba20ff3cdb96a908b9dc93cf247d0b087672e7c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/849d24dc5aed45ebeb3490df429356739256ac40","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73fc5d04009d3969ff8e8574f0fd769f04124e59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e853c1464bcf61207f8b5c32d2ac5ee495e859d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90d6ef67440cec2a0aad71a0108c8f216437345c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e480387d4b42776f8957fb148af9d75ce93b96d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/178f6a5c8cb3b6be1602de0964cd440243f493c9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:52:13.300Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38608","url":"https://www.cve.org/CVERecord?id=CVE-2025-38608","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:26.621Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38608","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38608","licence":"Public domain","modified":"2026-10-15T22:18:47.043Z"}],"updatedAt":"2026-11-25T22:59:02.769Z","epss":{"score":0.0047,"percentile":0.42289,"date":"2026-12-01T12:00:22.000Z"}}