From mboxrd@z Thu Jan 1 00:00:00 1970 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 6A47B3A785C for ; Sun, 19 Jul 2026 15:43:57 +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=1784475838; cv=none; b=bxv+lG1kBGXqVv15J8c0xhxJUz1pnlOjD7/cjX+lXXS4bf0gqtrrAUVprr/dg8567+Ru6+tidzh0hs/d6otM9dW3LJFObDBe++aN4305Wdtdf8Q0pZnc+UDdjxlVhRIU1wdiLcncNV8ud7FDzekqP2Gxx3kznhBePT96xvqgRC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475838; c=relaxed/simple; bh=c7A0l1/mu8SfwHTCNmB/Y5q00+7K5wUVAlzf3PThQ+0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ngbm4Q5+l+V2zOCHX1gweC6XV8PEZPTy8oiH7Zrdb/Ct3lk753v69ytJgz2I4ljBADknbD9MA/6AuOZnxGQ5l0BGB8GV34A93/vhgRb3GyPsgyfH4NLgiYlFzn7PvQ8sf8J9S01/3Q3Z3NtR1GV1UH/E4yl9uNzBw/yPr7V1lzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v8dZ3sst; 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="v8dZ3sst" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C90341F000E9; Sun, 19 Jul 2026 15:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475837; bh=MIw/CEF3rSQeg3xz94NJakTqS4s4SMIuei2GhknHq68=; h=From:To:Cc:Subject:Date:Reply-To; b=v8dZ3sstrfJvtvYSArIDNMGVRx6AfEaLW2NDedk87HJXtZvd9Vlu+M7Un/+FI+Dcs SnvCTg1ssWYnCsZX4NrHF/oexSdaiipodZxn3kriQNkU6Fl27tIfJOOq8/oqrPVUMR bPChUKx3OkmfbCPZuFvd0z6OB3Tz88w1724Axt6w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64103: scsi: isci: Fix use-after-free in device removal path Date: Sun, 19 Jul 2026 17:39:25 +0200 Message-ID: <2026071920-CVE-2026-64103-24fe@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=4501; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EcH2MS2ggp14+T18f1n3/bZjwM59Z5i+N3XObQnsLG4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx73NO7Zq5vU1f+OdFd+8HoXe5bkSFszLUuF/1ynqp9 VJkg/OrjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIzEmGOTwH6mJYFMyOMS6d 1PHuc9qWrmwHLoYFJ/gm/1ebJjXvenXKhHI/6fZfqfW3AA== 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: isci: Fix use-after-free in device removal path The ISCI completion tasklet is initialized in isci_host_alloc() (drivers/scsi/isci/init.c:496) and scheduled from both MSI-X and legacy interrupt handlers (drivers/scsi/isci/host.c:223,613). isci_host_deinit() stops the controller and waits for stop completion, but it never kills completion_tasklet before teardown continues. A top-of-function tasklet_kill() is not sufficient here: interrupts are only disabled when isci_host_stop_complete() runs, so until wait_for_stop() returns the IRQ handlers can still requeue the tasklet. The tasklet callback also re-enables interrupts after draining completions, so killing the tasklet before the source is quiesced leaves the same race open. Once wait_for_stop() returns, no further IRQ-driven scheduling can occur. Kill completion_tasklet there so teardown cannot race a queued tasklet running on a dead ihost. On remove or unload, the stale callback can otherwise dereference ihost and touch ihost->smu_registers after the host lifetime ends. A UML + KASAN analogue reproduced the failure class both with no tasklet_kill() and with tasklet_kill() placed before source quiesce, and stayed clean once the kill happened after quiescing the scheduling source. This mirrors commit f6ab594672d4 ("scsi: aic94xx: fix use-after-free in device removal path"), but ISCI needs the kill after wait_for_stop(). The Linux kernel CVE team has assigned CVE-2026-64103 to this issue. Affected and fixed versions =========================== Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 5.10.258 with commit 1412995e10c74644b47f242aea6e4f3d4180e806 Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 5.15.209 with commit a83d3e4daba40d49324cec1c51ed261e1ea48cf1 Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 6.1.175 with commit ab2266601a875982f2d2033f41e070a6d5e615e2 Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 6.6.142 with commit 309c6058622d080fe8c2fab87c30da82d834d989 Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 6.12.92 with commit cb9e72c50e6c81a5903f27e0b397ce8525d7539b Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 6.18.34 with commit b9ff8631006233ba246828ac70409d2cb2da38d3 Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 7.0.11 with commit 6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c Issue introduced in 3.0 with commit 6f231dda68080759f1aed3769896e94c73099f0f and fixed in 7.1 with commit b52a8d52c3125ec9a93106ed816582368de34426 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-64103 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/isci/host.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/1412995e10c74644b47f242aea6e4f3d4180e806 https://git.kernel.org/stable/c/a83d3e4daba40d49324cec1c51ed261e1ea48cf1 https://git.kernel.org/stable/c/ab2266601a875982f2d2033f41e070a6d5e615e2 https://git.kernel.org/stable/c/309c6058622d080fe8c2fab87c30da82d834d989 https://git.kernel.org/stable/c/cb9e72c50e6c81a5903f27e0b397ce8525d7539b https://git.kernel.org/stable/c/b9ff8631006233ba246828ac70409d2cb2da38d3 https://git.kernel.org/stable/c/6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c https://git.kernel.org/stable/c/b52a8d52c3125ec9a93106ed816582368de34426