accel/amdxdna: reject command submission on devices without a submit op
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 38953513d7313992676d4136cd425cdb70c6278e, Kernel af7a4c2caa7a191d6e7ed33903b69f9901874cd0, Kernel f7d08603c87bae19ca3e424da5ab6d0aee81886e and 2 more.
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: reject command submission on devices without a submit op amdxdna_cmd_submit() calls xdna->dev_info->ops->cmd_submit() unconditionally, but only aie2_dev_ops defines that callback. aie4_vf_ops (the AIE4 SR-IOV virtual function) does not, so a user AMDXDNA_EXEC_CMD ioctl on an AIE4 device reaches a NULL function-pointer call and oopses the kernel. AIE4 submits work through a mapped user queue and doorbell, not this ioctl path. Reject the submission early with -EOPNOTSUPP when the device provides no cmd_submit op, so the shared EXEC ioctl is a clean no-op on such devices. Found by 0sec automated security-research tooling (https://0sec.ai).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=aac243092b707bb3018e951d470cc1a9bcbaba6c <38953513d7313992676d4136cd425cdb70c6278e, >=aac243092b707bb3018e951d470cc1a9bcbaba6c <af7a4c2caa7a191d6e7ed33903b69f9901874cd0, >=aac243092b707bb3018e951d470cc1a9bcbaba6c <f7d08603c87bae19ca3e424da5ab6d0aee81886e | 38953513d7313992676d4136cd425cdb70c6278e, af7a4c2caa7a191d6e7ed33903b69f9901874cd0, f7d08603c87bae19ca3e424da5ab6d0aee81886e |
| linux-kernel: Kernel | >=6.14.0 <6.18.42, >=6.19.0 <7.1.5 | 6.18.42, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket