CVE-2023-52654

io_uring/af_unix: disable sending io_uring over sockets

7.8 high EPSS 0.89%

Published 9 May 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-52654

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52654 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.89%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 60.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 9 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 04df9719df1865f6770af9bc7880874af0e594b2, before 18824f592aad4124d79751bbc1500ea86ac3ff29
affected from c378c479c5175833bb22ff71974cda47d7b05401, before 3fe1ea5f921bf5b71cbfdc4469fb96c05936610e
affected from 813d8fe5d30388f73a21d3a2bf46b0a1fd72498c, before bcedd497b3b4a0be56f3adf7c7542720eced0792
affected from 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80, before f2f57f51b53be153a522300454ddb3887722fb2c
affected from 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80, before 5a33d385eb36991a91e3dddb189d8679e2aac2be
affected from 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80, before 705318a99a138c29a512a72c3e0043b3cd7f55f4
affected b4293c01ee0d0ecdd3cb5801e13f62271144667a
affected 75e94c7e8859e58aadc15a98cc9704edff47d4f2
affected from 5.4.220, before 5.4.264
affected from 5.10.150, before 5.10.204
affected from 5.15.75, before 5.15.143
affected from 5.19.17, before 5.20
affected from 6.0.3, before 6.1
Other versions: unaffected
Linux
affected 6.1
unaffected before 6.1
unaffected from 5.4.264 up to and including 5.4.*
unaffected from 5.10.204 up to and including 5.10.*
unaffected from 5.15.143 up to and including 5.15.*
unaffected from 6.1.68 up to and including 6.1.*
unaffected from 6.6.7 up to and including 6.6.*
unaffected 6.7 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52654 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52654

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52654
trivy image --scanners vuln IMAGE | grep CVE-2023-52654

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52654 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.