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 C1FA844F541 for ; Fri, 11 Sep 2026 19:52:58 +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=1789156391; cv=none; b=GqNBdhYNU1GKnjdNhkWjUYM76pVDyxsxFM1lMcUViNr/C8qPcFswqfEuPsfkJ9R/YALzvRVoTGY5vloVWCcTQ7h7njnXKo5R37b3K1faq75mjREwZ+tLmxdf7TSjH1UfWxlQ+J5QCre9Gg49R2/kpine2xGdn21wVSVZzMeNPQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156391; c=relaxed/simple; bh=vIN7ErKo14N51Kq6j4wIMDWgE9dNJrUcKlkLSyLg03g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MCkJU5gYXOCCksRAbVtYDLzoETMVvsr6FBricrRuqSxydusY9uY9whw0muMp08P4+l20oGIPZY/cs/JWLy8V9qxcWpvgoVL7m7bF4LQem8WJQgvCWvwkB5RhTfmPC9D3KzmXzHgNiqEzdt2SlgOjNNvXfwFWTs1itxrKsBWusz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l1Lv+Avo; 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="l1Lv+Avo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B96561F000FF; Fri, 11 Sep 2026 19:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156378; bh=YnrurQrEjINf3coCbiMyZpz65KwvmmjD1JirGwVlmOA=; h=From:To:Cc:Subject:Date:Reply-To; b=l1Lv+AvoeSvd84oYFZ+k7sreVtkp3lsHUsnAxv1TqOqXquNkrHTmarjUkHk8ERcMb 7y4ENsRCW8dgWnHJOX0AI3ZshqULL9M1dKk+aO1D24ymn4TP0oMPmhXXjPduJK7Hhv 2ApRiu2R7SwCXs7SmA6FxFP3GS08KvHZiXu/HB6I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89497: orangefs: skip leading spaces before parsing client debug masks Date: Fri, 11 Sep 2026 21:43:06 +0200 Message-ID: <2026091109-CVE-2026-89497-f700@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=2769; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lYo8qQV5csIy4GUlS0mGB8DMK4MsqqaAgckOw9mHRt0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIkPjP1fm2sVt+Rvd/UpnodiyH9LeT53/6DW8uHThg ffzyQ99OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiknEM8xO81/SztPTu9nzy 5PIq04+bF3KUlzPMs3rGmLTDibXr3U2p/R/Vsndek7O0AAA= 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: orangefs: skip leading spaces before parsing client debug masks orangefs_prepare_cdm_array() sizes each client debug keyword buffer with strcspn(cds_head, " "), but then parses the keyword with %s. The %s conversion skips leading whitespace, while strcspn() does not. If a client debug entry starts with a space, the allocation can be sized for an empty keyword while sscanf() copies the following non-empty token. This can write past the end of the allocated keyword buffer. Skip leading spaces before computing the keyword length so the allocation matches the string parsed by sscanf(). The Linux kernel CVE team has assigned CVE-2026-89497 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit f7be4ee07fb72a516563bc2870ef41fa589a964a and fixed in 6.12.109 with commit 15d79c806231e62a7b746d3b42626810004e1b27 Issue introduced in 4.6 with commit f7be4ee07fb72a516563bc2870ef41fa589a964a and fixed in 6.18.50 with commit 116d14f29a0524853c9316f32a2ac06cff5d4bf6 Issue introduced in 4.6 with commit f7be4ee07fb72a516563bc2870ef41fa589a964a and fixed in 7.2.4 with commit 1774c5b3713add32fe15ab0d3db4b73355f94e35 Issue introduced in 4.6 with commit f7be4ee07fb72a516563bc2870ef41fa589a964a and fixed in 7.3-rc1 with commit d410cd5303ec59c7cf23dd61423752ce8e9ecb59 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-89497 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: fs/orangefs/orangefs-debugfs.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/15d79c806231e62a7b746d3b42626810004e1b27 https://git.kernel.org/stable/c/116d14f29a0524853c9316f32a2ac06cff5d4bf6 https://git.kernel.org/stable/c/1774c5b3713add32fe15ab0d3db4b73355f94e35 https://git.kernel.org/stable/c/d410cd5303ec59c7cf23dd61423752ce8e9ecb59