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 EE86530F7EB for ; Wed, 27 May 2026 12:26:32 +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=1779884794; cv=none; b=kj7PZjF+m6tqwp9CCW0WPArGRtmZ29W9klqZfP3UkG1TtrQCMa3ST9kPzJX03tpHTNTCYCohW64ISNSxOYHnhxinKqIeJgc1UUY7eexFi6w53z3kAxzTqjdEwRVtiiQGgIuOZkFKATHgiB+AKaqMB+yW7FE+TRrXGEnYQ6aaYPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884794; c=relaxed/simple; bh=M/6YTu3qL+Zzdme4poxwBij/1km71+WSb16CZGAFURo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Shu+iiOwbWkgRgk2xlzgutFYpNBr0s7PmDFvdL4cpgy7+QWb+cBwsFQDRcRAFSuCw+TDdUGApAv/Hc4AOQjdCyrivXE6sF3AYejw6esmhd0RoUQI0B5qIfm1HpQykcU8eiPSv8DrjFGqRHDiZ8TB2KzLxRmoyF4um0prwd5Yiuo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d1JcZmUZ; 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="d1JcZmUZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D4441F000E9; Wed, 27 May 2026 12:26:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884792; bh=GdN/iiCKl5PBUi7fkvdMxzAbWKeDJT4Nm0RIHryI5Ro=; h=From:To:Cc:Subject:Date:Reply-To; b=d1JcZmUZzPLWd5vNSSnr3GGeBMhkHCbDE8FEfWlTOtVjs6plRSwr162KbZwh+9lD1 CEE87W5/BlY1hJcGTXayCqxFAH7HfT56Yf5o+vdjyZvgU0mxMgiKpsn6bag8qnHu35 R7tcDbRow3oYXKZkKxpw1ocRO7eY18jFTwHAcJ8s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45971: bpf: Limit bpf program signature size Date: Wed, 27 May 2026 14:20:13 +0200 Message-ID: <2026052736-CVE-2026-45971-592c@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=2220; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N1JB32JazBdWzDpNuhfCFJUgsgGT46uZhuHvEJ2vumU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD2XOH37xYIGm2IGi2RX7Wsza/T7/PfSqV/eDrffp3 il88QLiHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARpmyGuSKT05931VqU8ko6 TlWt3PVTWbhLhGHBoiVi5Sws+4RPtFWmsT5Y8F6ySCUHAA== 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: bpf: Limit bpf program signature size Practical BPF signatures are significantly smaller than KMALLOC_MAX_CACHE_SIZE Allowing larger sizes opens the door for abuse by passing excessive size values and forcing the kernel into expensive allocation paths (via kmalloc_large or vmalloc). The Linux kernel CVE team has assigned CVE-2026-45971 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 349271568303695f0ac3563af153d2b4542f6986 and fixed in 6.18.14 with commit 5835a077c6f5c565d525eaca9fac01572b97a9b9 Issue introduced in 6.18 with commit 349271568303695f0ac3563af153d2b4542f6986 and fixed in 6.19.4 with commit eb8166c79097996396468a341de258a798789d36 Issue introduced in 6.18 with commit 349271568303695f0ac3563af153d2b4542f6986 and fixed in 7.0 with commit ea1535e28bb3773fc0b3cbd1f3842b808016990c 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-45971 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: kernel/bpf/syscall.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/5835a077c6f5c565d525eaca9fac01572b97a9b9 https://git.kernel.org/stable/c/eb8166c79097996396468a341de258a798789d36 https://git.kernel.org/stable/c/ea1535e28bb3773fc0b3cbd1f3842b808016990c