{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "97c22fd510c5d42eca74b8ef071ac78914bcac5b"
            },
            {
              "fixed": "3f4eac17566540ac4932877654710f2d44832a36"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "032b4122a92ad1d9f6eed87a26b57a50fce85eee"
            },
            {
              "fixed": "724829039c3ff257a2d62ada658a1228cdcac6ca"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ad4095d1259d037f9ce124bd6a6565ebbb4529d4"
            },
            {
              "fixed": "82e475e6f6743a92a25629a49e766ec2e3f0db03"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "9c7c5430bca36e9636eabbba0b3b53251479c7ab"
            },
            {
              "fixed": "03c8debe85948e3950cda38b737777f9d7acdee1"
            },
            {
              "fixed": "283fd5c240c0972fb8739c07522d82ae7188cb7c"
            },
            {
              "fixed": "37b2ee6747b7857920ebc71eabc25208a39164a4"
            }
          ],
          "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.120"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.66"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.5"
            },
            {
              "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/138xxx/CVE-2026-138846.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/mlx5: Fix boundary check in set_report_output()\n\nUse \u003e instead of \u003e= on boundary check of recv_buf to avoid the bug which\nthe full message in the last slot of recv_buf is ignored even though the\nreceived data size does not overflow the recv_buf.",
  "id": "CVE-2026-138846",
  "modified": "2026-12-01T20:45:37.615314186Z",
  "published": "2026-11-30T13:25:31.720Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/03c8debe85948e3950cda38b737777f9d7acdee1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/283fd5c240c0972fb8739c07522d82ae7188cb7c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/37b2ee6747b7857920ebc71eabc25208a39164a4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3f4eac17566540ac4932877654710f2d44832a36"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/724829039c3ff257a2d62ada658a1228cdcac6ca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/82e475e6f6743a92a25629a49e766ec2e3f0db03"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138846.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138846"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "vfio/mlx5: Fix boundary check in set_report_output()"
}