CVE-2025-39816

CVE-2025-39816

Medium · published September 16, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Published
2025-09-16T17:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernelall versions—
linux/linux_kernel≥ 6.12, < 6.12.496.12.49
linux/linux_kernel≥ 6.13, < 6.16.56.16.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 16 SEP 13:00Z
    io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths
    cvelistv5