5.5medium
drm/msm/gem: Fix error code msm_parse_deps()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/gem: Fix error code msm_parse_deps() The SUBMIT_ERROR() macro turns the error code negative. This extra '-' operation turns it back to positive EINVAL again. The error code is passed to ERR_PTR() and since positive values are not an IS_ERR() it eventually will lead to an oops. Delete the '-'. Patchwork: https://patchwork.freedesktop.org/patch/637625/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 866e43b945bf98f8e807dfa45eca92f931f3a032 before efe759dcf3352d8379a1adad7b4d14044a4c41a7, from 866e43b945bf98f8e807dfa45eca92f931f3a032 before 0b305b7cadce835505bd93183a599acb1f800a05, 6.14 Not affected: before 6.14, from 6.14.2 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.14.2 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/msm/gem: Fix error code msm_parse_deps() The SUBMIT_ERROR() macro turns the error code negative. This extra '-' operation turns it back to positive EINVAL again. The error code is passed to ERR_PTR() and since positive values are not an IS_ERR() it eventually will lead to an oops. Delete the '-'. Patchwork: https://patchwork.freedesktop.org/patch/637625/
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/gem: Corrección del código de error msm_parse_deps(). La macro SUBMIT_ERROR() convierte el código de error en negativo. Esta operación adicional "-" lo devuelve a positivo (EINVAL). El código de error se pasa a ERR_PTR() y, dado que los valores positivos no son un IS_ERR(), eventualmente generará un error. Elimine el "-". Patchwork: https://patchwork.freedesktop.org/patch/637625/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22096 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-22096 changed 2026-06-17 | Public domain |