# CVE-2025-22096: drm/msm/gem: Fix error code msm_parse_deps()

- 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.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:46.933Z
- Modified: 2026-06-17T08:45:08.333Z
- 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/

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.14 before 6.14.2

## References

- <https://git.kernel.org/stable/c/efe759dcf3352d8379a1adad7b4d14044a4c41a7> (patch)
- <https://git.kernel.org/stable/c/0b305b7cadce835505bd93183a599acb1f800a05> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-22096 · Whole record: https://cve.day/CVE-2025-22096.json · Rebuilt by cve.day 2026-11-25T22:58:56.610Z
