What’s Vulnerable › Vulnerabilities

CVE-2023-52654: io_uring/af_unix: disable sending io_uring over sockets

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/af_unix: disable sending io_uring over sockets File reference cycles have caused lots of problems for io_uring in the past, and it still doesn't work exactly right and races with unix_stream_read_generic(). The safest fix would be to completely disallow sending io_uring files via sockets via SCM_RIGHT, so there are no possible cycles invloving registered files and thus rendering SCM accounting on the io_uring side unnecessary.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.204, 5.15.143, 5.20, 5.4.264. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52654 or the next vulnerability affects your stack