Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099127; b=KmGLzdb62r99Q0Ruf3VERWMI+cuF2Zwp2WzvR83EKrxhHzpnGhQuP8AlazbiUpbExSvl 8MdioMoPFupjSLxw5xdd7l93SlhXZlvUsR2yAYdtuOW9nYN+u6QeTbGOn18mYZ1xgNBLh dSmwauEJ4tgWI0SuzUHzlTGzprLXVGWz87qugWaZmTem3KJjouOAG+IpgrFahdr2tODFk mPgKxU0nO1oYvIzk7ZrbUjLCtNmjk0uf9Ka3B/pexYRnYFMgF3wsJm9Pr0AFhCLW+eH0e HXCfPrRYqn31DLZEuKLxcS7en1Lt5ecsJifc+YuK0hKxKuIXHJT+8VlDiLcgRZ9hdkg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099127; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=JxnQgllvFTPK0ZDsKqQsdbdUqMLm/Ze3UV0jyWR18N4=; b=0zmWWYVgOpgJkIkVq2iFY8ZMeiImOc8p7/9r4HpoZpzxwX9CEvwdfp8VKIkzw07QgRty jgHbzjgucI2tlpSp3NmmEZJ3pQTnGYsR1dWCKXvgWHf4ClxblE6JSAl/LoAjFCeCzpYks tHal0YBFvkN/xE5+fOJwV0RDovMooZs+o9UrtTAh5cXNOc8Q1hTFDb857tHqBQryJKQAY 1FMA/Yjw+fmWnWUOCsnEBDPBN23odjoO+r4ZWU5XYwc+RoNc0Oe+QWi7v3Azjw5Jgtgwf 08FwdxEVO/kj6wndwyaUlAPTwJz2lFL38ztueYEIsCSplUMJ+CNylggvCzg0tVKAWSw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=t8S1cImi; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8685606A324 for ; Thu, 19 Nov 2026 14:38:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=t8S1cImi Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80A161F000C4; Thu, 19 Nov 2026 14:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099127; bh=JxnQgllvFTPK0ZDsKqQsdbdUqMLm/Ze3UV0jyWR18N4=; h=From:To:Cc:Subject:Date:Reply-To; b=t8S1cImi6sc11+l7u7KLHDdSFkwcwN7ZrMRJFzn3yXA2Eg2dgLiPb2jtgzlIO1gB7 s2hxhh0Sjn/8c1zYHs4kLmgUlLcWRuHUE1oJJ4mFZ7bCp0ithbOoaRBBsR/l2JOb60 RoxY9BHOoPPFIhe9ZAyCf6Afp0zFv9u3DsqY07Q8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99374: NFSv4/flexfiles: Use the full 64-bit stripe_unit Date: Thu, 19 Nov 2026 15:24:32 +0100 Message-ID: <2026111952-CVE-2026-99374-0ecb@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2602; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dY4oL1p+j74TjULVuryY0Y3MfEg2Bg1AVGmN4RqO/PM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Sp+Xe35c9F3+d6JC17ceyPsNdNNNiZ2/6yayXWLu ZkO9zB1dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPisyzLNRmbn6vKNib5DU 67csS6zzBfIcHBlms84vFLa+IdicZnBTQfZxrWm5/sPbAA== 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: NFSv4/flexfiles: Use the full 64-bit stripe_unit ff_layout_alloc_lseg() decodes stripe_unit as the 64-bit value the protocol defines and struct nfs4_ff_layout_segment stores it as one, but both consumers narrow it back to 32 bits: nfs4_ff_layout_calc_dss_id() divides with do_div(), which casts the divisor, and ff_layout_pg_test() copies it into a u32 first. A stripe_unit that does not fit is silently truncated, so the client stripes on a unit the server did not specify -- or divides by zero, if the low 32 bits happen to be clear. Divide by the full value, with div64_u64() and div64_u64_rem(). The Linux kernel CVE team has assigned CVE-2026-99374 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 20b1d75fb840cc27490028a5b13914e22375f273 and fixed in 6.18.61 with commit 43b9e0c39eed665be2267329b5c041ba2b2a997c Issue introduced in 6.18 with commit 20b1d75fb840cc27490028a5b13914e22375f273 and fixed in 7.3.2 with commit 2e58e4f9a8dcab90d384d5888ffec38c8718ea05 Issue introduced in 6.18 with commit 20b1d75fb840cc27490028a5b13914e22375f273 and fixed in 7.4-rc1 with commit 0cc1191538b1523dfe944eedc799fdd146c05fbf 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-99374 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/nfs/flexfilelayout/flexfilelayout.c fs/nfs/flexfilelayout/flexfilelayout.h 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/43b9e0c39eed665be2267329b5c041ba2b2a997c https://git.kernel.org/stable/c/2e58e4f9a8dcab90d384d5888ffec38c8718ea05 https://git.kernel.org/stable/c/0cc1191538b1523dfe944eedc799fdd146c05fbf