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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
04df9719df1865f6770af9bc7880874af0e594b2 to < 18824f592aad4124d79751bbc1500ea86ac3ff29affectedc378c479c5175833bb22ff71974cda47d7b05401 to < 3fe1ea5f921bf5b71cbfdc4469fb96c05936610eaffected813d8fe5d30388f73a21d3a2bf46b0a1fd72498c to < bcedd497b3b4a0be56f3adf7c7542720eced0792affected0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 to < f2f57f51b53be153a522300454ddb3887722fb2caffected0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 to < 5a33d385eb36991a91e3dddb189d8679e2aac2beaffected0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 to < 705318a99a138c29a512a72c3e0043b3cd7f55f4affectedb4293c01ee0d0ecdd3cb5801e13f62271144667aaffected75e94c7e8859e58aadc15a98cc9704edff47d4f2affected5.4.220 to < 5.4.264affected5.10.150 to < 5.10.204affected5.15.75 to < 5.15.143affected5.19.17 to < 5.20affected6.0.3 to < 6.1affected
Linux Linux
Default version status: affected
6.1affected0 to < 6.1unaffected5.4.264 to ≤ 5.4.*unaffected5.10.204 to ≤ 5.10.*unaffected5.15.143 to ≤ 5.15.*unaffected6.1.68 to ≤ 6.1.*unaffected6.6.7 to ≤ 6.6.*unaffected6.7 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29 ↗
- https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e ↗
- https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792 ↗
- https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c ↗
- https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be ↗
- https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4 ↗