CVE-2025-39816 Details
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths Since the buffers are mapped from userspace, it is prudent to use READ_ONCE() to read the value into a local variable, and use that for any other actions taken. Having a stable read of the buffer length avoids worrying about it changing after checking, or being read multiple times. Similarly, the buffer may well change in between it being picked and being committed. Ensure the looping for incremental ring buffer commit stops if it hits a zero sized buffer, as no further progress can be made at that point.
A vulnerability in the Linux kernel's io_uring implementation has been addressed. The issue involved improper handling of buffer lengths mapped from userspace, which could lead to inconsistent reads. The vulnerability required ensuring that the buffer length was read safely and stably to prevent changes during processing. Additionally, the mechanism for committing buffers in the ring could overlook zero-sized buffers, halting progress. This vulnerability affects the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/390a61d284e1ced088d43928dfcf6f86fffdd780 | kernel.org | Patch |
| https://git.kernel.org/stable/c/695673eb5711ee5eb1769481cf1503714716a7d1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/91f262ea2a76a02d9e37dba6637cfe6feebb20a8 | kernel.org | |
| https://git.kernel.org/stable/c/98b6fa62c84f2e129161e976a5b9b3cb4ccd117b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12, < 6.12.49 >= 6.13, < 6.16.5 6.17 rc1 6.17 rc2 6.17 rc3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 11, 2026 | CVE Modified | kernel.org |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 25, 2025 | CVE Modified | kernel.org |
| Sep 16, 2025 | New CVE Received | kernel.org |