[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091150-CVE-2025-39785-e43d@gregkh>
Date: Thu, 11 Sep 2025 18:57:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39785: drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
The local variable is passed in request_irq (), and there will be use
after free problem, which will make request_irq failed. Using the global
irq name instead of it to fix.
The Linux kernel CVE team has assigned CVE-2025-39785 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.16 with commit b11bc1ae46587f3563c47078e605184f18e7fa57 and fixed in 6.16.4 with commit 06d261a085a11600f5b577bb56a65fb2c3e57d0a
Issue introduced in 6.16 with commit b11bc1ae46587f3563c47078e605184f18e7fa57 and fixed in 6.17-rc3 with commit 8bed4ec42a4e0dc8113172696ff076d1eb6d8bcb
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-39785
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/hisilicon/hibmc/hibmc_drm_drv.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/06d261a085a11600f5b577bb56a65fb2c3e57d0a
https://git.kernel.org/stable/c/8bed4ec42a4e0dc8113172696ff076d1eb6d8bcb
Powered by blists - more mailing lists