[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025041619-CVE-2025-22096-f14d@gregkh>
Date: Wed, 16 Apr 2025 16:13:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22096: drm/msm/gem: Fix error code msm_parse_deps()
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/
The Linux kernel CVE team has assigned CVE-2025-22096 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 866e43b945bf98f8e807dfa45eca92f931f3a032 and fixed in 6.14.2 with commit efe759dcf3352d8379a1adad7b4d14044a4c41a7
Issue introduced in 6.14 with commit 866e43b945bf98f8e807dfa45eca92f931f3a032 and fixed in 6.15-rc1 with commit 0b305b7cadce835505bd93183a599acb1f800a05
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-22096
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/msm/msm_gem_submit.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/efe759dcf3352d8379a1adad7b4d14044a4c41a7
https://git.kernel.org/stable/c/0b305b7cadce835505bd93183a599acb1f800a05
Powered by blists - more mailing lists