Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.125, 6.12.10, 6.6.72
CVEs
CVE-2025-21655
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:21 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 20 Jan 2025, 13:48 UTC

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.

osv:CVE-2025-21655

Kernel

Fixed versions: 6.1.125, 6.6.72, 6.12.10

Complete source record
{
  "id": "9dd9ef64d88ef73e22977a4683d25e03a697aec03b0c4cafad21e097145b0f7f",
  "url": "https://osv.dev/vulnerability/CVE-2025-21655",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period",
    "summary": "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.",
    "evidence": "osv:CVE-2025-21655",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.125",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.72",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-21655",
      "aliases": [
        "CVE-2025-21655"
      ],
      "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": "21a091b970cdbcf3e8ff829234b51be6f9192766"
                },
                {
                  "fixed": "6b63308c28987c6010b1180c72a6db4df6c68033"
                },
                {
                  "fixed": "8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10"
                },
                {
                  "fixed": "a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7"
                },
                {
                  "fixed": "c9a40292a44e78f71258b8522655bffaf5753bdb"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21655.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.125"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.72"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21655.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.805620921Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://git.kernel.org/stable/c/6b63308c28987c6010b1180c72a6db4df6c68033",
        "https://git.kernel.org/stable/c/8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10",
        "https://git.kernel.org/stable/c/a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7",
        "https://git.kernel.org/stable/c/c9a40292a44e78f71258b8522655bffaf5753bdb",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://project-zero.issues.chromium.org/issues/388499293",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21655.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-21655",
        "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/2025/21xxx/CVE-2025-21655.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-21655",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498376,
  "published_at": "2025-01-20T13:48:40.544+00:00"
}