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 B5E064EE841 for ; Wed, 16 Sep 2026 10:35:50 +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=1789554964; cv=none; b=F0xk3EbP1SbEUYVy7XYZv2YqfU4M0x7NxOEme8xO20fmTRCi4d6MI0nt6L+sYfZjLw9iXuTd9lYBfO7f1kaX+2E/u6NvY4hwqX3CMD+NIQqThyK8FxKWr3VmfFl3cAaXjt+pjjNEIBCBzJcR9ndWvsCnY/z3EarSy3n9i71Fr40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554964; c=relaxed/simple; bh=AudLu74TsBGNq9qY+OZ2YYx8hZdp48He9KGehvgOxdE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cL5D7oUADSBn6ReJ7H25kDkbQFIHqd+dsTnzAKjy1XPfWiQXP3Mg1X21gYMkFvInBcC5GHCMTZwdk6biDZKgduwwvmumZLoXuO5SkGnYKIENw06dj/BkF5SS07W1S8CIDOSrho3xuath75egsnVVYBBx2Jk7dbCeO4Os8qDd1U4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J9vNXguP; 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="J9vNXguP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8E061F00893; Wed, 16 Sep 2026 10:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554948; bh=NgmjeZRuMNpLwQw5IL5Cm8LwkV8qdSGFpWL/vdk3Wwc=; h=From:To:Cc:Subject:Date:Reply-To; b=J9vNXguPMkwXuQXrJ6zi8CUdEJfmmABjWHUSwkJFu5O4yf3ZKV4G6kNTvyLYgi69z Ll30pMLSWV/YI4J5YH409AgGs1KPsMfT7an7ZSFTdnBlIYj/DAZvI8sfXk3rEibmki 9D+VUlImlpUYTW76UG7LYclaL0/yHebC1eUfPIXM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89840: f2fs: validate MOVE_RANGE destination size Date: Wed, 16 Sep 2026 11:29:30 +0100 Message-ID: <2026091610-CVE-2026-89840-77c5@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=2116; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0ysw6SOXGIe4KGzassfTLf9VCPAKYvZxXOuD65Ozwpo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8suuq89h3/Vu+uI6789NhRFt3WcmLdsn3Kxgsivk6 9fMw5P9O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAixSYM8+xio+znFinbHv29 /Jzb3U275idr3GGYX8rX59RZNHuR/T4/X0GGWZNPHXq9GwA= 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: f2fs: validate MOVE_RANGE destination size F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end before updating i_size. A source hole can expose this: __clone_blkaddrs() skips NULL_ADDR entries and returns success, so the caller can still extend the destination inode with unchecked pos_out + len. Reject destination overflow and use inode_newsize_ok() before extending the destination inode. The Linux kernel CVE team has assigned CVE-2026-89840 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b and fixed in 7.2.5 with commit dcae1eeda53149f219dd6af93b3083b7271c1c63 Issue introduced in 4.8 with commit 4dd6f977fc778e5a0da604e5f8cb2f36d163d27b and fixed in 7.3-rc1 with commit e533889fc26aea0cd83c90327063f272061dd820 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-89840 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/f2fs/file.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/dcae1eeda53149f219dd6af93b3083b7271c1c63 https://git.kernel.org/stable/c/e533889fc26aea0cd83c90327063f272061dd820