CVE Catalog

CVE-2025-39822

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

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

Summary

In the Linux kernel, in the io_uring/kbuf subsystem, when importing and using buffers, buf->len is considered unsigned, but it is converted to signed int when committing. This can lead to unexpected behavior if the buffer is large enough to be interpreted as a negative value. The fix makes the min_t calculation unsigned.

Risk Assessment

This may lead to incorrect buffer length calculation and potential memory issues such as overwrite or out-of-bounds read. Exploitation requires local access and use of the io_uring interface.

Recommendation

Update the Linux kernel to a version containing the fix. Restrict access to the io_uring interface for untrusted users if possible.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: fix signedness in this_len calculation When importing and using buffers, buf->len is considered unsigned. However, buf->len is converted to signed int when committing. This can lead to unexpected behavior if the buffer is large enough to be interpreted as a negative value. Make min_t calculation unsigned.

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