CVE-2023-23586: Use after free in io_uring in the Linux Kernel
Due to a vulnerability in the iouring subsystem, it is possible to leak kernel memory information to the user process. timensinstall calls currentissinglethreaded to determine if the current process is single-threaded, but this call does not consider iouring's ioworker threads, thus it is possible to insert a time namespace's vvar page to process's memory space via a page fault. When this time namespace is destroyed, the vvar page is also freed, but not removed from the process' memory, and a next page allocated by the kernel will be still available from the user-space process and can leak memory contents via this (read-only) use-after-free vulnerability. We recommend upgrading past version 5.10.161 or commit 788d0824269bef539fe31a785b1517882eafed93 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/iouring
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 788d0824269bef539fe31a785b1517882eafed93
Event History
Frequently Asked Questions
What is the severity of CVE-2023-23586?
CVE-2023-23586 has been assessed with a medium severity level as it allows the potential leakage of kernel memory information.
How can I mitigate CVE-2023-23586?
To mitigate CVE-2023-23586, it is recommended to upgrade the Linux kernel to a version later than 5.10.161.
What versions of the Linux kernel are affected by CVE-2023-23586?
CVE-2023-23586 affects Linux kernel versions from 5.6 to 5.10.161.
Does CVE-2023-23586 affect multi-threaded applications?
CVE-2023-23586 specifically impacts single-threaded process detection in the io_uring subsystem, which may lead to kernel memory leaks.
What are the risks associated with CVE-2023-23586?
The risks associated with CVE-2023-23586 include unauthorized access to sensitive kernel memory, which could lead to information disclosure or system exploitation.