{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8ba997b22f2cd5d29aad8c39f6201f7608ed0c04"
            },
            {
              "fixed": "18f8301c66da25bbd4efed6ee39d57f31c66b88f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "fb428a2005fc1260d18b989cc5199f281617f44d"
            },
            {
              "fixed": "60b25364d7e430c202fb3f1aa24247914d7b1d53"
            },
            {
              "fixed": "89930d3c26c282526f904118ddbe0d5b5755cb0b"
            },
            {
              "fixed": "3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8"
            },
            {
              "fixed": "fe81812af36bad609d233f11ba989dedcde41ca3"
            },
            {
              "fixed": "203b3072e7aa10d98b3f2b766693ea925cfc571d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "2f3d3fa5b8ed7d3b147478f42b00b468eeb1ecd2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.16"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.3"
            },
            {
              "fixed": "6.3"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139723.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix buffer overflow in the BSG target device map\n\nThe size of the target device map buffer is held in a u16 while the number\nof devices it is derived from is not bounded to fit. With enough devices\nthe size wraps, a short buffer is allocated, and the loop that fills it\nwrites past the end.\n\nDo the calculation in size_t.",
  "id": "CVE-2026-139723",
  "modified": "2026-12-01T20:45:16.350318553Z",
  "published": "2026-11-30T13:37:22.801Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18f8301c66da25bbd4efed6ee39d57f31c66b88f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/203b3072e7aa10d98b3f2b766693ea925cfc571d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/60b25364d7e430c202fb3f1aa24247914d7b1d53"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89930d3c26c282526f904118ddbe0d5b5755cb0b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fe81812af36bad609d233f11ba989dedcde41ca3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139723.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139723"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "scsi: mpi3mr: Fix buffer overflow in the BSG target device map"
}