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 29633143885 for ; Tue, 21 May 2024 15:07:18 +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=1716304038; cv=none; b=GiX7HPJ43BYxqMC1TaSVUM79CNK3XbOy4VqAvjUVIXpBILcjme6PgEWVF1iTCwgBb+kRdcIMZg2uiPPb0hfPnfx2NA+qhXZcJrHFbRRhGuegr2DEan8RSWlwW6pZ/FSmC1cIUxUu6Smf51FFcxi5kxDluF71c9brfz1amMANwqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716304038; c=relaxed/simple; bh=UNAUtRY1CKKqqLHuaRw/alXgYRx0ZaVDATckVS9Z/Po=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nGy2eEU8hv12UgAYTr1qj2csK4EzNmm9WqT2S/dNItjSARiluFk6bzesOVrZgXONLn3lT26MYue0jOjTschng5eRb3/t1DQUxvpB30uFJ3KQfwT5SpiDPTxap85Y/TegFzpCtEcdlBSuM/PY9PAQ56RzsMhueTEKWPkt8UhAeOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NiASZq+4; 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="NiASZq+4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4CF4C2BD11; Tue, 21 May 2024 15:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716304038; bh=UNAUtRY1CKKqqLHuaRw/alXgYRx0ZaVDATckVS9Z/Po=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NiASZq+4R3N6HNsWSuY9OYibe/djiJ/mcFD9+Bv3NOILpmi96eZ2rozEeRBsrOW0n m6T/UVrcy9vgo9aZ26AUfAnfFNlhTpb30RvjnNbByMz40xkCCMQrOa7WHwKPujoQLe vz80P/zMIZ3ovUo8OCupAo9jDmOZeIlXnKCRMoWk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47426: bpf, s390: Fix potential memory leak about jit_data Date: Tue, 21 May 2024 17:04:43 +0200 Message-ID: <2024052156-CVE-2021-47426-8f34@gregkh> X-Mailer: git-send-email 2.45.1 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=2055; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UNAUtRY1CKKqqLHuaRw/alXgYRx0ZaVDATckVS9Z/Po=; b=kA0DAAIRMUfUDdst+ykByyZiAGZMt92gTsgyuptzOwYIkHg0fIixdcr+YWm4UtMf9wOgqFm2y YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmZMt90ACgkQMUfUDdst+ynhggCg2LWR t66xJOloyaM/qNuqugPTEpQAoMw7rUWYLkVOF7QZTgaI2uaYLtva 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: bpf, s390: Fix potential memory leak about jit_data Make sure to free jit_data through kfree() in the error path. The Linux kernel CVE team has assigned CVE-2021-47426 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 1c8f9b91c456 and fixed in 5.4.153 with commit a326f9c01cfb Issue introduced in 5.4 with commit 1c8f9b91c456 and fixed in 5.10.73 with commit 29fdb11ca88d Issue introduced in 5.4 with commit 1c8f9b91c456 and fixed in 5.14.12 with commit d590a410e472 Issue introduced in 5.4 with commit 1c8f9b91c456 and fixed in 5.15 with commit 686cb8b9f6b4 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-2021-47426 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: arch/s390/net/bpf_jit_comp.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/a326f9c01cfbee4450ae49ce618ae6cbc0f76842 https://git.kernel.org/stable/c/29fdb11ca88d3c490a3d56f0dc77eb9444d086be https://git.kernel.org/stable/c/d590a410e472417a22336c7c37685bfb38e801f2 https://git.kernel.org/stable/c/686cb8b9f6b46787f035afe8fbd132a74e6b1bdd