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 027C852F277 for ; Thu, 17 Sep 2026 16:42:15 +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=1789663337; cv=none; b=FMftfOU4BjR9B18dxRJVWFiNme/++WKqmqoqJf7hNYrUPdxpuSl83Rkt8fS2oHBTMsos91F1UeCZNtp3UjNHe7ZYHQYwkS3paONYKP7fJV/H0pOz8aZOUTwodgpzHt+tyNXjYAE6bejJK+5CGdrXWzPp0S+xgQcaHsSsQCBzEV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663337; c=relaxed/simple; bh=AVjBa1FIzOySl6UR5ljVF3WXwe2qouYz2ctBkvxAQHk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OsFgALbOzAqBsYFrXs8BKJzWdPopR++G7FCG5AOrN1D4ooiODB1JMmbZWbvobrRPF8qYPlB/RKxgCQVrZszpaihFB8U2oLEOQ1A+oic92koaziKRugASd2vQDHEdLAIbcCw6Xmf6XU5EnHSdBZ17S5QRmpwLl8+MjZOoFGla/M0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=V1XpWUTK; 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="V1XpWUTK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EEB41F000FF; Thu, 17 Sep 2026 16:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663335; bh=g/0Lhkmf4Im1MSXluVROzelE7/3vQAkZv7moRD1GlEc=; h=From:To:Cc:Subject:Date:Reply-To; b=V1XpWUTK19B93f6UO4XLkqsHKyVFHMKbkEPsXvEKSfjDy/BKmH9l8h2RPafBJm+cW ie7Ia/kHKqmA3w23K5qKngFQvvjPzghK7L8jITwefe/6BA4pjf23GjbOKLibYilOfm 8eOZwFzgSrPt3kD5grBjLBc1MxKXUDSvdl1+McrE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93196: nvdimm: virtio_pmem: refcount requests for token lifetime Date: Thu, 17 Sep 2026 17:17:53 +0100 Message-ID: <2026091705-CVE-2026-93196-92a7@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=3797; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QmPCFIv1eRkVdxUnaBn4DUk0tu5q7ozzbzop2H3wdaA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBO6WbTzyLFnzzieVCD8BrluB0tM9nkQvvxlvfIFrn /Ly8JQZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRkAiGBQu/PJ954Rn7pr45 jw6sNY0K1nls9pphweKCv75C183Yiv/Lu4aWdR2SFD3oAQA= 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: nvdimm: virtio_pmem: refcount requests for token lifetime KASAN reports slab-use-after-free in __wake_up_common(): BUG: KASAN: slab-use-after-free in __wake_up_common+0x114/0x160 Read of size 8 at addr ffff88810fdcb710 by task swapper/0/0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.19.0-next-20260220-00006-g1eae5f204ec3 #4 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.17.0-2-2 04/01/2014 Call Trace: dump_stack_lvl+0x6d/0xb0 print_report+0x170/0x4e2 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 ? __virt_addr_valid+0x1dc/0x380 kasan_report+0xbc/0xf0 ? __wake_up_common+0x114/0x160 ? __wake_up_common+0x114/0x160 __wake_up_common+0x114/0x160 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 __wake_up+0x36/0x60 virtio_pmem_host_ack+0x11d/0x3b0 ? sched_balance_domains+0x29f/0xb00 ? __pfx_virtio_pmem_host_ack+0x10/0x10 ? _raw_spin_lock_irqsave+0x98/0x100 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 vring_interrupt+0x1c9/0x5e0 ? __pfx_vp_interrupt+0x10/0x10 vp_vring_interrupt+0x87/0x100 ? __pfx_vp_interrupt+0x10/0x10 __handle_irq_event_percpu+0x17f/0x550 ? __pfx__raw_spin_lock+0x10/0x10 handle_irq_event+0xab/0x1c0 handle_fasteoi_irq+0x276/0xae0 __common_interrupt+0x65/0x130 common_interrupt+0x78/0xa0 virtio_pmem_host_ack() wakes a request that has already been freed by the submitter. This happens when the request token is still reachable via the virtqueue, but virtio_pmem_flush() returns and frees it. Fix the token lifetime by refcounting struct virtio_pmem_request. virtio_pmem_flush() holds a submitter reference, and the virtqueue holds an extra reference once the request is queued. The completion path drops the virtqueue reference, and the submitter drops its reference before returning. The Linux kernel CVE team has assigned CVE-2026-93196 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 6e84200c0a2994b991259d19450eee561029bf70 and fixed in 6.18.52 with commit be072a5d5e35f4bdf2da22f600b5d6dc6c5ff491 Issue introduced in 5.3 with commit 6e84200c0a2994b991259d19450eee561029bf70 and fixed in 7.2.6 with commit b1e740b9156621afd4c4aa66257f4dde8df1febe Issue introduced in 5.3 with commit 6e84200c0a2994b991259d19450eee561029bf70 and fixed in 7.3-rc1 with commit e57140944b5a47a7fd5a142faab29a02af040bc8 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-93196 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/nvdimm/nd_virtio.c drivers/nvdimm/virtio_pmem.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/be072a5d5e35f4bdf2da22f600b5d6dc6c5ff491 https://git.kernel.org/stable/c/b1e740b9156621afd4c4aa66257f4dde8df1febe https://git.kernel.org/stable/c/e57140944b5a47a7fd5a142faab29a02af040bc8