# CVE-2026-45962: ublk: Validate SQE128 flag before accessing the cmd

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-27T12:18:19.070Z
- Modified: 2026-06-17T10:52:48.343Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 71f28f3136aff5890cd56de78abc673f8393cad9 before 4b4dff498f46e9802f71bc84258bf73065f51c6a; from 71f28f3136aff5890cd56de78abc673f8393cad9 before 31cac6acf77ece488f29fb8f79589d9298e969c8; from 71f28f3136aff5890cd56de78abc673f8393cad9 before dbe8e81a2ec608f87f79a34f6444cd62f6a243bb; from 71f28f3136aff5890cd56de78abc673f8393cad9 before f75a5555e0049e7857eae25b60aee98b80e287ec; from 71f28f3136aff5890cd56de78abc673f8393cad9 before 17d33ba7291100008360b5a354962db37ad80684; from 71f28f3136aff5890cd56de78abc673f8393cad9 before da7e4b75e50c087d2031a92f6646eb90f7045a67; 6.0 (not affected: before 6.0; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.0 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/4b4dff498f46e9802f71bc84258bf73065f51c6a> (patch)
- <https://git.kernel.org/stable/c/31cac6acf77ece488f29fb8f79589d9298e969c8> (patch)
- <https://git.kernel.org/stable/c/dbe8e81a2ec608f87f79a34f6444cd62f6a243bb> (patch)
- <https://git.kernel.org/stable/c/f75a5555e0049e7857eae25b60aee98b80e287ec> (patch)
- <https://git.kernel.org/stable/c/17d33ba7291100008360b5a354962db37ad80684> (patch)
- <https://git.kernel.org/stable/c/da7e4b75e50c087d2031a92f6646eb90f7045a67> (patch)

## Sources

- CVE List: [CVE-2026-45962](https://www.cve.org/CVERecord?id=CVE-2026-45962), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-45962](https://nvd.nist.gov/vuln/detail/CVE-2026-45962), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-45962 · Whole record: https://cve.day/CVE-2026-45962.json · Rebuilt by cve.day 2026-11-25T22:59:22.523Z
