{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "95e34bf930eaee51dab23495342b148cd0ee2ba1"
            },
            {
              "fixed": "62aafe2a31d5b40eaa85856b8b5a947912077f90"
            },
            {
              "fixed": "9965e689045a21ee31833791e254ef044c5b9673"
            },
            {
              "fixed": "3d59b8c275abc021f8613892d1721485d3b0b295"
            },
            {
              "fixed": "a7b428766a3e5205735a983618d718f07b66fc2e"
            },
            {
              "fixed": "061264243d07092cbaccd067ffe78c9d76ac8c1b"
            },
            {
              "fixed": "a3e6b9d63f4545f2e2c6522eb7b180a607420ef7"
            },
            {
              "fixed": "230b5c5c36216cbc6876e702c96bbe601249a1a5"
            },
            {
              "fixed": "2e63ac76cc08ea376ba61fef52f7b7849e35024d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.20.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99938.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: bsg: Clear the reply buffer before use\n\nThe reply buffer is allocated once per tag and reused. Requests that\ncomplete with a positive status do not fill all of it, so user space\nreceives bytes from an earlier request on the same tag.\n\nClear the whole reply buffer on entry to ufs_bsg_request().",
  "id": "CVE-2026-99938",
  "modified": "2026-12-01T20:46:03.326757301Z",
  "published": "2026-11-30T13:18:27.315Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/061264243d07092cbaccd067ffe78c9d76ac8c1b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/230b5c5c36216cbc6876e702c96bbe601249a1a5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2e63ac76cc08ea376ba61fef52f7b7849e35024d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d59b8c275abc021f8613892d1721485d3b0b295"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62aafe2a31d5b40eaa85856b8b5a947912077f90"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9965e689045a21ee31833791e254ef044c5b9673"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a3e6b9d63f4545f2e2c6522eb7b180a607420ef7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a7b428766a3e5205735a983618d718f07b66fc2e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99938.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99938"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "scsi: ufs: bsg: Clear the reply buffer before use"
}