{
  "cveId": "CVE-2026-31478",
  "url": "https://patchblox.com/security/cve/CVE-2026-31478",
  "summary": "CVE-2026-31478 is fixed in linux on 1 platform, first by DEBIAN-CVE-2026-31478, released May 15, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len()",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len()  After this commit (e2b76ab8b5c9 \u0022ksmbd: add support for read compound\u0022), response buffer management was changed to use dynamic iov array. In the new design, smb2_calc_max_out_buf_len() expects the second argument (hdr2_len) to be the offset of -\u003EBuffer field in the response structure, not a hardcoded magic number. Fix the remaining call sites to use the correct offsetof() value.",
  "published": "2026-04-22T14:16:44Z",
  "severity": "Important",
  "cvss": 9.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00502,
  "epssPercentile": 0.43259,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-31478",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.170-1",
      "fix": "DEBIAN-CVE-2026-31478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31478",
      "released": "2026-05-15T16:01:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.85-1",
      "fix": "DEBIAN-CVE-2026-31478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31478",
      "released": "2026-05-15T16:01:09Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.19.11-1",
      "fix": "DEBIAN-CVE-2026-31478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-31478",
      "released": "2026-05-15T16:01:09Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}