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 57DB0F516 for ; Sun, 28 Apr 2024 13:05:14 +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=1714309515; cv=none; b=ctochjn7GSpoP66O4jsjv1+45GO6O94456Amz/OsvtsFkI7D56C8OzGE9cVX1VlErTyGpYPfcr3rvZPLiEIi/hDV/SEBvOgMOwmZwMIzGFe19jkyd3wlMHcU1qoBDql1vKITxZ05LnXD0qHJHJwtjTzMwxmfbHcnskQjj5xZsko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714309515; c=relaxed/simple; bh=VqNRIfBBCDlHBO4gad4jOtrx3Yl2I5yMms3N7ndb1sE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I1GIRhcMu5dnZsu32VZOCnDgGckU95+ZqQrv+Vo9J5BDl3s5L/0oCTl4+iyQU7z5KdnAJRMSN1F0JPHw7MU/39C/RKidEsEgAnGYes+49zpcnkgw1hMlHUSwU9+v5jdBB8cOaJWuyehtf/UUT9cLSZj3I3hM/pPifmkx1ohwHvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jKCz2fHz; 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="jKCz2fHz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D7DAC113CC; Sun, 28 Apr 2024 13:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714309514; bh=VqNRIfBBCDlHBO4gad4jOtrx3Yl2I5yMms3N7ndb1sE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jKCz2fHzJ75zAhHRA9I26zmynPwTgZHw5BiLCHU9Ahy6fAhTDF3OdlMPGI1zPK4cs CmoqBgGNXRM67o63ZhSbA88XR2mvr6G4fX4XrQ3PNZsPdEtGeiX7uKi3zcOC4mGtLR YNTsSus8eKjWuhoe4bwywTjMQiafoZOzzg2T+ODQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48641: netfilter: ebtables: fix memory leak when blob is malformed Date: Sun, 28 Apr 2024 15:05:02 +0200 Message-ID: <2024042856-CVE-2022-48641-531f@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=2610; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VqNRIfBBCDlHBO4gad4jOtrx3Yl2I5yMms3N7ndb1sE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl6nhUWc2a9nhpnWaXSFR2h2dnnEuz64p5d0epP33xvu qyS0J3ZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5Uc8wz+K/VpCPb9CHSx/v BJ0SXOtwUfuIIcM8E9Y6ba7+OxnWe954b3lrdYTfe38oAA== 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: ebtables: fix memory leak when blob is malformed The bug fix was incomplete, it "replaced" crash with a memory leak. The old code had an assignment to "ret" embedded into the conditional, restore this. The Linux kernel CVE team has assigned CVE-2022-48641 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14.292 with commit afd01382594d and fixed in 4.14.295 with commit 754e8b74281d Issue introduced in 4.19.257 with commit 358765beb836 and fixed in 4.19.260 with commit 1e98318af2f1 Issue introduced in 5.4.212 with commit 160c4eb47db0 and fixed in 5.4.215 with commit 11ebf32fde46 Issue introduced in 5.10.140 with commit 624c30521233 and fixed in 5.10.146 with commit ebd97dbe3c55 Issue introduced in 5.15.64 with commit 1b2c5428f773 and fixed in 5.15.71 with commit d5917b7af7ca Issue introduced in 5.19.6 with commit e53cfa017bf4 and fixed in 5.19.12 with commit 38cf372b17f0 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-48641 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/bridge/netfilter/ebtables.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/754e8b74281dd54a324698803483f47cf3355ae1 https://git.kernel.org/stable/c/1e98318af2f163eadaff815abcef38d27ca92c1e https://git.kernel.org/stable/c/11ebf32fde46572b0aaf3c2bdd97d923ef5a03ab https://git.kernel.org/stable/c/ebd97dbe3c55d68346b9c5fb00634a7f5b10bbee https://git.kernel.org/stable/c/d5917b7af7cae0e2804f9d127a03268035098b7f https://git.kernel.org/stable/c/38cf372b17f0a5f35c1b716a100532d539f0eb33 https://git.kernel.org/stable/c/62ce44c4fff947eebdf10bb582267e686e6835c9