Back

HIGH

kernel: user-after-free during IORING_OP_SPLICE operation

Published Jan 11, 2023

Description

There exists a use-after-free vulnerability in the Linux kernel through io_uring and the IORING_OP_SPLICE operation. If IORING_OP_SPLICE is missing the IO_WQ_WORK_FILES flag, which signals that the operation won't use current->nsproxy, so its reference counter is not increased. This assumption is not always true as calling io_splice on specific files will call the get_uts function which will use current->nsproxy leading to invalidly decreasing its reference counter later causing the use-after-free vulnerability. We recommend upgrading to version 5.10.160 or above

Affected products

Remediation

Red Hat statement

Red Hat Enterprise Linux is not affected by this flaw as the io_uring (CONFIG_IO_URING) is not enabled in any current shipping kernels.

Metrics

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Google
Published Jan 11, 2023
Updated Aug 3, 2024
Reserved Dec 23, 2022
CISA Vulnrichment
Updated Aug 1, 2024
NVD
Status Analyzed
Modified Sep 1, 2026
Red Hat
Severity Moderate
Public date Dec 19, 2022