CVE-2025-40267: io_uring/rw: ensure allocated iovec gets cleared for early failure
In the Linux kernel, the following vulnerability has been resolved:
iouring/rw: ensure allocated iovec gets cleared for early failure
A previous commit reused the recyling infrastructure for early cleanup, but this is not enough for the case where our internal caches have overflowed. If this happens, then the allocated iovec can get leaked if the request is also aborted early.
Reinstate the previous forced free of the iovec for that situation.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40267?
CVE-2025-40267 has a severity rating classified as medium due to potential security impacts related to the Linux kernel's io_uring functionality.
How do I fix CVE-2025-40267?
To resolve CVE-2025-40267, update the Linux kernel to the latest stable version where the vulnerability has been patched.
What software is affected by CVE-2025-40267?
CVE-2025-40267 affects the Linux kernel in versions prior to the patch implementation.
What does CVE-2025-40267 exploit?
CVE-2025-40267 exploits an oversight in the io_uring's resource allocation that could lead to unintended data exposure.
Is CVE-2025-40267 a critical vulnerability?
CVE-2025-40267 is not classified as critical, but it still poses a risk and should be addressed promptly to maintain system security.