Skip to content
Heist/ feed
Back to feed
UnratedFix available

btrfs: don't stash io_uring encoded data across -EAGAIN

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU leaks if the request is cancelled or the ring exits before reissue. io_uring does not free driver PDU allocations on cleanup. Write: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so return -EAGAIN before allocating and free data on every exit. Read: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation for btrfs_uring_read_finished().

Products
Kernel
Affected versions
Not specified
Fixed versions
7.2.11
CVEs
CVE-2026-98960
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:15 UTC · Revision 1

Source evidence

btrfs: don't stash io_uring encoded data across -EAGAIN

core-osv · Original source

Published 23 Oct 2026, 12:19 UTC

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU leaks if the request is cancelled or the ring exits before reissue. io_uring does not free driver PDU allocations on cleanup. Write: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so return -EAGAIN before allocating and free data on every exit. Read: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation for btrfs_uring_read_finished().

osv:CVE-2026-98960

Kernel

Fixed versions: 7.2.11

Complete source record
{
  "id": "fddd4bccb25e57cd567cff2da5f563117f76841f0f7df48e160d675807886c30",
  "url": "https://osv.dev/vulnerability/CVE-2026-98960",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "btrfs: don't stash io_uring encoded data across -EAGAIN",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: btrfs: don't stash io_uring encoded data across -EAGAIN Returning -EAGAIN while leaving btrfs_uring_encoded_data in the cmd PDU leaks if the request is cancelled or the ring exits before reissue. io_uring does not free driver PDU allocations on cleanup. Write: io_queue_sqe() always issues with IO_URING_F_NONBLOCK first, so return -EAGAIN before allocating and free data on every exit. Read: free on nowait -EAGAIN too; only -EIOCBQUEUED keeps the allocation for btrfs_uring_read_finished().",
    "evidence": "osv:CVE-2026-98960",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.2.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98960",
      "aliases": [
        "CVE-2026-98960"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "34310c442e175f286b4c06ab5caa4e0b267ea31c"
                },
                {
                  "fixed": "4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e"
                },
                {
                  "fixed": "51562a8cb11628d3a5e105b4c347ec5473e5745f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98960.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "7.2.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98960.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.220086851Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4d9c1e0a7fb2cfb1cc924acafc194d2c15c3e83e",
        "https://git.kernel.org/stable/c/51562a8cb11628d3a5e105b4c347ec5473e5745f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98960.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98960",
        "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/2026/98xxx/CVE-2026-98960.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98960",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 496289,
  "published_at": "2026-10-23T12:19:28.651+00:00"
}