ublk: Validate SQE128 flag before accessing the cmd
In the Linux kernel, the following vulnerability has been resolved: ublk: Validate SQE128 flag before accessing the cmd ublk_ctrl_cmd_dump() accesses (header *)sqe->cmd before IO_URING_F_SQE128 flag check. This could cause out of boundary memory access. Move the SQE128 flag check earlier in ublk_ctrl_uring_cmd() to return -EINVAL immediately if the flag is not set.
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: ublk: Validate SQE128 flag before accessing the cmd ublk_ctrl_cmd_dump() accesses (header *)sqe->cmd before IO_URING_F_SQE128 flag check. This could cause out of boundary memory access. Move the SQE128 flag check earlier in ublk_ctrl_uring_cmd() to return -EINVAL immediately if the flag is not set.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/17d33ba7291100008360b5a354962db37ad80684
- https://git.kernel.org/stable/c/31cac6acf77ece488f29fb8f79589d9298e969c8
- https://git.kernel.org/stable/c/4b4dff498f46e9802f71bc84258bf73065f51c6a
- https://git.kernel.org/stable/c/da7e4b75e50c087d2031a92f6646eb90f7045a67
- https://git.kernel.org/stable/c/dbe8e81a2ec608f87f79a34f6444cd62f6a243bb
- https://git.kernel.org/stable/c/f75a5555e0049e7857eae25b60aee98b80e287ec
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45962.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-45962