Skip to content
Heist/ feed
Back to feed
HighFix available

io_uring/waitid: always prune wait queue entry in io_waitid_wait()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: always prune wait queue entry in io_waitid_wait() For a successful return, always remove our entry from the wait queue entry list. Previously this was skipped if a cancelation was in progress, but this can race with another invocation of the wait queue entry callback.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.53, 6.17.3
CVEs
CVE-2025-40047
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:26 UTC · Revision 1

Source evidence

io_uring/waitid: always prune wait queue entry in io_waitid_wait()

core-osv · Original source

Published 28 Oct 2025, 11:48 UTC

In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: always prune wait queue entry in io_waitid_wait() For a successful return, always remove our entry from the wait queue entry list. Previously this was skipped if a cancelation was in progress, but this can race with another invocation of the wait queue entry callback.

osv:CVE-2025-40047

Kernel

Fixed versions: 6.12.53, 6.17.3

Complete source record
{
  "id": "932a8d3e2926b0c8a7d725c3b75382f7345b1491cd409e0479b96ceb07a98d4b",
  "url": "https://osv.dev/vulnerability/CVE-2025-40047",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "io_uring/waitid: always prune wait queue entry in io_waitid_wait()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: always prune wait queue entry in io_waitid_wait() For a successful return, always remove our entry from the wait queue entry list. Previously this was skipped if a cancelation was in progress, but this can race with another invocation of the wait queue entry callback.",
    "evidence": "osv:CVE-2025-40047",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-40047",
      "aliases": [
        "CVE-2025-40047"
      ],
      "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": "f31ecf671ddc498f20219453395794ff2383e06b"
                },
                {
                  "fixed": "696ba6032081e617564a8113a001b8d7943cb928"
                },
                {
                  "fixed": "3e2205db2f0608898d535da1964e1b376aacfdaa"
                },
                {
                  "fixed": "2f8229d53d984c6a05b71ac9e9583d4354e3b91f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40047.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40047.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.880223755Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2f8229d53d984c6a05b71ac9e9583d4354e3b91f",
        "https://git.kernel.org/stable/c/3e2205db2f0608898d535da1964e1b376aacfdaa",
        "https://git.kernel.org/stable/c/696ba6032081e617564a8113a001b8d7943cb928",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40047.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40047",
        "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/40xxx/CVE-2025-40047.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-40047",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494514,
  "published_at": "2025-10-28T11:48:24.625+00:00"
}