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 48D82199242 for ; Tue, 16 Jul 2024 11:48:09 +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=1721130489; cv=none; b=CZvSGZzmfnMnHIURPZoMKLB5ES1IQINiZKF/3zaOVpmvZ+lIz/z/fzuOCeEpBaEb5iYcnEt6OOpeoS0PV1HqTKWdKk/iKle1nL9QgV2iM1XpR+064g6MZlA7wzSRv1tyz/kxUMANEGQgThB2C1g5jEn4mzzgS0LZAwVM/VobXgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721130489; c=relaxed/simple; bh=AxoIpXs3NU9R8w2oS9v+GA6JajPyB/4qg4nWgB/i5NE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rJE3rMpc0aZZNEHEhxt7mT0yBwD+c6qZB5FSEVMpun8QotT4/EVdxoQaKbdOHwxv0JLACZ6lJNNK4sKttDv3a5nFplzmLaYSpFUbmxsYacG5KQWZ12kwycnh7oAGM1ecl1eW6D2FqdmU+myyLv6X11VE0xlhaT1G55HZbMh0AKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ak7k1WbT; 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="ak7k1WbT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8342C116B1; Tue, 16 Jul 2024 11:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721130489; bh=AxoIpXs3NU9R8w2oS9v+GA6JajPyB/4qg4nWgB/i5NE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ak7k1WbTokC/ABsHrog3MSBeOxu+tcaahg4//y7vyHPY+iao4QpjLFekS7CheAd9m F8vr7ahOF2Q9GtbIAoinlZtGLaZv0rBkVbO78lyyg/fOANy9dllLfKuYI33DuTQRRm 9lvHL3qDckjmUExN7uZputZ29TuF2f9ZblWRuu/Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48831: ima: fix reference leak in asymmetric_verify() Date: Tue, 16 Jul 2024 13:46:23 +0200 Message-ID: <2024071653-CVE-2022-48831-d6b7@gregkh> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AxoIpXs3NU9R8w2oS9v+GA6JajPyB/4qg4nWgB/i5NE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnTYgs7X/5aLPg9Vk5LmClcpWmn0nUHdhunYz16gaFzf lbbfpLviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImcDWdYcCMt/5ex1dTk+zmW 1/gWreNLttj3jWHBiTd/BO6yKpfJZNy/uS2b/1R8cfd7AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ima: fix reference leak in asymmetric_verify() Don't leak a reference to the key if its algorithm is unknown. The Linux kernel CVE team has assigned CVE-2022-48831 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 947d70597236 and fixed in 5.15.24 with commit 0838d6d68182 Issue introduced in 5.13 with commit 947d70597236 and fixed in 5.16.10 with commit 89f586d3398f Issue introduced in 5.13 with commit 947d70597236 and fixed in 5.17 with commit 926fd9f23b27 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-2022-48831 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: security/integrity/digsig_asymmetric.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/0838d6d68182f0b28a5434bc6d50727c4757e35b https://git.kernel.org/stable/c/89f586d3398f4cc0432ed870949dffb702940754 https://git.kernel.org/stable/c/926fd9f23b27ca6587492c3f58f4c7f4cd01dad5