[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011511-CVE-2024-57887-db31@gregkh>
Date: Wed, 15 Jan 2025 14:06:10 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-57887: drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
The host_node pointer was assigned and freed in adv7533_parse_dt(), and
later, adv7533_attach_dsi() uses the same. Fix this use-after-free issue
by dropping of_node_put() in adv7533_parse_dt() and calling of_node_put()
in error path of probe() and also in the remove().
The Linux kernel CVE team has assigned CVE-2024-57887 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.8 with commit 1e4d58cd7f888522d16f221d628356befbb08468 and fixed in 6.6.70 with commit 1f49aaf55652580ae63ab83d67211fe6a55d83dc
Issue introduced in 4.8 with commit 1e4d58cd7f888522d16f221d628356befbb08468 and fixed in 6.12.9 with commit ca9d077350fa21897de8bf64cba23b198740aab5
Issue introduced in 4.8 with commit 1e4d58cd7f888522d16f221d628356befbb08468 and fixed in 6.13-rc6 with commit 81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8
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-2024-57887
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/bridge/adv7511/adv7511_drv.c
drivers/gpu/drm/bridge/adv7511/adv7533.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/1f49aaf55652580ae63ab83d67211fe6a55d83dc
https://git.kernel.org/stable/c/ca9d077350fa21897de8bf64cba23b198740aab5
https://git.kernel.org/stable/c/81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8
Powered by blists - more mailing lists