CVE-2026-99291 (GCVE-0-2026-99291)

Vulnerability from cvelistv5 – Published: 2026-11-16 09:59 – Updated: 2026-11-19 13:52
VLAI
Title
ksmbd: fix SMB2 CREATE response buffer overflow
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix SMB2 CREATE response buffer overflow smb2_allocate_rsp_buf() uses the MAX_CIFS_SMALL_BUFFER_SIZE (448-byte) buffer for a single SMB2_CREATE response. That buffer also holds a 4-byte length field, which only leaves 444 bytes for the SMB2 body. The AAPL response made this buffer too small. After 8f1b796ff113, a request with AAPL response contexts may need at least 456 bytes. In the 456-byte case, create_aapl_rsp_buf() is appended last, clears 128 bytes, and writes 12 bytes past the allocation. KASAN reports: BUG: KASAN: slab-out-of-bounds in create_aapl_rsp_buf+0x31/0x6e0 Write of size 128 at addr ffff88800370954c by task kworker/0:0/9 ... create_aapl_rsp_buf+0x31/0x6e0 smb2_open+0x58f9/0xef10 ... smb2_allocate_rsp_buf+0x19d/0x370 ... The buggy address is located 332 bytes inside of allocated 448-byte region [ffff888003709400, ffff8880037095c0) Reserve enough space for any fixed CREATE response KSMBD can build. Store the required allocation size in the per-dialect values table. This keeps the small buffer for other commands and avoids using the max transaction buffer for every CREATE.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 7961 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8f1b796ff1135f5660e1889973359331c61b78a0 , < 824a572c0f909ca51fdb7e18e4eee33ca7896c7a (git)
Affected: 8f1b796ff1135f5660e1889973359331c61b78a0 , < 713c31a3a225b6239a37ac7fbfb394567f8b3519 (git)
Affected: bbeefd3e96645ea4951520aea66a010ce87927af (git)
Affected: 7.2.6 , < 7.3 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.3
Unaffected: 0 , < 7.3 (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/common/smbglob.h",
            "fs/smb/server/smb2ops.c",
            "fs/smb/server/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "824a572c0f909ca51fdb7e18e4eee33ca7896c7a",
              "status": "affected",
              "version": "8f1b796ff1135f5660e1889973359331c61b78a0",
              "versionType": "git"
            },
            {
              "lessThan": "713c31a3a225b6239a37ac7fbfb394567f8b3519",
              "status": "affected",
              "version": "8f1b796ff1135f5660e1889973359331c61b78a0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bbeefd3e96645ea4951520aea66a010ce87927af",
              "versionType": "git"
            },
            {
              "lessThan": "7.3",
              "status": "affected",
              "version": "7.2.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/common/smbglob.h",
            "fs/smb/server/smb2ops.c",
            "fs/smb/server/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.3"
            },
            {
              "lessThan": "7.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.2.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix SMB2 CREATE response buffer overflow\n\nsmb2_allocate_rsp_buf() uses the MAX_CIFS_SMALL_BUFFER_SIZE\n(448-byte) buffer for a single SMB2_CREATE response. That buffer also\nholds a 4-byte length field, which only leaves 444 bytes for the SMB2\nbody.\n\nThe AAPL response made this buffer too small. After 8f1b796ff113, a\nrequest with AAPL response contexts may need at least 456 bytes. In\nthe 456-byte case, create_aapl_rsp_buf() is appended last, clears 128\nbytes, and writes 12 bytes past the allocation.\n\nKASAN reports:\n\n    BUG: KASAN: slab-out-of-bounds in create_aapl_rsp_buf+0x31/0x6e0\n    Write of size 128 at addr ffff88800370954c by task kworker/0:0/9\n    ...\n    create_aapl_rsp_buf+0x31/0x6e0\n    smb2_open+0x58f9/0xef10\n    ...\n    smb2_allocate_rsp_buf+0x19d/0x370\n    ...\n    The buggy address is located 332 bytes inside of\n     allocated 448-byte region [ffff888003709400, ffff8880037095c0)\n\nReserve enough space for any fixed CREATE response KSMBD can build.\nStore the required allocation size in the per-dialect values table.\nThis keeps the small buffer for other commands and avoids using the max\ntransaction buffer for every CREATE."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A remote SMB client sends SMB2 CREATE over TCP/445. ksmbd_conn_handler_loop() reads that PDU, __handle_ksmbd_work() calls smb2_allocate_rsp_buf() which used a 448-byte buffer for a non-compound SMB2_CREATE_HE, then smb2_open(). The CREATE\u0027s AAPL, MxAc, QFid, POSIX, and lease contexts are the attacker-supplied bytes that make create_aapl_rsp_buf() write past that buffer.\nAC:L - smb2_open() sets aapl_ctxt only if the share has KSMBD_SHARE_FLAG_TIME_MACHINE and the CREATE AAPL cmd is SMB2_CRTCTX_AAPL_SERVER_QUERY; create_aapl_rsp_buf() then always memset()s 128 bytes. One unchained SMB 3.1.1 CREATE carrying a v2 lease (KSMBD_GLOBAL_FLAG_SMB2_LEASES and oplocks default on), MxAc, QFid, and a client-negotiated POSIX context places that memset past the 448-byte buffer. The client builds this request; there is no race.\nPR:L - create_aapl_rsp_buf() runs only from smb2_open(), and __handle_ksmbd_work() reaches that proc only after smb2_check_user_session() accepts a SMB2_SESSION_VALID SessionId and smb2_get_ksmbd_tcon() resolves a tree connect. CREATE is not on the negotiate/session-setup exemption, so this is an authenticated share user; guest ok and map to guest default off.\nUI:N - The attacker connects, authenticates, tree-connects, and sends the SMB2 CREATE that smb2_open() turns into the AAPL response. create_aapl_rsp_buf() runs in that request\u0027s kworker with no victim mount or other action.\nS:U - The overflow corrupts kernel heap beside the response buffer from smb2_allocate_rsp_buf(), which is the same host-kernel security authority as ksmbd.\nC:H - On SMB 3.1.1, a granted v2 lease (create_lease_size 80) plus MxAc, QFid, and the POSIX context puts create_aapl_rsp_buf()\u0027s 128-byte memset at offset 412 of the 448-byte buffer, so 28 bytes land in the next kmalloc-512 object (60 bytes if KSMBD_GLOBAL_FLAG_DURABLE_HANDLE is also set). Zeroing that neighbor, including a freelist pointer, is a heap primitive that can disclose kernel memory.\nI:H - create_aapl_rsp_buf() memset()s AAPL_RSP_MAX_SIZE (128) bytes at rsp-\u003eBuffer plus the earlier CREATE contexts. On SMB 3.1.1 with a v2 lease, MxAc, QFid, and POSIX, that region starts at offset 412 of the 448-byte buffer and zeros 28 bytes of the next kmalloc-512 object, an out-of-bounds write into allocator or object state.\nA:H - KASAN reports a 128-byte slab-out-of-bounds write in create_aapl_rsp_buf() at offset 332 of the 448-byte CREATE buffer, 12 bytes past the object in that trace. The SMB 3.1.1 layout extends the same memset into the following kmalloc object, which oopses the kworker and can panic the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T13:52:10.773Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/824a572c0f909ca51fdb7e18e4eee33ca7896c7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/713c31a3a225b6239a37ac7fbfb394567f8b3519"
        }
      ],
      "title": "ksmbd: fix SMB2 CREATE response buffer overflow",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99291",
    "datePublished": "2026-11-16T09:59:20.120Z",
    "dateReserved": "2026-09-25T10:25:14.406Z",
    "dateUpdated": "2026-11-19T13:52:10.773Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99291",
      "date": "2026-12-01",
      "epss": "0.0038",
      "percentile": "0.34109"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/common/smbglob.h",
                  "fs/smb/server/smb2ops.c",
                  "fs/smb/server/smb2pdu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "824a572c0f909ca51fdb7e18e4eee33ca7896c7a",
                    "status": "affected",
                    "version": "8f1b796ff1135f5660e1889973359331c61b78a0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "713c31a3a225b6239a37ac7fbfb394567f8b3519",
                    "status": "affected",
                    "version": "8f1b796ff1135f5660e1889973359331c61b78a0",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "bbeefd3e96645ea4951520aea66a010ce87927af",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7.3",
                    "status": "affected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/common/smbglob.h",
                  "fs/smb/server/smb2ops.c",
                  "fs/smb/server/smb2pdu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.3"
                  },
                  {
                    "lessThan": "7.3",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix SMB2 CREATE response buffer overflow\n\nsmb2_allocate_rsp_buf() uses the MAX_CIFS_SMALL_BUFFER_SIZE\n(448-byte) buffer for a single SMB2_CREATE response. That buffer also\nholds a 4-byte length field, which only leaves 444 bytes for the SMB2\nbody.\n\nThe AAPL response made this buffer too small. After 8f1b796ff113, a\nrequest with AAPL response contexts may need at least 456 bytes. In\nthe 456-byte case, create_aapl_rsp_buf() is appended last, clears 128\nbytes, and writes 12 bytes past the allocation.\n\nKASAN reports:\n\n    BUG: KASAN: slab-out-of-bounds in create_aapl_rsp_buf+0x31/0x6e0\n    Write of size 128 at addr ffff88800370954c by task kworker/0:0/9\n    ...\n    create_aapl_rsp_buf+0x31/0x6e0\n    smb2_open+0x58f9/0xef10\n    ...\n    smb2_allocate_rsp_buf+0x19d/0x370\n    ...\n    The buggy address is located 332 bytes inside of\n     allocated 448-byte region [ffff888003709400, ffff8880037095c0)\n\nReserve enough space for any fixed CREATE response KSMBD can build.\nStore the required allocation size in the per-dialect values table.\nThis keeps the small buffer for other commands and avoids using the max\ntransaction buffer for every CREATE."
          }
        ],
        "id": "CVE-2026-99291",
        "lastModified": "2026-11-19T14:17:30.273",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-16T10:17:01.393",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/713c31a3a225b6239a37ac7fbfb394567f8b3519"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/824a572c0f909ca51fdb7e18e4eee33ca7896c7a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-26T03:50:04+00:00",
      "cve": "CVE-2026-99291",
      "id": "CVE-2026-99291",
      "initial_release_date": "2026-11-16T09:59:20.120000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: ksmbd: Denial of Service via SMB2 CREATE response buffer overflow",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99291.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-18T00:43:21Z",
      "cve": "CVE-2026-99291",
      "id": "CVE-2026-99291",
      "initial_release_date": "2026-11-18T00:43:21Z",
      "product_status:known_not_affected": "351",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99291",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99291.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.