[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050218-CVE-2023-53084-b380@gregkh>
Date: Fri, 2 May 2025 17:55:49 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53084: drm/shmem-helper: Remove another errant put in error path
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/shmem-helper: Remove another errant put in error path
drm_gem_shmem_mmap() doesn't own reference in error code path, resulting
in the dma-buf shmem GEM object getting prematurely freed leading to a
later use-after-free.
The Linux kernel CVE team has assigned CVE-2023-53084 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10 with commit f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a and fixed in 5.10.176 with commit 684c7372bbd6447c2e86a2a84e97a1478604d21f
Issue introduced in 5.10 with commit f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a and fixed in 5.15.104 with commit 5cfb617967b05f8f27e862c97db1fabd8485f4db
Issue introduced in 5.10 with commit f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a and fixed in 6.1.21 with commit dede8c14a37a7ac458f9add56154a074ed78e7cf
Issue introduced in 5.10 with commit f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a and fixed in 6.2.8 with commit 77d26c824aa5a7e0681ef1d5b75fe538d746addc
Issue introduced in 5.10 with commit f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a and fixed in 6.3 with commit ee9adb7a45516cfa536ca92253d7ae59d56db9e4
Issue introduced in 5.9.5 with commit 4655afcf0e3874af03afff8c8704b52350bdba47
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-2023-53084
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/drm_gem_shmem_helper.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/684c7372bbd6447c2e86a2a84e97a1478604d21f
https://git.kernel.org/stable/c/5cfb617967b05f8f27e862c97db1fabd8485f4db
https://git.kernel.org/stable/c/dede8c14a37a7ac458f9add56154a074ed78e7cf
https://git.kernel.org/stable/c/77d26c824aa5a7e0681ef1d5b75fe538d746addc
https://git.kernel.org/stable/c/ee9adb7a45516cfa536ca92253d7ae59d56db9e4
Powered by blists - more mailing lists