Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099910; b=cwFg29qw4kZeKhtyDnJUD0ySccYKVJpTLrdeaC5WcZVt+QObcb8MMpGna970CBfCk1Tb O1hIjJAc0PBbGeHhWV8wndByvKe/KFV1K9ipFsmZGJtY4H2pOQc2RjO1jNEd+hgwwU1ya tmPKqNkE/L2yul1RBU5IHDKEk1T3AIDOGvKUp1fDqjWpfWghP1yXP1dsYQcLwPceZjBWy vYCPzk/ICdaG+5ivv3MxzG1Kw0Sq9+fKtVrrvV36tIhzaBQkR87W7BbrAzWzjVDss94I8 tDLNGW3/B4keELs0PrOkN29wGTj1OZkjZFee6onZ+KvJvzIGsarn9kk9LPYDrssY1kQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099910; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=fHsZSF/DpgXfpbhW6T1N12w7E+7rwb0hNyGkhl9Iwfg=; b=s5QZ+0jLowfjGneDNIhEoymMnF+V/qCjGhRso6qEwiwDO4utDyxOUDoQJQ8HA5hPco7Y jph9OMAwOtw3Hueo3gChK7pzVRkUKEmAXp6Lxj+ypTsin7qRowGv/vkQYPZ1SBd7Ug6o/ Y0Eg1qQYe98GV15mByzKmIy3NDjTGLk+Wy96mIMNsRzL6vKLX+GplPI6sTGqz1Yl0XNX1 jLPk7r5nFKZ+/NETH64KgBadfcEnCVuXPHFrguJzoKswW6aLnM0YApFx7Bo1K4vils5vE lOmLa5if4iqexmoBbjgX/Wv4oBRr4OebAFbdjRNNOEfliIoT2tA36pOvs7uoWIxk00Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="WsS/ZQX/"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 173CC606A333 for ; Thu, 19 Nov 2026 14:51:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=WsS/ZQX/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9A2B1F000C6; Thu, 19 Nov 2026 14:51:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099909; bh=fHsZSF/DpgXfpbhW6T1N12w7E+7rwb0hNyGkhl9Iwfg=; h=From:To:Cc:Subject:Date:Reply-To; b=WsS/ZQX/n1bJ87VQNFJNcAVOHVY53srwkIuvIBpHHljpOnsDH5H5GvtsGfbYxiT2V QqmHZUw59BD30h1hZn/pqE2RsOjaDphBwVxeEtaxyv7cmmAC+A8/El+UO59nvYNUz8 zVsIfA4iFit3f5mDZ+xPzoi6s6c8WQh/ZnuDVlz0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99456: scsi: dc395x: sync the waiting_timer before freeing the host Date: Thu, 19 Nov 2026 15:25:54 +0100 Message-ID: <2026111907-CVE-2026-99456-797c@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3237; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3n5bTMlGgpt1EfDAFle48iYF88QOfN2jUaWbowHuoLY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2TruzVwX1fZgLvvaNys/5N/5fd7gJ/siBmuG+KM5p TVGzmo6HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRE14M86vdN2ZMO5y1XbZQ p91xa8X75owD4QwLrtz+dL1n5RGDCec42PsEd1/Suld9DgA= 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: scsi: dc395x: sync the waiting_timer before freeing the host The waiting_timer callback re-arms itself and takes the host lock. adapter_uninit() currently stops it with timer_delete(), which does not wait for a callback already running on another CPU. The final scsi_host_put() that frees the host (and the host lock the callback dereferences) runs right after adapter_uninit(), so a concurrent or just re-armed callback can fire after the free, leaving a potential use-after-free window. Replace timer_delete() with timer_shutdown_sync() at the top of adapter_uninit(), before the host-lock section: the timer is dequeued, a running callback is waited for and rearming is blocked before the chip is halted, so it cannot fire at all once the adapter has ceased to function. Waiting outside the lock avoids the self-deadlock that would result from syncing a callback blocked on the lock we still hold. No shutdown is needed for selto_timer because it has no reachable armer or callback. This issue was found by an in-house static analysis tool. The Linux kernel CVE team has assigned CVE-2026-99456 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.117 with commit 0b65c96e51e6aac86f2db251b5bdc5255294a107 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.61 with commit a79de0e5e66bd0b69b38c855413a9e3a82926b24 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3.2 with commit bd04acf9b9d589d93823bfeeea9932cd9ce4ee48 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.4-rc1 with commit 0b1a79f2791a06f139dce5450e487307cf0e241f 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-99456 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/scsi/dc395x.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/0b65c96e51e6aac86f2db251b5bdc5255294a107 https://git.kernel.org/stable/c/a79de0e5e66bd0b69b38c855413a9e3a82926b24 https://git.kernel.org/stable/c/bd04acf9b9d589d93823bfeeea9932cd9ce4ee48 https://git.kernel.org/stable/c/0b1a79f2791a06f139dce5450e487307cf0e241f