CVE-2023-52895

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52895
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52895.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52895
Downstream
Published
2024-08-21T06:10:35Z
Modified
2025-10-16T13:54:00.973988Z
Summary
io_uring/poll: don't reissue in case of poll race on multishot request
Details

In the Linux kernel, the following vulnerability has been resolved:

io_uring/poll: don't reissue in case of poll race on multishot request

A previous commit fixed a poll race that can occur, but it's only applicable for multishot requests. For a multishot request, we can safely ignore a spurious wakeup, as we never leave the waitqueue to begin with.

A blunt reissue of a multishot armed request can cause us to leak a buffer, if they are ring provided. While this seems like a bug in itself, it's not really defined behavior to reissue a multishot request directly. It's less efficient to do so as well, and not required to rearm anything like it is for singleshot poll requests.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c06015ebc4367be38904b88582e13cc079672075
Fixed
36fc7317cdb16cfeae0f879916995037bb615ac4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6e5aedb9324aab1c14a23fae3d8eeb64a679c20e
Fixed
8caa03f10bf92cb8657408a6ece6a8a73f96ce13

Affected versions

v6.*

v6.1.7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.7
Fixed
6.1.8