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 D2D4551AEF6 for ; Thu, 17 Sep 2026 16:33:30 +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=1789662812; cv=none; b=MOwWsVv1PB0CE4icc6AmkzqFhhVczRLZ+PVK8nLYuTPQ0ItYu4c6GTZuj/cnw1KeXtyUFchXwPg96+f1pDA2fhSkcz2fmpOXJyVzAr0dWfzUzV43pNBxdgIaKuE20gi9w28rupGo5ba40EXQdkdkMdDlp+D+Wrrm7i0fC0+g6Jg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662812; c=relaxed/simple; bh=laxKdI6Sc4XV41/bFnOeRFr+fjLqkEzCF3DKMVZQB1g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=shwogp7imqmPXT9flNPQjedl18IKWVl0O4BKbeJwPnnEWp/C4WN/BNTkYdMUfw5qCB6qDafPFEOm1mGHETSJvr+7kXQJ6jCMCSmDenZ0KiBbkkIDrB2cuG7T+OjuAJVcOhWRo2jfGtRyPTv97DKxd5ixjgbv+/lyWGNzn+Xyov8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vdnWw4cS; 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="vdnWw4cS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3617D1F00893; Thu, 17 Sep 2026 16:33:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662810; bh=d6XqYVKdQDxDSkC4YdWMgD7dhxE4KKp4iJ5J0bbAQO4=; h=From:To:Cc:Subject:Date:Reply-To; b=vdnWw4cSKQfb1pFA47SUzCF/xYJzZus5AYvv4BryRvQ1z21TzC2y7wW/+bJYAF02D nDuErkTPBYak9v7qNjvOkbyUq/mYqhgz+5Lqg68actxZuXMCocWrIBKh/bfRL0ESqH A8aVOu7OARQ59bBI1XqPE80scPz9z+vcE9pMNWu8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92517: bpf, riscv: Fix extable handling for arena load_acquire Date: Thu, 17 Sep 2026 17:15:07 +0100 Message-ID: <2026091730-CVE-2026-92517-6c2b@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=2613; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I/zp1qjMallWAW1LLmzx6T5hMNzdqa/RdlIohSHu1DM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHatfibtOtVRxjJY5jnPc83ney8wrD9+cfXT3Y8XL tzwwi0nviOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmsvAdw1xB/yWnXTmu6uzO CyrbpHhp9/k33YsZ5rsqnHGVWvR5zt8DXe+645SlRH+dmAIA 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, riscv: Fix extable handling for arena load_acquire emit_atomic_ld_st() returns 1 to have build_body() skip the zext after a sub-word load_acquire. The caller does "ret = ret ?: add_exception_handler(...)", which skips add_exception_handler() on any non-zero ret, so the extable entry is missing and a faulting PROBE_ATOMIC load_acquire oopses. REG_DONT_CLEAR_MARKER leaves rd stale on fault, and the verifier still thinks the load overwrote it, so a program can leak it through a map. Check ret >= 0 before calling add_exception_handler(), and pass rd for LOAD_ACQ so the fault zeroes rd like a PROBE_MEM load. Return ret unchanged for the zext skip. The Linux kernel CVE team has assigned CVE-2026-92517 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit fb7cefabae8117c203155ef169a386bec43bbba9 and fixed in 6.18.52 with commit 26d9496c826586338d1b8c27edfec4a19a89f462 Issue introduced in 6.18 with commit fb7cefabae8117c203155ef169a386bec43bbba9 and fixed in 7.2.6 with commit 08fe2eaa609180c1baeb76c2629a9c82263b0427 Issue introduced in 6.18 with commit fb7cefabae8117c203155ef169a386bec43bbba9 and fixed in 7.3-rc1 with commit 5eb8921371c6fd117d4a328b6053dfda38707df8 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-92517 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/26d9496c826586338d1b8c27edfec4a19a89f462 https://git.kernel.org/stable/c/08fe2eaa609180c1baeb76c2629a9c82263b0427 https://git.kernel.org/stable/c/5eb8921371c6fd117d4a328b6053dfda38707df8