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.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"io_uring/rsrc.h",
"net/core/scm.c"
],
"versions": [
{
"version": "04df9719df18",
"lessThan": "18824f592aad",
"status": "affected",
"versionType": "git"
},
{
"version": "c378c479c517",
"lessThan": "3fe1ea5f921b",
"status": "affected",
"versionType": "git"
},
{
"version": "813d8fe5d303",
"lessThan": "bcedd497b3b4",
"status": "affected",
"versionType": "git"
},
{
"version": "0091bfc81741",
"lessThan": "f2f57f51b53b",
"status": "affected",
"versionType": "git"
},
{
"version": "0091bfc81741",
"lessThan": "5a33d385eb36",
"status": "affected",
"versionType": "git"
},
{
"version": "0091bfc81741",
"lessThan": "705318a99a13",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"io_uring/rsrc.h",
"net/core/scm.c"
],
"versions": [
{
"version": "6.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.1",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.264",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.204",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.143",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.68",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.7",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29
git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e
git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be
git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4
git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792
git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c