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 93BE74F6468 for ; Wed, 16 Sep 2026 10:34:56 +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=1789554910; cv=none; b=eM8wzlGdlJS6KBEAhOhHfYac8T4RhOolPfxgR7MUBqv9SAPhBx3nQQ55WKAiCQ7E3CHwIWIkA4kvGeYa3fRZCe8A9/SW7qVUaHPcmHVoXuFi5ex48Bvokfhwr3nuzWf2bzOyYSfuRcPJucGUOSSKcSAcTU7bicvJAfJGWiTZMWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554910; c=relaxed/simple; bh=G5vZpOdE5oh0teXWqNrmF3AwyERKovwUngx8ClsBr0A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k6rDAslF/Jvj5PIs6y61QCLI8oyDV0bOSgoM7v1XxOegwmKgn8TgHo3gu8mp8YHWrHga0pbWbF5DynI4zGrKTBjk/v7NJYKEqQodrowXxzVQsm1OyK1OMNIpqo8Kzj+U0h6aKDjrCIWP71I2Pk1uQUWV/LKAFrKcHybdBAm2RhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P42xjWJm; 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="P42xjWJm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EA8B1F00898; Wed, 16 Sep 2026 10:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554896; bh=NgmMLAYtxL18zXzyThUgRYw8UrQhZjE6sf1d99tQCGQ=; h=From:To:Cc:Subject:Date:Reply-To; b=P42xjWJmQVyMf0d6YKiHRjsGpt1hpSb8lAEjFQfYQ2IoA662kCZVcKUyqNoZd5nVc 7CwX6alL6ZzR+WRDhmh/bAVXRmawJoogCq0HpemObnng7HVfpSN/QbDyLzypRpjbke Vy9nPb0mqN8e5efClfko0Xe+X1gHv81qgL3XWtMI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89799: bpf: Disable preemption in bpf_get_stackid Date: Wed, 16 Sep 2026 11:28:49 +0100 Message-ID: <2026091650-CVE-2026-89799-874a@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=2197; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1UDeTy9K0MqRegSDFwh4f4hv0jsSmEvrPS/8CtQtPiQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pOsOnYf1vuc+j1lk0PS1atrfzj7GFZ+nPDKfMJc0 Uem72ZbdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEsloZ5tlwus258+PvkneO gTxWFXy+hft1MhhmMS1Jrtue6721R2PFrO+J0Z/UradGAgA= 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: Disable preemption in bpf_get_stackid The get_perf_callchain call needs disabled preemption plus we need it disabled as long as we access its returned trace entries buffer. Note the bpf_get_stackid_pe function is executed already with preemption disabled. The Linux kernel CVE team has assigned CVE-2026-89799 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit d5a3b1f691865be576c2bffa708549b8cdccda19 and fixed in 6.18.51 with commit ccf481d73bce6e851cec364fe831c86fe66877cf Issue introduced in 4.6 with commit d5a3b1f691865be576c2bffa708549b8cdccda19 and fixed in 7.2.5 with commit c4efdc1d4cb3e9183e41a1b2a5e0901dbbb31cdf Issue introduced in 4.6 with commit d5a3b1f691865be576c2bffa708549b8cdccda19 and fixed in 7.3-rc1 with commit 15f1bd8574662f1b7b26aaa2e23ebf4066f0117d 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-89799 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/stackmap.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/ccf481d73bce6e851cec364fe831c86fe66877cf https://git.kernel.org/stable/c/c4efdc1d4cb3e9183e41a1b2a5e0901dbbb31cdf https://git.kernel.org/stable/c/15f1bd8574662f1b7b26aaa2e23ebf4066f0117d