Vulnerability 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
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.12 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linuxMailing ListPatchVendor Advisory
- https://kernel.dance/#75454b4bbfc7e6a4dd8338556f36ea9107ddf61aExploitThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linuxMailing ListPatchVendor Advisory
- https://kernel.dance/#75454b4bbfc7e6a4dd8338556f36ea9107ddf61aExploitThird Party Advisory
- https://security.netapp.com/advisory/ntap-20230223-0003/
FAQ
What is CVE-2022-4696?
CVE-2022-4696 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 op...
How severe is CVE-2022-4696?
CVE-2022-4696 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-4696?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.