Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CD71239099 for ; Wed, 18 Mar 2026 17:41:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855709; cv=none; b=b3D6ySAZDDXAGOTLhXj67MVqu8koFA9Wi/b5l8nj3LHeg6j/gP8d4bpNet7fI8Eg69iauAsm2059Y0byQe/B00H2KQC3sTQ5nBqYIxBMXFEkV4IGi1A3d4bRPwer2iXyhUW1L149mK2EsPE88HBGf3Mxe51gMSYMdmnZtTRB+kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855709; c=relaxed/simple; bh=LZdKILl2w+hL7XD4nhv8q1JZgKNeomZnMPK7b5YKpnY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nszLGE6L/M1SPdK1dB+KfzR8UizvUCGDoLLG+u980a0zjmPfF7XiWuQ/CzoOwlVqMNG0rQL3/R3T4pUfD4DpqNbPdjeTJyxr8TGFDe+UNlRNzi+NagKlrRa2hmdfFfwTTT22kSWzc0KPtt2YmsM0WklSa0sRphE+NjO8EH9Syq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Jx185DpK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Jx185DpK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3624C19421; Wed, 18 Mar 2026 17:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773855709; bh=LZdKILl2w+hL7XD4nhv8q1JZgKNeomZnMPK7b5YKpnY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Jx185DpKsUjohuhtZmICEDNKUmBI54huwyqPDlWsyXw/wpzCub7zfuTKPHtZohSyy q09Hy2qDWJgit5en558SdB+qYhkW6jV+NImZnxb8i4i+hwc9rX+HzwtCjPBqqv3IxE hKuf3p/iV/PubiWfInO2MdODIa2YxSAJsprOSKoc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23256: net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup Date: Wed, 18 Mar 2026 18:41:19 +0100 Message-ID: <2026031818-CVE-2026-23256-b93b@gregkh> X-Mailer: git-send-email 2.53.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=3271; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gFFYIGwg12R57p4GnChFbzc505qstNLexeB87NvqEGM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7Hu8TnRDHmKYjvLFi0perP+as8ldzO7qr09a414/tg jzP2g27OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiIeIMCzY+b7X+sMEh9lS4 9PQjJll3My3vXWKYX5Cpmx1z5skRzY6NSRUb+ZflvrG8CQA= 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: net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup In setup_nic_devices(), the initialization loop jumps to the label setup_nic_dev_free on failure. The current cleanup loop while(i--) skip the failing index i, causing a memory leak. Fix this by changing the loop to iterate from the current index i down to 0. Compile tested only. Issue found using code review. The Linux kernel CVE team has assigned CVE-2026-23256 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 5.10.250 with commit bd680e56e316be92c01568be98d85d7a6c9bd92c Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 5.15.200 with commit 01fbca1e93ec3f39f76c31a8f9afa32ce00da48a Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 6.1.163 with commit 71a56b89203ec7e5670d94a61a9b4ae617eca804 Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 6.6.124 with commit 3bf519e39b51cb08a93c0599870b35a23db1031e Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 6.12.70 with commit 52b19b3a22306fe452ec9e8ff96063f4bfb77b99 Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 6.18.10 with commit 4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd Issue introduced in 4.10 with commit 846b46873eeb3baf40f7e6d8fe8f98aec95e7727 and fixed in 6.19 with commit 6cbba46934aefdfb5d171e0a95aec06c24f7ca30 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-23256 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/net/ethernet/cavium/liquidio/lio_vf_main.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/bd680e56e316be92c01568be98d85d7a6c9bd92c https://git.kernel.org/stable/c/01fbca1e93ec3f39f76c31a8f9afa32ce00da48a https://git.kernel.org/stable/c/71a56b89203ec7e5670d94a61a9b4ae617eca804 https://git.kernel.org/stable/c/3bf519e39b51cb08a93c0599870b35a23db1031e https://git.kernel.org/stable/c/52b19b3a22306fe452ec9e8ff96063f4bfb77b99 https://git.kernel.org/stable/c/4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd https://git.kernel.org/stable/c/6cbba46934aefdfb5d171e0a95aec06c24f7ca30