{
  "id": "CVE-2026-89637",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89637",
  "published_at": "2026-09-11T19:45:31.048Z",
  "title": "smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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\nsmb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2\n\nWhen a valid primary TRANSACT2 response has been received (mid-\u003eresp_buf\nset, mid-\u003emultiRsp true) and a subsequent secondary response causes\ncifs_check_trans2() to return false -- either because the SMB header is\ninvalid (malformed != 0) or because check2ndT2() rejects the PDU --\nhandle_mid() overwrites mid-\u003eresp_buf with the new buffer (leaking the\nprimary buffer) and, because mid-\u003emultiRsp is set, skips the\nserver-\u003esmallbuf/bigbuf NULL-out.  When the user thread frees\nmid-\u003eresp_buf, server-\u003esmallbuf or server-\u003ebigbuf is left dangling; the\ndemux thread reuses it for the next packet, resulting in a use-after-free.\n\nCombine both early-exit conditions and, when mid-\u003emultiRsp is already\nset, abort the pending transaction inline: set multiEnd, call\ndequeue_mid() with malformed=true, and return true so handle_mid() exits\nwithout touching mid-\u003eresp_buf or the server buffer pointers.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 316cf94a910f6f93d43cc574359d163ccae098a3, \u003c 9eed72e9534b10a6d9f8f5146feff3db53aebdba",
          "\u003e= 316cf94a910f6f93d43cc574359d163ccae098a3, \u003c 5e6533a683f6a851158d9f33fb4ea8f4f25d7f84",
          "\u003e= 316cf94a910f6f93d43cc574359d163ccae098a3, \u003c 730d0bb19507b9e19c2fe5343109ac618e2fbce5"
        ],
        "fixed_in": [
          "9eed72e9534b10a6d9f8f5146feff3db53aebdba",
          "5e6533a683f6a851158d9f33fb4ea8f4f25d7f84",
          "730d0bb19507b9e19c2fe5343109ac618e2fbce5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.6"
        ],
        "fixed_in": [
          "0",
          "6.18.51",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 9eed72e9534b10a6d9f8f5146feff3db53aebdba or 5e6533a683f6a851158d9f33fb4ea8f4f25d7f84 or 730d0bb19507b9e19c2fe5343109ac618e2fbce5 or later.",
      "Upgrade Linux to 0 or 6.18.51 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
