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 8F405405C23 for ; Wed, 27 May 2026 13:01:21 +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=1779886882; cv=none; b=DXdMvTGZdGRw5hH73vOaOfP/FNyoQp8OMGhAieiiC7EHOe1LRbGynZE3O+3znxE9O56JBNh5Ly8sfBViWxCV0HuAy5Hi70kp1gM8yG3hpeiUvki81hrWOA0RG6+LYN1zg70b9dRxUwk2tcKFS8+EIrhLZP+mnrKh4FW+V0z0bog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886882; c=relaxed/simple; bh=R4EROSMfmnN9tzJP+EUsBzuMFRlEnFr4CJGjhLOtnsw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z/6Nwp8rAd8Fs54dlhOiSKSdaFI0L5LfNOlKluB4gBUtBrLZ4rjd6aSqUWmQ8IwNfp8N+0npizzJlFsu97+Sek/MvQF+YqrWWh/doELe/dRciUSW9xPW0kYrtEhzYUFMt94rhGLn8psH1dRFEB4eC1uruQK03YSjSQsaUusVvws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fTgjVIOB; 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="fTgjVIOB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC6B71F00A3C; Wed, 27 May 2026 13:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886881; bh=WJYovC0xqsBKO9TJ+9CnGWO9sOh8DpqTD8V73RCvF9U=; h=From:To:Cc:Subject:Date:Reply-To; b=fTgjVIOB0jAUqD+k2lJAlmIowh6qlk3s2T6Hso+RKxHNVQURNPfJXE3tE2L+zXbOP 5zPGsXZ7eiROBz5kundYiI2XE8lg4oQZ3cRChm+sysLmycgGGY8BWlwGJzgNWQOtTY fyOsrQryshxkdDUnWsrWy8Tyop/5imvJWDfICClU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45986: crypto: ccree - fix a memory leak in cc_mac_digest() Date: Wed, 27 May 2026 14:58:37 +0200 Message-ID: <2026052736-CVE-2026-45986-5c92@gregkh> X-Mailer: git-send-email 2.54.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=2548; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=v2vQojuOITPM3EJ8c1Qvwa8lvuevo02M6bdGcUcXbM8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir2qk2KXWLjQ2/Lv2x9qzS0K6Dqnvl4x7bvR2dbifR tri3PvzO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi+u8ZFhx98Gf5DrMbTzgf PtNeGuT00ubM8gVAUbOd86xtLHXF81f9LlnaqHb1/ufzAA== 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: ccree - fix a memory leak in cc_mac_digest() Add cc_unmap_result() if cc_map_hash_request_final() fails to prevent potential memory leak. The Linux kernel CVE team has assigned CVE-2026-45986 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 63893811b0fcb52f6eaf9811cc08bddd46f81c3e and fixed in 6.6.140 with commit 3061c9bfb3f5b3522ab174e2fa7473b24422d1c6 Issue introduced in 4.17 with commit 63893811b0fcb52f6eaf9811cc08bddd46f81c3e and fixed in 6.12.86 with commit 22f1dd4ca3bfe77db52cc7df3cc353dc114aab8b Issue introduced in 4.17 with commit 63893811b0fcb52f6eaf9811cc08bddd46f81c3e and fixed in 6.18.27 with commit 910f335786a0a0f0b46c3c8c19a13d25cb4454b6 Issue introduced in 4.17 with commit 63893811b0fcb52f6eaf9811cc08bddd46f81c3e and fixed in 7.0.4 with commit 502440c235fe34cee02b24d7f893841f7565b3bc Issue introduced in 4.17 with commit 63893811b0fcb52f6eaf9811cc08bddd46f81c3e and fixed in 7.1-rc1 with commit 02c64052fad03699b9c6d1df2f9b444d17e4ac50 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-45986 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/ccree/cc_hash.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/3061c9bfb3f5b3522ab174e2fa7473b24422d1c6 https://git.kernel.org/stable/c/22f1dd4ca3bfe77db52cc7df3cc353dc114aab8b https://git.kernel.org/stable/c/910f335786a0a0f0b46c3c8c19a13d25cb4454b6 https://git.kernel.org/stable/c/502440c235fe34cee02b24d7f893841f7565b3bc https://git.kernel.org/stable/c/02c64052fad03699b9c6d1df2f9b444d17e4ac50