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 3CE624DEC08 for ; Thu, 17 Sep 2026 16:24:31 +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=1789662272; cv=none; b=W/5w83urqxq7pS/AdRt9PnP3ovNln2RDHdAps+pfVf2pavN2Gcb70fGbYcclfNES2QfFg1dRyoeKKhreJTpM9oIUpQUCWxnatZLctr2Ilcp2hc5xxskPMk8nOVr24ZJoq9F+g4O9CkSmGLi0OkAGQmhABfmfCHgxAFzEhLHK9xg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662272; c=relaxed/simple; bh=Whsjcov4HMadsSJj5emN9ekcGRY2dzODsDTbCyYie4E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WzY8cs4/Q1QtIxGxyIVo6zamjct+CTSH8Y/hoP9CF4anbzcoOguYpCpFUkxxWUyerj6egsYOZapKMIhvXo2XoQ0GPvDLbztAKXWrESVdO1mN3Mv74OU/2joYHizKWhKXsqgzExwflp2LAztPL1YH1Kayfo8xgOcjzyoh5DQjeOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0vBn/GKj; 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="0vBn/GKj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9534B1F000FF; Thu, 17 Sep 2026 16:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662271; bh=FR+jxTlEOXpIFEKmnFLoqudsYzGDFWAdRMQ/Xbr4teo=; h=From:To:Cc:Subject:Date:Reply-To; b=0vBn/GKj/aPz/+vnbFXqUVtnd4ebGEjuHu0ehttVB4Sj+PINtOW+d2NTmHS97c/rv DmvgfzABdQbHSOZdda56kry41voXcMFGHRW6j+L/TgjfeJzrF8XH7atHt+PEF2hFwr jS2MrlfaSumEla+SlDLSSdieQm+U7DQd1ZHp362U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90299: bpf: Fix sleepable check for tracing/lsm prog Date: Thu, 17 Sep 2026 17:12:09 +0100 Message-ID: <2026091754-CVE-2026-90299-9404@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=2557; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WlMgpSlBYdCO1vw6ztLCAJ/DY6jnLhgffhctCc5vctE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKYtm/r6rVPy89kbmAxLeC8XMLwWO1nILMEYXxt/U 5Xdj3N+RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkzAqGeYYn+YWXXdNVme5y PCU9vYHHuMingWGeru2E4JYnp/c1b3FcNnudbMUmjyudAA== 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 sleepable check for tracing/lsm prog When CONFIG_FUNCTION_ERROR_INJECTION is disabled, a sleepable tracing prog is allowed to attach to '__x64_'-alike prefix symbols. It is because the verifier does not verify whether the symbol is a kernel function or a bpf prog. That said, a sleepable tracing prog is allowed to attach to a bpf prog target whose name has '__x64_'-alike prefix. For example, a sleepable fentry prog attaches to a '__x64_sys_nop' XDP prog, and copies buffer from a user pointer with bpf_copy_from_user() helper. After attaching the XDP prog to lo interface, the kernel BUG could be triggered by 'ping -c 1 -W 1 127.0.0.1': [ 3.460756] BUG: sleeping function called from invalid context at kernel/bpf/trampoline.c:1324 Fix it by disallowing sleepable prog always when its target btf is not a kernel's btf. The Linux kernel CVE team has assigned CVE-2026-90299 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 16d9c5660692d6f0e6aba367274de2b6dfd4343c and fixed in 7.2.6 with commit 976f1be72740cfbc351d3841fd21186dda3ea723 Issue introduced in 7.1 with commit 16d9c5660692d6f0e6aba367274de2b6dfd4343c and fixed in 7.3-rc1 with commit 00244bdaa423d93f4571f3f6854378ce3365e524 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-90299 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/verifier.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/976f1be72740cfbc351d3841fd21186dda3ea723 https://git.kernel.org/stable/c/00244bdaa423d93f4571f3f6854378ce3365e524