CVE-2025-21655

io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period io_eventfd_do_signal() is invoked from an RCU callback, but when dropping the reference to the io_ev_fd, it calls io_eventfd_free() directly if the refcount drops to zero. This isn't correct, as any potential freeing of the io_ev_fd should be deferred another RCU grace period. Just call io_eventfd_put() rather than open-code the dec-and-test and free, which will correctly defer it another RCU grace period.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 21a091b970cdbcf3e8ff829234b51be6f9192766 < 6b63308c28987c6010b1180c72a6db4df6c68033 ; affected 21a091b970cdbcf3e8ff829234b51be6f9192766 < 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10 ; affected 21a091b970cdbcf3e8ff829234b51be6f9192766 < a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7 ; affected 21a091b970cdbcf3e8ff829234b51be6f9192766 < c9a40292a44e78f71258b8522655bffaf5753bdb
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.125 ≤ 6.1.* ; unaffected 6.6.72 ≤ 6.6.* ; unaffected 6.12.10 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD