From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A779B35E4D9 for ; Thu, 11 Sep 2025 16:57:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609851; cv=none; b=qZV20kmwH/sCC4x7kkSNk9TfKBzPaBKO0knYA1GgViWki9YFhe9/Byb6mKJSynS4CDzkMDDjz1DXaFAvT8Spy9zdv4TziiGX+F0KSDDSzhSuKOe4mrkb+YSy99eij+wUEa9I5OPCWhCwlh+b/gQOWJ8tOwXeQsr8Qq1n6FV7W3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609851; c=relaxed/simple; bh=VZN5ug2qx7sl9dVCaEwUXw5yYst1CR23i09/Mc+x788=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KPWxvordKlaGZVg73ccnrviKtwqD+2P8KFyiuWMLZRKzS07Q+Fk/rdPot49H3J1lg2JaxpXn87/UUKnxbl/E80MyBdFg+J44y+V1m6XzfcV/xphbKUkWcZGKfUqikDITFxSLHE0qm6rj0g0V/J7IwsQc668B3gdrC5k+n7bm0xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s9rQh9C6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="s9rQh9C6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1F31C4CEF0; Thu, 11 Sep 2025 16:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757609851; bh=VZN5ug2qx7sl9dVCaEwUXw5yYst1CR23i09/Mc+x788=; h=From:To:Cc:Subject:Date:Reply-to:From; b=s9rQh9C65+qWDjw3C45A4b6InubkZHT5cXC39WrhSix3ECvrsBYVUzAdUmxVFw8iD 79OBrqkpzH1rFLR7QV4sl734usif2uj+dgKOe3o4d/XcKITGHX7B0mtbpV++hxsF1O 3km31lTJJN1j8IoxuVRuE51jgmStcBKd1NdQV4fc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39785: drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local Date: Thu, 11 Sep 2025 18:57:03 +0200 Message-ID: <2025091150-CVE-2025-39785-e43d@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1977; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iTAQzidHjBL1iS1AEEKgcpbvbgeDn4/zTWVa1kWhWpw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmH/gcHNb4uvHJop++Md8+7l9p/eOY6KfGW2Urp7zV7g m+rfY3M6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHKpnmB95NzRnqcXyy8pP +QoUd5r3fOU1KmaYp2M438Z2i0GzWNVzT4tCmasLqnfaAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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