{
  "public_date" : "2026-05-06T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: ksmbd: fix signededness bug in smb_direct_prepare_negotiation()",
    "id" : "2467196",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2467196"
  },
  "cwe" : "CWE-681",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nksmbd: fix signededness bug in smb_direct_prepare_negotiation()\nsmb_direct_prepare_negotiation() casts an unsigned __u32 value\nfrom sp->max_recv_size and req->preferred_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.\nBy sending a second message with a large value (>1420 bytes)\nthe attacker can then achieve a heap buffer overflow.\nThis fix replaces min_t(int, ...) with min_t(u32)", "A flaw was found in ksmbd within the Linux kernel. A remote attacker can exploit a signedness bug in the smb_direct_prepare_negotiation() function by sending a specially crafted preferred_send_size value during SMB direct negotiation. This manipulation leads to an incorrect size calculation, allowing a subsequent large message to trigger a heap buffer overflow. A successful exploit could result in arbitrary code execution or a denial of service." ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-43185\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-43185\nhttps://lore.kernel.org/linux-cve-announce/2026050640-CVE-2026-43185-55a5@gregkh/T" ],
  "name" : "CVE-2026-43185",
  "csaw" : false
}