{
  "id": "CVE-2025-37899",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37899",
  "published_at": "2025-05-20T15:21:34.782Z",
  "title": "ksmbd: fix use-after-free in session logoff",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/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\nksmbd: fix use-after-free in session logoff\n\nThe sess-\u003euser object can currently be in use by another thread, for\nexample if another connection has sent a session setup request to\nbind to the session being free'd. The handler for that connection could\nbe in the smb2_sess_setup function which makes use of sess-\u003euser.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "SeanHeelan/o3_finds_cve-2025-37899",
      "url": "https://github.com/SeanHeelan/o3_finds_cve-2025-37899",
      "created_at": "2025-05-22T10:36:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 354,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-07-04T01:56:56Z"
    },
    {
      "repo": "vett3x/SMB-LINUX-CVE-2025-37899",
      "url": "https://github.com/vett3x/SMB-LINUX-CVE-2025-37899",
      "created_at": "2025-06-09T09:01:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-11-28T16:43:44Z"
    },
    {
      "repo": "ccss17/o3_finds_cve-2025-37899",
      "url": "https://github.com/ccss17/o3_finds_cve-2025-37899",
      "created_at": "2025-09-11T16:24:11Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-21T05:24:07Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 931dc8a3670f71c45c0b1379ea4e92dafbda1aca",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 70ad6455139e26e85f48f95d0e21f351c1909342",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c d5ec1d79509b3ee01de02c236f096bc050221b7f",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 02d16046cd11a5c037b28c12ffb818c56dd3ef43",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 2fc9feff45d92a92cd5f96487655d5be23fb7e2b"
        ],
        "fixed_in": [
          "931dc8a3670f71c45c0b1379ea4e92dafbda1aca",
          "70ad6455139e26e85f48f95d0e21f351c1909342",
          "d5ec1d79509b3ee01de02c236f096bc050221b7f",
          "02d16046cd11a5c037b28c12ffb818c56dd3ef43",
          "2fc9feff45d92a92cd5f96487655d5be23fb7e2b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.159",
          "6.6.119",
          "6.12.28",
          "6.14.6",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 931dc8a3670f71c45c0b1379ea4e92dafbda1aca or 70ad6455139e26e85f48f95d0e21f351c1909342 or d5ec1d79509b3ee01de02c236f096bc050221b7f or 02d16046cd11a5c037b28c12ffb818c56dd3ef43 or 2fc9feff45d92a92cd5f96487655d5be23fb7e2b or later.",
      "Upgrade Linux to 0 or 6.1.159 or 6.6.119 or 6.12.28 or 6.14.6 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
