CVE-2026-46315 (GCVE-0-2026-46315)

Vulnerability from cvelistv5 – Published: 2026-06-09 07:38 – Updated: 2026-06-09 07:38
VLAI
Title
io_uring/waitid: clear waitid info before copying it to userspace
Summary
In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f31ecf671ddc498f20219453395794ff2383e06b , < 954518e5a4a5efc5033253f6e36fc7b9f98363a3 (git)
Affected: f31ecf671ddc498f20219453395794ff2383e06b , < b737c6612c60c23b40a9f31749b99e6f61943847 (git)
Affected: f31ecf671ddc498f20219453395794ff2383e06b , < 4d2a0de611ab60d02fc768ae0cd5918b16bd5474 (git)
Affected: f31ecf671ddc498f20219453395794ff2383e06b , < 93d93f5f8da791e98159795c6ef683f45bd95d13 (git)
Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1-rc5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "io_uring/waitid.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "954518e5a4a5efc5033253f6e36fc7b9f98363a3",
              "status": "affected",
              "version": "f31ecf671ddc498f20219453395794ff2383e06b",
              "versionType": "git"
            },
            {
              "lessThan": "b737c6612c60c23b40a9f31749b99e6f61943847",
              "status": "affected",
              "version": "f31ecf671ddc498f20219453395794ff2383e06b",
              "versionType": "git"
            },
            {
              "lessThan": "4d2a0de611ab60d02fc768ae0cd5918b16bd5474",
              "status": "affected",
              "version": "f31ecf671ddc498f20219453395794ff2383e06b",
              "versionType": "git"
            },
            {
              "lessThan": "93d93f5f8da791e98159795c6ef683f45bd95d13",
              "status": "affected",
              "version": "f31ecf671ddc498f20219453395794ff2383e06b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "io_uring/waitid.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1-rc5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1-rc5",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/waitid: clear waitid info before copying it to userspace\n\nIORING_OP_WAITID stores its result fields in struct io_waitid::info and\nlater copies them to userspace siginfo. The prep path initializes the\nrequest arguments, but it does not initialize info itself.\n\nIf the wait operation completes without reporting a child event, the common\nwait code can return without writing wo_info. In that case io_waitid_finish()\nstill copies iw-\u003einfo to userspace, exposing stale bytes from the reused\nio_kiocb command storage.\n\nClear the result storage during prep so the io_uring path matches the\nregular waitid syscall, which uses a zero-initialized struct waitid_info."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-09T07:38:13.713Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/954518e5a4a5efc5033253f6e36fc7b9f98363a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/b737c6612c60c23b40a9f31749b99e6f61943847"
        },
        {
          "url": "https://git.kernel.org/stable/c/4d2a0de611ab60d02fc768ae0cd5918b16bd5474"
        },
        {
          "url": "https://git.kernel.org/stable/c/93d93f5f8da791e98159795c6ef683f45bd95d13"
        }
      ],
      "title": "io_uring/waitid: clear waitid info before copying it to userspace",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46315",
    "datePublished": "2026-06-09T07:38:13.713Z",
    "dateReserved": "2026-05-13T15:03:33.111Z",
    "dateUpdated": "2026-06-09T07:38:13.713Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-46315",
      "date": "2026-06-10",
      "epss": "0.00018",
      "percentile": "0.0478"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-46315\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-09T09:16:30.330\",\"lastModified\":\"2026-06-09T09:16:30.330\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/waitid: clear waitid info before copying it to userspace\\n\\nIORING_OP_WAITID stores its result fields in struct io_waitid::info and\\nlater copies them to userspace siginfo. The prep path initializes the\\nrequest arguments, but it does not initialize info itself.\\n\\nIf the wait operation completes without reporting a child event, the common\\nwait code can return without writing wo_info. In that case io_waitid_finish()\\nstill copies iw-\u003einfo to userspace, exposing stale bytes from the reused\\nio_kiocb command storage.\\n\\nClear the result storage during prep so the io_uring path matches the\\nregular waitid syscall, which uses a zero-initialized struct waitid_info.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/4d2a0de611ab60d02fc768ae0cd5918b16bd5474\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/93d93f5f8da791e98159795c6ef683f45bd95d13\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/954518e5a4a5efc5033253f6e36fc7b9f98363a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b737c6612c60c23b40a9f31749b99e6f61943847\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…