io_uring/af_unix: disable sending io_uring over sockets
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.204, 5.15.143, 5.4.264, 6.1.68, 6.6.7
- CVEs
- CVE-2023-52654
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:24 UTC · Revision 1
Source evidence
io_uring/af_unix: disable sending io_uring over sockets
core-osv · Original sourcePublished 9 May 2024, 16:37 UTC
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.
osv:CVE-2023-52654
Kernel
Fixed versions: 5.4.264, 5.10.204, 5.15.143, 6.1.68, 6.6.7
Complete source record
{
"id": "d880b55ad41fe2716c1c24805ff4f67427299de9679be389f4af3c732dffe901",
"url": "https://osv.dev/vulnerability/CVE-2023-52654",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "io_uring/af_unix: disable sending io_uring over sockets",
"summary": "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.",
"evidence": "osv:CVE-2023-52654",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.264",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.204",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.143",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.68",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-52654",
"aliases": [
"CVE-2023-52654"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "04df9719df1865f6770af9bc7880874af0e594b2"
},
{
"fixed": "18824f592aad4124d79751bbc1500ea86ac3ff29"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c378c479c5175833bb22ff71974cda47d7b05401"
},
{
"fixed": "3fe1ea5f921bf5b71cbfdc4469fb96c05936610e"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "813d8fe5d30388f73a21d3a2bf46b0a1fd72498c"
},
{
"fixed": "bcedd497b3b4a0be56f3adf7c7542720eced0792"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0091bfc81741b8d3aeb3b7ab8636f911b2de6e80"
},
{
"fixed": "f2f57f51b53be153a522300454ddb3887722fb2c"
},
{
"fixed": "5a33d385eb36991a91e3dddb189d8679e2aac2be"
},
{
"fixed": "705318a99a138c29a512a72c3e0043b3cd7f55f4"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.4.220"
},
{
"fixed": "5.4.264"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.10.150"
},
{
"fixed": "5.10.204"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.15.75"
},
{
"fixed": "5.15.143"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.19.17"
},
{
"fixed": "5.20"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.0.3"
},
{
"fixed": "6.1"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "b4293c01ee0d0ecdd3cb5801e13f62271144667a"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "75e94c7e8859e58aadc15a98cc9704edff47d4f2"
}
]
}
],
"versions": [
"v5.4.263",
"v5.4.262",
"v5.4.261",
"v5.4.260",
"v5.4.259",
"v5.4.258",
"v5.4.257",
"v5.4.256",
"v5.4.255",
"v5.4.254",
"v5.4.253",
"v5.4.252",
"v5.4.251",
"v5.4.250",
"v5.4.249",
"v5.4.248",
"v5.4.247",
"v5.4.246",
"v5.4.245",
"v5.4.244",
"v5.4.243",
"v5.4.242",
"v5.4.241",
"v5.4.240",
"v5.4.239",
"v5.4.238",
"v5.4.237",
"v5.4.236",
"v5.4.235",
"v5.4.234",
"v5.4.233",
"v5.4.232",
"v5.4.231",
"v5.4.230",
"v5.4.229",
"v5.4.228",
"v5.4.227",
"v5.4.226",
"v5.4.225",
"v5.4.224",
"v5.4.223",
"v5.4.222",
"v5.4.221",
"v5.4.220",
"v5.10.203",
"v5.10.202",
"v5.10.201",
"v5.10.200",
"v5.10.199",
"v5.10.198",
"v5.10.197",
"v5.10.196",
"v5.10.195",
"v5.10.194",
"v5.10.193",
"v5.10.192",
"v5.10.191",
"v5.10.190",
"v5.10.189",
"v5.10.188",
"v5.10.187",
"v5.10.186",
"v5.10.185",
"v5.10.184",
"v5.10.183",
"v5.10.182",
"v5.10.181",
"v5.10.180",
"v5.10.179",
"v5.10.178",
"v5.10.177",
"v5.10.176",
"v5.10.175",
"v5.10.174",
"v5.10.173",
"v5.10.172",
"v5.10.171",
"v5.10.170",
"v5.10.169",
"v5.10.168",
"v5.10.167",
"v5.10.166",
"v5.10.165",
"v5.10.164",
"v5.10.163",
"v5.10.162",
"v5.10.161",
"v5.10.160",
"v5.10.159",
"v5.10.158",
"v5.10.157",
"v5.10.156",
"v5.10.155",
"v5.10.154",
"v5.10.153",
"v5.10.152",
"v5.10.151",
"v5.10.150",
"v5.15.142",
"v5.15.141",
"v5.15.140",
"v5.15.139",
"v5.15.138",
"v5.15.137",
"v5.15.136",
"v5.15.135",
"v5.15.134",
"v5.15.133",
"v5.15.132",
"v5.15.131",
"v5.15.130",
"v5.15.129",
"v5.15.128",
"v5.15.127",
"v5.15.126",
"v5.15.125",
"v5.15.124",
"v5.15.123",
"v5.15.122",
"v5.15.121",
"v5.15.120",
"v5.15.119",
"v5.15.118",
"v5.15.117",
"v5.15.116",
"v5.15.115",
"v5.15.114",
"v5.15.113",
"v5.15.112",
"v5.15.111",
"v5.15.110",
"v5.15.109",
"v5.15.108",
"v5.15.107",
"v5.15.106",
"v5.15.105",
"v5.15.104",
"v5.15.103",
"v5.15.102",
"v5.15.101",
"v5.15.100",
"v5.15.99",
"v5.15.98",
"v5.15.97",
"v5.15.96",
"v5.15.95",
"v5.15.94",
"v5.15.93",
"v5.15.92",
"v5.15.91",
"v5.15.90",
"v5.15.89",
"v5.15.88",
"v5.15.87",
"v5.15.86",
"v5.15.85",
"v5.15.84",
"v5.15.83",
"v5.15.82",
"v5.15.81",
"v5.15.80",
"v5.15.79",
"v5.15.78",
"v5.15.77",
"v5.15.76",
"v5.15.75",
"v5.19.17",
"v6.0.19",
"v6.0.18",
"v6.0.17",
"v6.0.16",
"v6.0.15",
"v6.0.14",
"v6.0.13",
"v6.0.12",
"v6.0.11",
"v6.0.10",
"v6.0.9",
"v6.0.8",
"v6.0.7",
"v6.0.6",
"v6.0.5",
"v6.0.4",
"v6.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52654.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.264"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.204"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.143"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.68"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.6.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52654.json"
}
}
],
"modified": "2026-10-28T02:30:36.817588744Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/18824f592aad4124d79751bbc1500ea86ac3ff29",
"https://git.kernel.org/stable/c/3fe1ea5f921bf5b71cbfdc4469fb96c05936610e",
"https://git.kernel.org/stable/c/5a33d385eb36991a91e3dddb189d8679e2aac2be",
"https://git.kernel.org/stable/c/705318a99a138c29a512a72c3e0043b3cd7f55f4",
"https://git.kernel.org/stable/c/bcedd497b3b4a0be56f3adf7c7542720eced0792",
"https://git.kernel.org/stable/c/f2f57f51b53be153a522300454ddb3887722fb2c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52654.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52654",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52654.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52654",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504070,
"published_at": "2024-05-09T16:37:04.293+00:00"
}