From mboxrd@z Thu Jan 1 00:00:00 1970 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 F33C96BFB8 for ; Sun, 28 Apr 2024 13:06:57 +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=1714309618; cv=none; b=hnaAw83MNtGFbAXKlwjJKirLD54L8rkrA1HFR8Fhkit3NSi5qm3qBHdl7ARwIEQrW3GKPPVfqPvuE/vTo9vhOf1Gw6I5JU3cgUwkT4IvFlOwUAkzxzgUrnCO6ZHj+GPeYEWjtR76rZW7APmzQtI07J6YxA4yvPWc5ELtbwR+vRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714309618; c=relaxed/simple; bh=l3yL0M/NmJfhLEAKRPxatIehliCpF5T3/cEh5/FJ0GI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YfCSqH4Y+OK9NLHWHwpIRGx2h1e1UC3T4dYm/3p8UFsiFzxn2GuXl3V5obe6k9p9LYh6uN6bC9A+cjjVE7qu1A3DV40Tn1TctM/MWPpNkAc/nr5+iltw+Jpbpx6KteDpPVQOMneNuYWE4Eq4roUkWos9mxlYFneW8o3DhSpyBP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TAA1nINs; 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="TAA1nINs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DFCCC113CC; Sun, 28 Apr 2024 13:06:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714309617; bh=l3yL0M/NmJfhLEAKRPxatIehliCpF5T3/cEh5/FJ0GI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TAA1nINsg8wzcNlsxpDTBssbtmhtqCxR898rwEiwvaMobOfQ+mU6MgbPQPF8NikK8 OqeKGuZQOCyCL9GDAqYjT47iegzzd2bINeQakTKZXguTXhOd+FsSXncmBD54u7e4/o eDlkrOzxaMCeUn4n8zo439OyhzpaqjNplBV6sPM0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48654: netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() Date: Sun, 28 Apr 2024 15:05:15 +0200 Message-ID: <2024042859-CVE-2022-48654-e107@gregkh> X-Mailer: git-send-email 2.44.0 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=2359; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l3yL0M/NmJfhLEAKRPxatIehliCpF5T3/cEh5/FJ0GI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl6ntVhBW662z/fm/NDy+nfH7+oQw3ai6dFyZa8+yLNU RZ48umljlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIsxUMC04o895y2bPF9FTs 2iU3RPwefTq+Zx7DghUqEW1ZYlNlT0dWRti8UX/O9td3JwA= 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: netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() nf_osf_find() incorrectly returns true on mismatch, this leads to copying uninitialized memory area in nft_osf which can be used to leak stale kernel stack data to userspace. The Linux kernel CVE team has assigned CVE-2022-48654 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 22c7652cdaa8 and fixed in 5.4.215 with commit 721ea8ac063d Issue introduced in 5.2 with commit 22c7652cdaa8 and fixed in 5.10.146 with commit 5d75fef3e61e Issue introduced in 5.2 with commit 22c7652cdaa8 and fixed in 5.15.71 with commit 816eab147e5c Issue introduced in 5.2 with commit 22c7652cdaa8 and fixed in 5.19.12 with commit 633c81c04496 Issue introduced in 5.2 with commit 22c7652cdaa8 and fixed in 6.0 with commit 559c36c5a8d7 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-48654 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: net/netfilter/nfnetlink_osf.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/721ea8ac063d70c2078c4e762212705de6151764 https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47 https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8