Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
accel/amdxdna: reject command submission on devices without a submit op
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).
References
Affected products
Linux
- <38953513d7313992676d4136cd425cdb70c6278e
- ==6.14
- <af7a4c2caa7a191d6e7ed33903b69f9901874cd0
- =<*
- =<6.18.*
- <6.14
- =<7.1.*
- <f7d08603c87bae19ca3e424da5ab6d0aee81886e