{
  "id": "CVE-2025-22037",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22037",
  "published_at": "2025-04-16T14:11:55.67Z",
  "title": "ksmbd: fix null pointer dereference in alloc_preauth_hash()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 null pointer dereference in alloc_preauth_hash()\n\nThe Client send malformed smb2 negotiate request. ksmbd return error\nresponse. Subsequently, the client can send smb2 session setup even\nthought conn-\u003epreauth_info is not allocated.\nThis patch add KSMBD_SESS_NEED_SETUP status of connection to ignore\nsession setup request if smb2 negotiate phase is not complete.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 2d3461d6ae74ebdcd4d65128c855198649bcadcd",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c cce57cd8c5dead24127cf2308fdd60fcad2d6ba6",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c b8eb243e670ecf30e91524dd12f7260dac07d335",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780"
        ],
        "fixed_in": [
          "2d3461d6ae74ebdcd4d65128c855198649bcadcd",
          "cce57cd8c5dead24127cf2308fdd60fcad2d6ba6",
          "ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad",
          "8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d",
          "b8eb243e670ecf30e91524dd12f7260dac07d335",
          "c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.107",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2d3461d6ae74ebdcd4d65128c855198649bcadcd or cce57cd8c5dead24127cf2308fdd60fcad2d6ba6 or ca8bed31edf728a662ef9d6f39f50e7a7dc2b5ad or 8f216b33a5e1b3489c073b1ea1b3d7cb63c8dc4d or b8eb243e670ecf30e91524dd12f7260dac07d335 or c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.107 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
