{"id":"CVE-2026-98146","aliases":["CVE-2026-98146"],"related":[],"kind":"vulnerability","state":"published","title":"accel/amdxdna: Remove __counted_by from struct amdxdna_cmd_chain","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-25T10:36:20.303Z","modified":"2026-10-22T00:45:29.527Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"aac243092b707bb3018e951d470cc1a9bcbaba6c","fixed":"93fa3e925b15b0ded0a549fe7f12bfbb1c4e171a","status":"affected"},{"type":"git","introduced":"aac243092b707bb3018e951d470cc1a9bcbaba6c","fixed":"52f3e086760a9a3e02a46a10b57caffd73b1c204","status":"affected"},{"type":"git","introduced":"aac243092b707bb3018e951d470cc1a9bcbaba6c","fixed":"b3709d354545e70388177500761f92d906c4dfd6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.14","fixed":"6.18.53"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/93fa3e925b15b0ded0a549fe7f12bfbb1c4e171a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52f3e086760a9a3e02a46a10b57caffd73b1c204","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3709d354545e70388177500761f92d906c4dfd6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98146","url":"https://www.cve.org/CVERecord?id=CVE-2026-98146","licence":"CVE Terms of Use","modified":"2026-10-19T09:14:39.513Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98146","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98146","licence":"Public domain","modified":"2026-10-22T00:45:29.527Z"}],"updatedAt":"2026-11-25T22:59:41.080Z","epss":{"score":0.0009,"percentile":0.00433,"date":"2026-12-01T12:00:22.000Z"}}