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 622273AFCEF for ; Thu, 28 May 2026 09:42:38 +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=1779961359; cv=none; b=tpgM3VhlHIzmbdMOcs8Cx+PKXDIUOePMoC5QlNSvvHBaKO4nIt1lXChXQJyRT9z95nLRuhe5JEZStDdKYbjKUD7PpAJZif6twbrhP27MvL1/Xb5gZlq0rL5CubPrwcPhtnP02ue54BFtfK8Jjw8pQ9L1c4Pt4J2InWHjPYnZ0io= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961359; c=relaxed/simple; bh=zEpOTWO8OhEpqaJIb1X6sVXyWSIjLRXTWPKV0EloouI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C2fG7Bhl719FIuBHBJukGrn7DqEJ37Bk0ggUCRE0wVYM5mop/Wyk5TYrsWsRKXzQ3ivNsTcD35dvy0PU3bmQqA7YFMpbLYnATxdB+rqdPtVNGRfp4Vq4ZFC0VCs/hRgUlMouFZi6JHj8QuLaLnXk4txwbD2gBn7kEGXTDDLLP9I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E9jT7OyK; 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="E9jT7OyK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C94E1F000E9; Thu, 28 May 2026 09:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961358; bh=0MFLvolFsiM7Uwvoee8RWmfqSknaWIYSZUqFqvMyaDQ=; h=From:To:Cc:Subject:Date:Reply-To; b=E9jT7OyKdVyJOy/IJGKbT5uTIcrEtEcmDLhCfpdcPx3IBD5iCTCV84d8IT4zgocfd TyJZ+Rz0evHZpTiRhT3GV10JGsFP0cUFH43zuIw9ujnzOgO8Y/Atd1Ik14sWio9VDh AlvxfVK+C5SGHxsYQi7JrOqppPFwCiO4iOiPiBzs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46187: wifi: rsi: fix kthread lifetime race between self-exit and external-stop Date: Thu, 28 May 2026 11:37:32 +0200 Message-ID: <2026052831-CVE-2026-46187-98f9@gregkh> X-Mailer: git-send-email 2.54.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=3483; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JUOiUoBV7hIKk1xGKOrUn8F4G0KgE+ATlVGlWNJxvA0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPPP9vRJvKjxIFZuxW+tSVE7RFsasZ593ph4Wu3jj6 3u15potHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARsZ8Mc0UvCH6MNxXu0Zc9 e+3Lrj2/Je9MvMEwV/5DdO4sb9Opib85LotZ+U64YMQoCwA= 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: wifi: rsi: fix kthread lifetime race between self-exit and external-stop RSI driver use both self-exit(kthread_complete_and_exit) and external-stop (kthread_stop) when killing a kthread. Generally, kthread_stop() is called first, and in this case, no particular issues occur. However, in rare instances where kthread_complete_and_exit() is called first and then kthread_stop() is called, a UAF occurs because the kthread object, which has already exited and been freed, is accessed again. Therefore, to prevent this with minimal modification, you must remove kthread_stop() and change the code to wait until the self-exit operation is completed. The Linux kernel CVE team has assigned CVE-2026-46187 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and fixed in 6.6.140 with commit 95fcb436586dc3c2983537d557ac05bbc6a027f3 Issue introduced in 4.20 with commit 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and fixed in 6.12.88 with commit 16d9f674c619838bdeae42abc0929c9c5477ea1f Issue introduced in 4.20 with commit 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and fixed in 6.18.30 with commit 4f9a4ae8d2c198f01611ea376034c326ef43ab56 Issue introduced in 4.20 with commit 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and fixed in 7.0.7 with commit 4f4c9b13c485abd0a2d2c97f9db339d1dd8e147f Issue introduced in 4.20 with commit 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and fixed in 7.1-rc3 with commit db57a1aa54ff68669781976e4edb045e09e2b65b Issue introduced in 3.18.139 with commit d8f70ad66032363e3edceee81a7be2aaccb2d7f5 Issue introduced in 4.4.179 with commit ec759c0015fb7d4f5c7cb5711d2c8905724c7983 Issue introduced in 4.9.170 with commit c8ed05b1d8520f40395916438da9b38ce937a896 Issue introduced in 4.14.113 with commit ad78e2e057ab8d914a2b5e3e6acf29c3c8a428a3 Issue introduced in 4.19.36 with commit de1fd69b6541ff61177114d63af7ea719c426cf0 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-46187 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/net/wireless/rsi/rsi_common.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/95fcb436586dc3c2983537d557ac05bbc6a027f3 https://git.kernel.org/stable/c/16d9f674c619838bdeae42abc0929c9c5477ea1f https://git.kernel.org/stable/c/4f9a4ae8d2c198f01611ea376034c326ef43ab56 https://git.kernel.org/stable/c/4f4c9b13c485abd0a2d2c97f9db339d1dd8e147f https://git.kernel.org/stable/c/db57a1aa54ff68669781976e4edb045e09e2b65b