Vulnerability in Linux

CVE-2023-52895

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 10.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions c06015ebc4367be38904b88582e13cc079672075, 6e5aedb9324aab1c14a23fae3d8eeb64a679c20e, 6.1.7
  • Linux Kernel — versions 6.1.7

Weakness classification (CWE)

References