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 B0A0C3DDDDB for ; Tue, 6 Oct 2026 10:24:34 +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=1791282275; cv=none; b=A3aZ+ewd0CTvr+2OuR5B5hKQC0oH09yNQa46Ck4nNrIk7Caj3CGc/mx4aBhGsI06l7LBfxK5GROFjxK9FzAdfirITvko4uVTRaw6gkXkH6CGrvEgTy1MbVAIZfV2aoPPpQMkMS6QwqmkQ8zu/QmnPCAS3H2GhCWp18tKDew9VSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282275; c=relaxed/simple; bh=zl021zyUk+GndpfXkrjSWtA0F9cq5gg03zu+/aa4MxM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pGdRwVOF1SLSgpsZj/F/KPMPXaviUrDzNutu4VfRVo63f7zpyl+6uWpgl2qEBmKH34BRO0Xdm0lh0gY6X9IZXX1cg9h7m7GY8WD2SIi5QjFXVctGVPc2futQtIjupTKhOkKg7km4w1Ieb44EqtjyydRIZfX2+b8SShOYDy5ao0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q9G6F/ZO; 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="q9G6F/ZO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCCAF1F000FF; Tue, 6 Oct 2026 10:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282274; bh=qMLeCpSoxNitJdwgnjQo1F5uodldfGVQ/fU+H8+0P+4=; h=From:To:Cc:Subject:Date:Reply-To; b=q9G6F/ZO3mZF0oED0LHdT7BIVP8UOA87kfUEopWnn+e9O3G2DXaRBABll/nNwetow d/3cYa0HevI2S8taSaCM/y1LLVAjw6kJczLfXuhtF8Y7rpAtKW/rDCR5ipVWPPZsNz u4SlTyo9dStqKzgsGIKqr/vtNPv8YwNp/inQ8i4s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98227: memstick: ms_block: destroy io_queue workqueue on removal Date: Tue, 6 Oct 2026 10:45:28 +0200 Message-ID: <2026100644-CVE-2026-98227-06fc@gregkh> X-Mailer: git-send-email 2.56.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=3213; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jOOMTFGwZhwX4i73fRGOqftJjj8ozq3T/PfnlW8Yep8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtvy9Ultpe29x9N9vxwS6Tp+T9a2NqJr/6nHA2685a 5IsMtiLO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi974xLOj2Kzv/67Xuu7z9 B5T38KrPmszjIsQw31dn46vnKaZ7XBW2cB8L7jn4Je/+VgA= 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: memstick: ms_block: destroy io_queue workqueue on removal msb_init_disk() creates the per-card ordered workqueue msb->io_queue with alloc_ordered_workqueue(). It is torn down with destroy_workqueue() only on the init error path; msb_remove() never destroys it. msb_stop() merely flushes the queue, and neither msb_data_clear() nor put_disk() free it. As a result every card insert/remove cycle leaks the workqueue and its kworker, exhausting kernel memory over repeated cycles. Destroy the workqueue in msb_remove() after the disk has been removed and the queue drained. The Linux kernel CVE team has assigned CVE-2026-98227 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 6.1.189 with commit 0ff795163f37109a134b5a421558530f8d091544 Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 6.6.158 with commit 19c3da6621a253f1f8b937ed91bc22330a930d9c Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 6.12.112 with commit 9a2e7cdc0880e735aff0968ee402f2c92a992b9b Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 6.18.54 with commit 6611f78ec3fd4b33a00bfda20725b254a22979f6 Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 7.2.8 with commit f222bb8c30cf5699c560b29179ff2bddcac1f950 Issue introduced in 3.12 with commit 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 and fixed in 7.3-rc4 with commit 90af7fde083e1b22c349c3a8b1626728e44e474c 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-98227 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/memstick/core/ms_block.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/0ff795163f37109a134b5a421558530f8d091544 https://git.kernel.org/stable/c/19c3da6621a253f1f8b937ed91bc22330a930d9c https://git.kernel.org/stable/c/9a2e7cdc0880e735aff0968ee402f2c92a992b9b https://git.kernel.org/stable/c/6611f78ec3fd4b33a00bfda20725b254a22979f6 https://git.kernel.org/stable/c/f222bb8c30cf5699c560b29179ff2bddcac1f950 https://git.kernel.org/stable/c/90af7fde083e1b22c349c3a8b1626728e44e474c