← CVE Intelligence

CVE-2025-38608

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 6ba20ff3cdb96a908b9dc93cf247d0b087672e7c; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 849d24dc5aed45ebeb3490df429356739256ac40; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 73fc5d04009d3969ff8e8574f0fd769f04124e59; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 16aca8bb4ad0d8a13c8b6da4007f4e52d53035bb; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 0e853c1464bcf61207f8b5c32d2ac5ee495e859d; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before ee03766d79de0f61ea29ffb6ab1c7b196ea1b02e; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 90d6ef67440cec2a0aad71a0108c8f216437345c; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 1e480387d4b42776f8957fb148af9d75ce93b96d; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 before 178f6a5c8cb3b6be1602de0964cd440243f493c9
Linux / Linuxaffected 5.0; unaffected 0 before 5.0; unaffected 5.4.297 through 5.4.*; unaffected 5.10.241 through 5.10.*; unaffected 5.15.190 through 5.15.*; unaffected 6.1.148 through 6.1.*; unaffected 6.6.102 through 6.6.*; unaffected 6.12.42 through 6.12.*; unaffected 6.15.10 through 6.15.*; unaffected 6.16.1 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.