CVE-2025-39816
MEDIUMLinux Kernel 6.12-6.12.48, 6.13-6.16.4 - Use-After-Free in io_uring/kbuf Buffer Length Handling
Title source: llmDescription
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.
References (4)
Core 4
Core References
Scores
CVSS v3
5.5
EPSS
0.0014
EPSS Percentile
3.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
Status
published
Products (14)
linux/Kernel
6.12.0 - 6.12.49linux
linux/Kernel
6.13.0 - 6.16.5linux
Linux/Linux
< 6.12
Linux/Linux
6.12
Linux/Linux
6.12.49 - 6.12.*
Linux/Linux
6.12.81 - 6.12.*
Linux/Linux
6.16.5 - 6.16.*
Linux/Linux
6.17
Linux/Linux
ae98dbf43d755b4e111fcd086e53939bef3e9a1a - 390a61d284e1ced088d43928dfcf6f86fffdd780
Linux/Linux
ae98dbf43d755b4e111fcd086e53939bef3e9a1a - 695673eb5711ee5eb1769481cf1503714716a7d1
... and 4 more
Published
Sep 16, 2025
Tracked Since
Feb 18, 2026