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 810314F4CEA for ; Thu, 17 Sep 2026 16:33:34 +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=1789662816; cv=none; b=gYFJVPuAWXbC6TvboZHOoWhjf9N/1A/aMTuy1G/ESZCAhM+vQQdIeGEwOf70imwD1+S8KCP2ZtuCUxOlcT6cIekeXNhVFu/+T+9McDKPTWBiy5V3EEeiAOMgv+W3UoVR363DK9iNTmKd2PlOHrsa7ZFfRR3BTxpF2ygbgoHdT3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662816; c=relaxed/simple; bh=YwF+5VuR0vemWUL1xHeRpy+OJC+ylZdyKx+iAkdG4ck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j5X/5bJXun6I9Y9wuHlAscicbI8HIHXipavZqWf0egOzSSU/gseJ9cBATtroSUl2OCfU58qNGwA7MqNalAaTJpTEUcfHQNOr2rm8BwQ0FuScei2K8u85f1Vz8L0rctiFMT9HxWnASL+sG62JN4UsBGpV/DPKMPMRbpShRn36Fxs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jtv0+MbJ; 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="jtv0+MbJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30FB11F00893; Thu, 17 Sep 2026 16:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662813; bh=wzH9uNDO9Nd1R/6P8jCDrYdLQ8G7urD0QjrSPd7eijI=; h=From:To:Cc:Subject:Date:Reply-To; b=jtv0+MbJCOjfTVu+G4Y4GfkItYefGVr9V2HUprcre0/dAbSg2DJtjFiYVhvh9yNKn Gg1oD3WdyB4sX7niyoVsixuTNwx7vo9whfaexooEWkZI2ntxq72qbpXj6t6dlguCYR UXXaTum8U8ZZzXxJ0++V5gN9BrVjCL9VVuMkBBFE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92518: riscv, bpf: Fix kernel stack corruption in tailcall with CFI Date: Thu, 17 Sep 2026 17:15:08 +0100 Message-ID: <2026091730-CVE-2026-92518-808b@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=2361; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tbiQ9R/n3ibxrFuNClVXXkWUly6QY0psBJeQQ9PQ/IM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHZlMC5Tcf5qevfHqZ46W8eMer+ll6LXrZPj2rLRP T1JdEVrRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk12+GeeYed8tEV5j/fF+7 qGVenemO/L86exkWTDdy7i7ZXPHdknPLa/MPPlH/ldm+AQA= 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: riscv, bpf: Fix kernel stack corruption in tailcall with CFI When CONFIG_CFI_CLANG is enabled, prog->bpf_func already skips the kcfi instruction during setup. Including it again in the tailcall jump offset causes it to jump over an extra 4 bytes, skipping the stack pointer adjustment, which will result in kernel stack corruption. The Linux kernel CVE team has assigned CVE-2026-92518 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 30a59cc79754fd9ff3f41b7ee2eb21da85988548 and fixed in 6.18.52 with commit 34b1bb33a025787e05f966e74de18cd36276f801 Issue introduced in 6.12 with commit 30a59cc79754fd9ff3f41b7ee2eb21da85988548 and fixed in 7.2.6 with commit a6e11a81da3420fd37f1518d4f238c4d5784086e Issue introduced in 6.12 with commit 30a59cc79754fd9ff3f41b7ee2eb21da85988548 and fixed in 7.3-rc1 with commit 52fb1756ea1d2759dfef2d86245be00b05dac3a2 Issue introduced in 6.11.6 with commit fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7 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-92518 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: arch/riscv/net/bpf_jit_comp64.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/34b1bb33a025787e05f966e74de18cd36276f801 https://git.kernel.org/stable/c/a6e11a81da3420fd37f1518d4f238c4d5784086e https://git.kernel.org/stable/c/52fb1756ea1d2759dfef2d86245be00b05dac3a2