CVE Catalog

CVE-2025-38730

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel's io_uring/net subsystem, a vulnerability allows ring-provided buffers to be pinned across retries, leading to potential use of invalid pointers or data corruption when buffer groups are shared.

Risk Assessment

An attacker can exploit this vulnerability to corrupt application data or access invalid memory, potentially leading to data integrity breaches.

Recommendation

Apply the Linux kernel patch that disallows pinning ring-provided buffers across retries when ring-provided buffers are used.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: io_uring/net: commit partial buffers on retry Ring provided buffers are potentially only valid within the single execution context in which they were acquired. io_uring deals with this and invalidates them on retry. But on the networking side, if MSG_WAITALL is set, or if the socket is of the streaming type and too little was processed, then it will hang on to the buffer rather than recycle or commit it. This is problematic for two reasons: 1) If someone unregisters the provided buffer ring before a later retry, then the req->buf_list will no longer be valid. 2) If multiple sockers are using the same buffer group, then multiple receives can consume the same memory. This can cause data corruption in the application, as either receive could land in the same userspace buffer. Fix this by disallowing partial retries from pinning a provided buffer across multiple executions, if ring provided buffers are used.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS