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 69B2620AF92 for ; Tue, 1 Apr 2025 15:41:25 +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=1743522085; cv=none; b=pCDtmmDkMHAOWFbn/BIoeQlUj9m3VnXv4yjwJj6FDMOVhHgKxfASoGU7Oe0+24E39IFjupaWvh0StKdeQ6PIHDiB4Su766hJQW0UdNUDw0Qv/IUkacX+yexIIR2a8NYY7mV+WjnCZsL1Qe+d4eojotMgEcyR640KA16/S1XZ8RQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522085; c=relaxed/simple; bh=Z9zlTHL3ToeEh4jCHa8tYwy753r2rr3Ty2iXt79rBg4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=daiAzMA0IUN6cYrrtFcuTG202wt49r9qkFAq7EDXwCd2K9i9nv/HyyEPS11rBWXfm5UeqNJmupkTS5jOv3/LnFt77bBYfNKI+ttH7gUqsMMYCugCPdyz07W7rpeipqOx8lw/y7Pn4ogcqrgwC3BRfNOZ590I+egaHvLeHxAUPtI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SN4ULD1m; 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="SN4ULD1m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E5A7C4CEE4; Tue, 1 Apr 2025 15:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522084; bh=Z9zlTHL3ToeEh4jCHa8tYwy753r2rr3Ty2iXt79rBg4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SN4ULD1ml3Or9Ew9miFthjfhKRaA2qsm+HbKS28hlJ1gVq5Pl+KWQCmAbNkPhtDb/ JdutoPndSaeNIFCi1XZUGNsN1+s2NepkzCnD5uIWniPRiTt1dc5KpWVYq/oe3uOOqp Nog2MhWu141uaeM9QdlLoCxtHjJsWxc9tW+XBe08= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21917: usb: renesas_usbhs: Flush the notify_hotplug_work Date: Tue, 1 Apr 2025 16:39:41 +0100 Message-ID: <2025040131-CVE-2025-21917-8a54@gregkh> X-Mailer: git-send-email 2.49.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=3503; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z9zlTHL3ToeEh4jCHa8tYwy753r2rr3Ty2iXt79rBg4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvODZ/bd2Re29GycLpYQnMR+qNiqYktHb7XhJfc8Z3a fVXhff3O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi72cxLDhqw254I/7T5idP 2ovaGYJ0L90vEGNYcLK8/p1qx7QHC05PcLQrXXc5uadNBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: renesas_usbhs: Flush the notify_hotplug_work When performing continuous unbind/bind operations on the USB drivers available on the Renesas RZ/G2L SoC, a kernel crash with the message "Unable to handle kernel NULL pointer dereference at virtual address" may occur. This issue points to the usbhsc_notify_hotplug() function. Flush the delayed work to avoid its execution when driver resources are unavailable. The Linux kernel CVE team has assigned CVE-2025-21917 to this issue. Affected and fixed versions =========================== Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 5.4.291 with commit 4cd847a7b630a85493d0294ad9542c21aafaa246 Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 5.10.235 with commit 394965f90454d6f00fe11879142b720c6c1a872e Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 5.15.179 with commit 3248c1f833f924246cb98ce7da4569133c1b2292 Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 6.1.131 with commit 4ca078084cdd5f32d533311d6a0b63a60dcadd41 Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 6.6.83 with commit d50f5c0cd949593eb9a3d822b34d7b50046a06b7 Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 6.12.19 with commit e5aac1c9b2974636db7ce796ffa6de88fa08335e Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 6.13.7 with commit 830818c8e70c0364e377f0c243b28061ef7967eb Issue introduced in 3.0 with commit bc57381e634782009b1cb2e86b18013699ada576 and fixed in 6.14 with commit 552ca6b87e3778f3dd5b87842f95138162e16c82 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-21917 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/usb/renesas_usbhs/common.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/4cd847a7b630a85493d0294ad9542c21aafaa246 https://git.kernel.org/stable/c/394965f90454d6f00fe11879142b720c6c1a872e https://git.kernel.org/stable/c/3248c1f833f924246cb98ce7da4569133c1b2292 https://git.kernel.org/stable/c/4ca078084cdd5f32d533311d6a0b63a60dcadd41 https://git.kernel.org/stable/c/d50f5c0cd949593eb9a3d822b34d7b50046a06b7 https://git.kernel.org/stable/c/e5aac1c9b2974636db7ce796ffa6de88fa08335e https://git.kernel.org/stable/c/830818c8e70c0364e377f0c243b28061ef7967eb https://git.kernel.org/stable/c/552ca6b87e3778f3dd5b87842f95138162e16c82