{
  "id": "CVE-2025-40291",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40291",
  "published_at": "2025-12-08T00:46:14.601Z",
  "title": "io_uring: fix regbuf vector size truncation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix regbuf vector size truncation\n\nThere is a report of io_estimate_bvec_size() truncating the calculated\nnumber of segments that leads to corruption issues. Check it doesn't\noverflow \"int\"s used later. Rough but simple, can be improved on top.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5, \u003c 826ce37a842633efe1bb763e4b13045d74060d72",
          "\u003e= 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5, \u003c 146eb58629f45f8297e83d69e64d4eea4b28d972"
        ],
        "fixed_in": [
          "826ce37a842633efe1bb763e4b13045d74060d72",
          "146eb58629f45f8297e83d69e64d4eea4b28d972"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.17.8",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 826ce37a842633efe1bb763e4b13045d74060d72 or 146eb58629f45f8297e83d69e64d4eea4b28d972 or later.",
      "Upgrade Linux to 0 or 6.17.8 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
