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 73DB24FD7B2 for ; Thu, 17 Sep 2026 16:29:15 +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=1789662556; cv=none; b=WxZpcLdLIkDU3S6GrBgnnNKD4XfDJPnHkV4ltWWThn65MBrEvC0nIzNHYtkl0q+wo8PpYhZ+Q9WG9JqHj4mrnyNGdP1QNHgN8XoLBpCfUWUNs28TnZ6SD4cSH/JgqpZa5baUOr81jRd2tEq31+j5/vDOrBM30ozbvqbT1YXa4d8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662556; c=relaxed/simple; bh=IJ4UvND9wIwOxMXNdQ+O/U2BOB6xDCIEic2ta9L3ZJo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bSMgJ8/dnatJrV7uTg+L7l2PdIB4V0PSwKaSgiobi4s4GNIzZXR5gA5IgyM1fnw6jpWJlY5gnrbQtkxPXQO1zy00GMqFeJp+bN8YJrnUlJ3WH0dkHfh5QiX/sBOqryhEAK1+irmhpI7hOvofg/fq3zPJO946qb2M0yVyEpW9oZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M+q87Z4z; 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="M+q87Z4z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E0C61F000FF; Thu, 17 Sep 2026 16:29:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662555; bh=AEKl8IoF0zs1WZYZsbNa3+BGAq2Fv7hNw00SkOEwAQE=; h=From:To:Cc:Subject:Date:Reply-To; b=M+q87Z4zpD+wThZ0CJ7LHOUAkpx8BMAJq7X9OIAe/IFlNKl6WwBqdzcfMxcOW9Tb+ A6dQ7G8bQm54vngAIHr2uRIoTlXve9mNPseR/Jr+LQfrGMddipdYJ/EdyWjuUKXcMh hVMlwjpvnaGzDQO6/qGRicSq3zfU5Pd/3BHbX5bg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90392: bpf: Fix potential UAF when reading bpf link info Date: Thu, 17 Sep 2026 17:13:42 +0100 Message-ID: <2026091712-CVE-2026-90392-876a@gregkh> X-Mailer: git-send-email 2.55.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=2801; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Dxdj7Lfb4nt9Sd4vrp79f3Uu3yjRtm8xSdePX7sqIZg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBFZ8ZVpXt/b+LfY13k9Ydk00ZdJsvvWiZsO6V88v6 4UdOZ7U2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT6c5lmMMtLd28y2Hr6ger 3i0PmjGlIun9BD2G+Q4buresOO7GFVZS4CG195filYgOQQA= 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: Fix potential UAF when reading bpf link info In bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link->prog is accessed without holding any locks. If the prog is concurrently replaced via bpf_link_update, the old prog can be freed, leading to a potential UAF issue. Fix this by accessing link->prog under RCU protection to safely fetch the pointer and guarantee its lifetime while reading its fields. The Linux kernel CVE team has assigned CVE-2026-90392 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 6.6.157 with commit a5c936ac904767fc1d943d40b0308bcb2ae2509b Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 6.12.110 with commit d7d7208e2603b45724b684f4df73904fb347741e Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 6.18.52 with commit 85cf991c881e7198be32be05a9daa2625390c8b3 Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 7.2.6 with commit 79347e42cfbc9e78872922e8f08a70609c9af82f Issue introduced in 5.7 with commit 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab and fixed in 7.3-rc1 with commit 863f3ddd0b8ac65abfb50d3be0869268ac0e277b 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-90392 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/a5c936ac904767fc1d943d40b0308bcb2ae2509b https://git.kernel.org/stable/c/d7d7208e2603b45724b684f4df73904fb347741e https://git.kernel.org/stable/c/85cf991c881e7198be32be05a9daa2625390c8b3 https://git.kernel.org/stable/c/79347e42cfbc9e78872922e8f08a70609c9af82f https://git.kernel.org/stable/c/863f3ddd0b8ac65abfb50d3be0869268ac0e277b