{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "aac243092b707bb3018e951d470cc1a9bcbaba6c"
            },
            {
              "fixed": "93fa3e925b15b0ded0a549fe7f12bfbb1c4e171a"
            },
            {
              "fixed": "52f3e086760a9a3e02a46a10b57caffd73b1c204"
            },
            {
              "fixed": "b3709d354545e70388177500761f92d906c4dfd6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98146.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain\n\nstruct amdxdna_cmd_chain contains a flexible array annotated with\n__counted_by(command_count). Since the structure is stored in shared\nAMDXDNA_BO_SHARE memory, userspace can modify command_count concurrently.\nIf command_count is changed to zero, the bounds check generated from\n__counted_by may fail and trigger a kernel panic.\n\nRemove __counted_by to avoid relying on the userspace-controlled\ncommand_count for the flexible array bounds check.",
  "id": "CVE-2026-98146",
  "modified": "2026-09-27T03:30:50.069989113Z",
  "published": "2026-09-25T10:36:20.303Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/52f3e086760a9a3e02a46a10b57caffd73b1c204"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/93fa3e925b15b0ded0a549fe7f12bfbb1c4e171a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b3709d354545e70388177500761f92d906c4dfd6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98146.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98146"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "accel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain"
}