Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 EDAD051DDFA for ; Thu, 17 Sep 2026 16:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662676; cv=none; b=FxgGKT5BpdiRiPOunyDeYERE1yW7cnb4YMYb32KM/FVZ8BQDe8r9nqglCZ60XZAEJSkWIY0oeap9IDTCmIbGzDP4295hcH3HnDK4co5HxzDn/GvBoTLrK+B+EdgiiAEI0M6cwiZGkg3Y6JLcqhgoN8O7it+BZ8zh//OZiY1Q6o4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662676; c=relaxed/simple; bh=UPPDu6QJOsNOoogvNF7jy0wwG7gIcGm2mX4LUBe8znc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lS7fvds4Td3AV7IQCcG55MOogNxX29GouwB2b9zHPsmf101bRBEhQ/FnYJxhTIUn5hw/MIwz9N34laq0q1nYsd4d+dR7FXarJ8GEUFB4A1eea4rZK52gvo5KTmLsxUOkV/GCpe1EGI1HxnRJIfqiBpwoX/oHBq4wftxvDcyXANM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oEwkRzeZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oEwkRzeZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 708111F000FF; Thu, 17 Sep 2026 16:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662674; bh=0v9UgQnCvpZww5rr5dE3+nfMvW/a6K0Dk0/LfHTzckQ=; h=From:To:Cc:Subject:Date:Reply-To; b=oEwkRzeZBN3o7tzxBiVf8WQXv57qHTW4JHswOLsJf0pH6xNRnu/OJtcI3zB0oGFyu rNQ+n+pTHiJ8NI/LJypHTqR9lrz2AIHK9P7T5KhINDaTGa5kEp53QfwQqmX6i8acGt 1ew0Pz6EFK9fxyux8k2bdbAtcrT+XD6+DvVhBRNo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90431: remoteproc: Prevent crash handling to race with rproc_del() Date: Thu, 17 Sep 2026 17:14:21 +0100 Message-ID: <2026091720-CVE-2026-90431-23e4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4495; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nVmrE0rxQ94NMjtdE36NmpcDaeheKD1xSVoj4pG6YHk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBDakLTuhypcntqOy5Y/rXOld0kE7P7xh4nSLuFDj8 +QS38IfHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRuokM8yPak0sXrniotySm /EXBXJUfetG3fRkWbF+1vO4C53bpQsc2p4CFZmp3WsSEAQ== 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: remoteproc: Prevent crash handling to race with rproc_del() There's no synchronization between rproc_crash_handler_work() and rproc_del(), as such it's possible for a driver to be removed while crash-handler work is scheduled, or even executing - resulting in use-after-free issues. To avoid this the scheduled work need to be cancelled and synchronized against before the removal proceeds. In order to ensure that this doesn't race with the reporting, and thereby scheduling new work, a "deleting" flag is introduced. This is similar to the RPROC_DELETE state that was introduced to ensure that "start" didn't race with rproc_del(), but the existing mechanism can not be used as it's valid to call rproc_report_crash() in atomic context - and the "state" is protected by a mutex. In the event that work is cancelled the pm_stay_awake() is left unbalanced and need to be unrolled. The blocking and cancelling of crash-handler work prior to the actual rproc_shutdown() call does have the explicit side-effect that crashes resulting from the shutdown process will not enter the crash-handling path, and as such will not generate devcoredumps etc. Due to the existing mutual exclusion between these code paths there's no concrete reduction in functionality, but further work would be needed to handle this case. The Linux kernel CVE team has assigned CVE-2026-90431 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 5.10.270 with commit 50f232c26298923d39a48dc8e03d1732e5a5dcf1 Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 5.15.221 with commit 69af36f1fb7d24d287662fef6b2093bcf847a9db Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 6.1.188 with commit a8a62cb4d2f3fd6aa06e86f1711c62d2a4cf17d5 Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 6.6.157 with commit 47de033918cd772146f7438aa04471c020b2dedc Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 6.12.110 with commit a31d9562eeec5c4103c202fc87651f6e7d3d0035 Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 6.18.52 with commit f15cde11298402f803d5dda9cb9f95eea3d2ca40 Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 7.2.6 with commit 61862ed651b2493573e6d2192d5640bc6616f5d0 Issue introduced in 3.7 with commit 8afd519c3470f685f964deebd61aa51d83cde90a and fixed in 7.3-rc1 with commit 74ee3b2f5767447c57959994341e5b95f1079977 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-2026-90431 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/remoteproc/remoteproc_core.c drivers/remoteproc/remoteproc_sysfs.c include/linux/remoteproc.h 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/50f232c26298923d39a48dc8e03d1732e5a5dcf1 https://git.kernel.org/stable/c/69af36f1fb7d24d287662fef6b2093bcf847a9db https://git.kernel.org/stable/c/a8a62cb4d2f3fd6aa06e86f1711c62d2a4cf17d5 https://git.kernel.org/stable/c/47de033918cd772146f7438aa04471c020b2dedc https://git.kernel.org/stable/c/a31d9562eeec5c4103c202fc87651f6e7d3d0035 https://git.kernel.org/stable/c/f15cde11298402f803d5dda9cb9f95eea3d2ca40 https://git.kernel.org/stable/c/61862ed651b2493573e6d2192d5640bc6616f5d0 https://git.kernel.org/stable/c/74ee3b2f5767447c57959994341e5b95f1079977