{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"
            },
            {
              "fixed": "f4d6f211be04c9b018ce4cfb9793ea1f48c150c3"
            },
            {
              "fixed": "3092d8a596efaeccdebe0804bf263e5e6eef39d7"
            },
            {
              "fixed": "52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7"
            },
            {
              "fixed": "714f27729121d59f103ca4dad7b0c2d1c125cd71"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99324.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix out-of-bounds read when padding the final compound response\n\nCompound response handling pads the last response of a compound to an\n8-byte boundary by growing the final iov and the RFC1002 length.\nsmb2_allocate_rsp_buf() allocates exactly response_sz. A command can\nfill the response buffer to within 7 bytes of its end, for example a\nQUERY_INFO whose output is bounded only by the space left. The padding\ncan then run past the allocation, and ksmbd_tcp_writev() reads those\nbytes when it sends the response.\n\n  BUG: KASAN: slab-out-of-bounds in _copy_from_iter+0x744/0x10e0\n  Call Trace:\n   _copy_from_iter+0x744/0x10e0\n   tcp_sendmsg_locked+0x2290/0x3f80\n   ksmbd_tcp_writev+0x10c7/0x1ab0 [ksmbd]\n\nAllocate room for the padding when the request is a compound, as\nsmb2_read() and smb2_read_pipe() do for their payloads. response_sz is\nunchanged, so commands still fill only up to it, and kvzalloc() zeroes\nthe padding.",
  "id": "CVE-2026-99324",
  "modified": "2026-11-19T16:45:36.840408921Z",
  "published": "2026-11-19T14:21:32.348Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3092d8a596efaeccdebe0804bf263e5e6eef39d7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/714f27729121d59f103ca4dad7b0c2d1c125cd71"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f4d6f211be04c9b018ce4cfb9793ea1f48c150c3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99324.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99324"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ksmbd: fix out-of-bounds read when padding the final compound response"
}