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 6A2993F9F37 for ; Wed, 27 May 2026 12:26:20 +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=1779884781; cv=none; b=twAxZgVnMIlCLQZ7uDp6B8loE0EM8OUyD66L6oSvXA+MqC6xa6aaaaUi568+u2ZGwff8Q7dsGJPqLM8xQIEkJk6JPOh4AEhNsy+ubXdxgXMg3lQnGxAAc2HKhH3VqRZIeutr6cOPDTyiV2clYGPaiGXAYYs/U0XR11dIkJpuQtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884781; c=relaxed/simple; bh=ytbsq0nBwCusljIj2pvhj8B0j0V+6WPHMuKKK21rMps=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h/eg4jVAs3lZebVFyYBYVAzYjeilwmhz9UhFCz39ldKUrSn4Hi89hJd5SYhh8Ggg/wZuKyHq9RddtaNlkjsR6D1B1r+o7ZE/1eN7QJpHqBKEq21uf3cMxFUGfGghTAifNpe1sv4aPTQsEnvq+Dosn17NUXR7TJ675ijY5EJny18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=H+1VDVvr; 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="H+1VDVvr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B83D31F000E9; Wed, 27 May 2026 12:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884780; bh=7Haio061qvDiN+SNuM4bSTm6hckxLkjoiFLhw0HMcrU=; h=From:To:Cc:Subject:Date:Reply-To; b=H+1VDVvrgFvH8/N/lQlVHluWtGAZ+/DXQxlU0gkflXLndrizwStAAcPcToJuT2Gyv lTc+SCCMzb9BXgh7S5ryw8JzDg7J4AwE3TtxBYdxSfSJihP5WvA5dUW+J227RWWDR9 /ROblCfCGLsZi8VK1S5KrnrM8zOM00AWuwjhuJSk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45967: bpf: Return proper address for non-zero offsets in insn array Date: Wed, 27 May 2026 14:20:09 +0200 Message-ID: <2026052735-CVE-2026-45967-b219@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=2040; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lxCbdeEheCHkZBE4pVRB2TtNTiGoK1mGXT+Edp+RZQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD6WtJfkkuVTa0qsnlZ3RS9q+4He7k2e78r72Sk1zu 46ZFqc7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCKW5gwLjszcfYk/bMNfYZEr qXcFa9yPbTtWwDA/fvftd0te+fcduO7788DPtrWTY148BwA= 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: Return proper address for non-zero offsets in insn array The map_direct_value_addr() function of the instruction array map incorrectly adds offset to the resulting address. This is a bug, because later the resolve_pseudo_ldimm64() function adds the offset. Fix it. Corresponding selftests are added in a consequent commit. The Linux kernel CVE team has assigned CVE-2026-45967 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 493d9e0d608339a32f568504d5fd411a261bb0af and fixed in 6.19.4 with commit 73ef43202a37d779a8e665a0acae214fa59df9fb Issue introduced in 6.19 with commit 493d9e0d608339a32f568504d5fd411a261bb0af and fixed in 7.0 with commit e3bd7bdf5ffe49d8381e42843f6e98cd0c78a1e8 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-45967 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/bpf_insn_array.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/73ef43202a37d779a8e665a0acae214fa59df9fb https://git.kernel.org/stable/c/e3bd7bdf5ffe49d8381e42843f6e98cd0c78a1e8