CVE-2025-39816
Last modified
CVE-2025-39816 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.49 | — |
| Linux | Linux Kernel | >= 6.13, < 6.16.5 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39816?
How severe is CVE-2025-39816?
How do I fix CVE-2025-39816?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39810In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39811In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39812In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39813In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-39814In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39815In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39817In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39818In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39819In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3982A vulnerability, which was classified as problematic, was fo…8.8
- CVE-2025-39820In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39821In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-39816?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
