CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of command submissions for AIE4 devices lacking a defined command submission operation, which can lead to a kernel crash due to a NULL function-pointer dereference. This issue could disrupt system stability and should be prioritized by organizations using Linux systems with AIE4 hardware, particularly in environments where uptime is critical. Immediate attention is recommended to mitigate potential operational impacts.
Original NVD Description
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).