CVE Catalog

CVE-2022-4696

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.43%

36th percentile - higher than 36% of all known CVEs

Summary

The Linux kernel has a use-after-free vulnerability in io_uring during the IORING_OP_SPLICE operation. Missing the IO_WQ_WORK_FILES flag means the operation does not increase the reference counter of current->nsproxy, which can lead to invalid decrement and subsequent use-after-free.

Risk Assessment

A local attacker could exploit this vulnerability for privilege escalation or to crash the system, threatening confidentiality and availability.

Recommendation

It is recommended to upgrade the Linux kernel to version 5.10.160 or later, which includes the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS