{
  "id": "CVE-2026-43185",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43185",
  "published_at": "2026-05-06T11:27:56.386Z",
  "title": "ksmbd: fix signededness bug in smb_direct_prepare_negotiation()",
  "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\nksmbd: fix signededness bug in smb_direct_prepare_negotiation()\n\nsmb_direct_prepare_negotiation() casts an unsigned __u32 value\nfrom sp-\u003emax_recv_size and req-\u003epreferred_send_size to a signed\nint before computing min_t(int, ...). A maliciously provided\npreferred_send_size of 0x80000000 will return as smaller than\nmax_recv_size, and then be used to set the maximum allowed\nalowed receive size for the next message.\n\nBy sending a second message with a large value (\u003e1420 bytes)\nthe attacker can then achieve a heap buffer overflow.\n\nThis fix replaces min_t(int, ...) with min_t(u32)",
  "cwe": "CWE-674",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 56eab82fa6fb5ca024b0514e249d40d9b23ee5a7",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c a110dbe928561d440e9e117d17331139a0bedace",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c ceae058eb707ddd0d68f0872f9d9f23b7c30c37b",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 55abc475d096da4a5356b6efb0cfdc6156bc1550",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 6b4f875aac344cdd52a1f34cc70ed2f874a65757"
        ],
        "fixed_in": [
          "1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c",
          "56eab82fa6fb5ca024b0514e249d40d9b23ee5a7",
          "a110dbe928561d440e9e117d17331139a0bedace",
          "ceae058eb707ddd0d68f0872f9d9f23b7c30c37b",
          "55abc475d096da4a5356b6efb0cfdc6156bc1550",
          "6b4f875aac344cdd52a1f34cc70ed2f874a65757"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.16",
          "6.19.6",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1c268fd2f59dc9ccb2c2a7d1f439b232dbe1c06c or 56eab82fa6fb5ca024b0514e249d40d9b23ee5a7 or a110dbe928561d440e9e117d17331139a0bedace or ceae058eb707ddd0d68f0872f9d9f23b7c30c37b or 55abc475d096da4a5356b6efb0cfdc6156bc1550 or 6b4f875aac344cdd52a1f34cc70ed2f874a65757 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.16 or 6.19.6 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
