{"id":"CVE-2026-98145","revision":"1495b277d15541a9bd29dc6305d1c600","records":[{"revision":"1495b277d15541a9bd29dc6305d1c600","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98145","aliases":[],"title":"accel/amdxdna: reject a command chain that carries no commands","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: reject a command chain that carries no commands\n\nA chain whose command_count is zero passes the payload length check,\nbecause struct_size(payload, data, 0) is just the header. The fill loop\nthen does not run, so offset stays zero and the request is submitted with\na zero-length buffer.\n\nOn firmware without AIE2_NPU_COMMAND that ends at the opcode check, since\nop is still ERT_INVALID_CMD and aie2_get_chain_msg_op() answers\nMSG_OP_MAX_OPCODE. aie2_get_npu_chain_msg_op() answers\nMSG_OP_CHAIN_EXEC_NPU whatever it is given, so there the submission\ncontinues to drm_clflush_virt_range(cmd_buf, 0), which reads the byte\nbefore the buffer and faults on the vmap guard page. EXEC_CMD is\nreachable by any process that can open the render node.\n\nReject the request instead.","state":0,"publishedAt":"2026-09-25T10:36:19.692+00:00","modifiedAt":"2026-10-19T09:14:38.597+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/accel/amdxdna/aie2_message.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"8ed8b02396172b137ca8c78c3cb999ddf4fb0bbf\",\n                            \"lessThan\": \"ed74e8d603df457bfcf16ed4f8f1660a1525759e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8ed8b02396172b137ca8c78c3cb999ddf4fb0bbf\",\n                            \"lessThan\": \"ef6d27af71e1dc43181ec797a6aaa77c27c36786\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/accel/amdxdna/aie2_message.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/ed74e8d603df457bfcf16ed4f8f1660a1525759e","https://git.kernel.org/stable/c/ef6d27af71e1dc43181ec797a6aaa77c27c36786"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98145","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98145","identifiers":["CVE-2026-98145"]},"retained":false,"historicalAffected":[]}],"coverage":[]}