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 7BBD949550A for ; Fri, 25 Sep 2026 10:34:20 +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=1790332461; cv=none; b=UOw00FKq4QA/rg/BTmZvnc6dC+RbjMcmoaomF3CRzCUbsFGYqfU12gpb4mRS3E3RdbKlq358eO7z3Vxqk5/QoBeY73W7yPWkJqEApXRHDeGyLZS2ZIB8geljk3wCVyxsqZB/rxhlI+kLZZ47EdrpBUmQ72F8M+U3Y02lNxqHqGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332461; c=relaxed/simple; bh=5zSbxgliGWEpHxs+PtL6is/vV7xTOdG4M73w4W/ZT54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jOTmTBeqKrTfd+dbnmkZprKCqTBCt7WO4ZZsWmvXZk7JoN88Odq96R08mJNVf1eH1Lj3v+C3BsChyycl6tpw+lB+9vs6b18cT97sXwOj89Tk1fV3eiEHKjx5TXmZRfBlysD6uM3BbEZZo5mtEnxVhHfTT+HW1JGwBvRyjrCpub0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=am+TlXZK; 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="am+TlXZK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFF111F000FF; Fri, 25 Sep 2026 10:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332460; bh=BmiAza/96yMMucLtdGPyEovyiMYo9P5/oUOgQEm38V4=; h=From:To:Cc:Subject:Date:Reply-To; b=am+TlXZKoZHmfEEl6FM23mSCex2/9RRvqBXToBpdvefmfukfkO8MkOzq71Y5tXB7V jvVU8rlt193O1K3SCkQVTakvnrIXBkNFTYB4kuxWJZlAYyBAfQa/+4iBFfwdGFSJLb IeCUBonOG6tiR5bA+Jy7mbRajuQph0DqL95gyEsg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97989: vduse: validate virtqueue alignment Date: Fri, 25 Sep 2026 12:24:52 +0200 Message-ID: <2026092521-CVE-2026-97989-074a@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=2957; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=10rkYft94RDg1T26lzTRzO9mZGaEEtSV4EnpbEX0nZY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvGOXOJ2z9N4oWd5cffYR/2cnk2csc+aubP957tKyN W98NRWndsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEnMwY5gr5c1/1Z74jxK+b vTH7zYr9s+7sXMcwv8bhgnfohKw21gLRs6uVBAxT5V+7AQA= 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: vduse: validate virtqueue alignment vduse_validate_config() only checks the upper bound of vq_align. Invalid values can therefore reach vring_create_virtqueue_map(). The split-ring helpers use align - 1 as a bit mask, so the alignment must be a non-zero power of two. A zero value makes vring_size() drop the descriptor and available-ring part and vring_init() leave the used ring pointer NULL. The VIRTIO spec requires the used ring to start at an address aligned to at least 4 bytes. Reject values below VRING_USED_ALIGN_SIZE as well as non-power-of-two values before they reach the virtio ring helpers. Opening a virtio-net device created with vq_align=0 triggered: BUG: KASAN: null-ptr-deref in virtqueue_kick_prepare_split+0xe3/0x100 Read of size 2 at addr 0000000000000000 by task systemd-network/1062 Call Trace (relevant frames): dump_stack_lvl print_report kasan_report __asan_load2 virtqueue_kick_prepare_split+0xe3/0x100 virtqueue_kick_prepare+0x40/0x60 try_fill_recv+0x857/0x1250 virtnet_open+0x189/0x460 __dev_open+0x225/0x390 __dev_change_flags+0x368/0x3b0 netif_change_flags+0x56/0xc0 do_setlink.isra.0+0x68c/0x1e30 Validate the value before it reaches the virtio ring helpers. The Linux kernel CVE team has assigned CVE-2026-97989 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 7.2.7 with commit c3c3b0839a1197530cc18f535062fc84dbdfc885 Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 7.3-rc3 with commit fa2c25b4add57888acfa89e398389e267bff3dcf 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-97989 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/vdpa/vdpa_user/vduse_dev.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/c3c3b0839a1197530cc18f535062fc84dbdfc885 https://git.kernel.org/stable/c/fa2c25b4add57888acfa89e398389e267bff3dcf