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 A53253CF673 for ; Thu, 24 Sep 2026 16:24:42 +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=1790267083; cv=none; b=hYG7zA7h8DzA/mBUxh9Wl+usMr9e6GN5QDOm6mtIZlRr3+y/gLJlSFrnjvIRJuE1N41hWG7t+h9Nd27mm2fi5W2uIuWv2a56klXP1umsV1LUXsaeRW3ZKp6eM984Oh1u+LumTRlogIeCne39qm6/v09DEbMhmbl6ilVfJZQsfD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790267083; c=relaxed/simple; bh=pOj6YZhNNE4p6E2s2tYukzHOMWR+ksdNEHdH1AVaCa0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n7y3nuB9RXdgW6br15AE74YN3qX2KTMDE/rlkmnsluXXODSeMxnepoAjRg80WG6jXqY9k7/3VnzlIjmi6/MmDGJCzY+HGPJ4I6QXQXRY69Z2ijMcmcfWIRW57MppP1Rk/KP0icIrMca1MvRRPLtngfkvyNduLzsAiD3tPB7PDX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QWSjX32J; 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="QWSjX32J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6C461F000FF; Thu, 24 Sep 2026 16:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790267082; bh=qMuhTB2A7NJleEpyGIs8I+RFbVZcsbn7nrOAfUWZjEI=; h=From:To:Cc:Subject:Date:Reply-To; b=QWSjX32J1GBYmbqIw8pUc5I49zs34MAmYe7+l+Zoh0+uyt7ya2sCsB8FNtF6R900Z VfICm2JNzng2/oPRtf9k4iihaldF9gfUkc1D7ZXiUOnhtgWMN3tAWH4kBMo5jHYy9+ hHJpHEKWm9IMjdm3fvU3BOifAX8vNDNqs7CjQ7XI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97506: crypto: ixp4xx - fix buffer chain unwind on allocation failure Date: Thu, 24 Sep 2026 18:04:31 +0200 Message-ID: <2026092442-CVE-2026-97506-0aa5@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=2580; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=efYx8xiIfNZd/pIbidOW9XoZSXKNQml+hilmkVeW+l8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPRdd/T3nHVfV/w06ukFlM1xP2XF/U/feF+LGfvNOr 9OXm/ffd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELHwY5ifGMktOeff50JeP R10mP50vwKe+/AXD/AqliXNLLjAVGiS9nlPtvNRkiYOnMAA= 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: crypto: ixp4xx - fix buffer chain unwind on allocation failure chainup_buffers() builds a linked list of buffer descriptors for a scatterlist. If dma_pool_alloc() fails while constructing the list, the current code sets buf to NULL and later dereferences it unconditionally at the end of the function: buf->next = NULL; buf->phys_next = 0; This can lead to a null-pointer dereference on allocation failure. If the failure happens after part of the descriptor chain has already been allocated and DMA-mapped, the partially constructed chain also needs to be released. Fix this by terminating the partially constructed chain on allocation failure and letting the callers unwind it via their existing cleanup paths. Also fix ablk_perform() to preserve the hook pointers before checking for failure, so partially built chains can be freed correctly. The Linux kernel CVE team has assigned CVE-2026-97506 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 04cb00106ca4d0fa9eca24cadc4eda6036e855c8 Fixed in 6.18.53 with commit 028a7f4f3d69e551f6bf9f728d547bbf4cfc707d Fixed in 7.2 with commit 25056329384010a8672552b134f609601dc4f80e 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-97506 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/crypto/intel/ixp4xx/ixp4xx_crypto.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/04cb00106ca4d0fa9eca24cadc4eda6036e855c8 https://git.kernel.org/stable/c/028a7f4f3d69e551f6bf9f728d547bbf4cfc707d https://git.kernel.org/stable/c/25056329384010a8672552b134f609601dc4f80e