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 7F1C53CA481 for ; Fri, 11 Sep 2026 20:01:44 +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=1789156916; cv=none; b=WBhifZleAs6NzVm9Uag+ZTYqlcx/vldVwjJ+7rZFHBIQQ4c6usIGQljMFVCkBQG9xnRr6DtFMAlCclcP7+bVWI6W2877gGrWxXdzNT1nI+5/zezjuOJsrBNpu1yqkoRRIHgXjXuLhDO0oKglsendwJs/GkySQ9EJco8QQctPl9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156916; c=relaxed/simple; bh=R5ds7k5Kt1HC8uxJWy4pf4do0oBjLmirBvgnC1OCcT4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W3FA9FJwXqZtLlldb79N46nC7b6XrbZSGbGhM8Gz1+emk8/EZalPNrsWIR0ad4yH+uatgNwA8iTF3llIhSfPipAkitcVQRwasTzptNM5NudG/uvf0Po1XgfaYhuYLXcv4c8afkFHp66hd/DbPRtCUFRVoUL7b7PDlYeplpIp77c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LO5mupTO; 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="LO5mupTO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D25811F000FF; Fri, 11 Sep 2026 20:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156904; bh=dRL5qOLh7D2f22sDNU6UH5br4kxxjER2Z2IXg183fJQ=; h=From:To:Cc:Subject:Date:Reply-To; b=LO5mupTOL5rI/ve81blS8HfSIxo9F5Lr2aConVccFLtp2WEYOFsQLEcM4eOyEiaWD 6EJJVVHxABVjbPyQCDg4NqvrcJTZm2uH4OjF5EmYFNwogFQ9IISR4Hsog8Q1EXT+7q V/EReNaq1frV6tTTNjdFrIwZIGRJnuxfb5bAd/II= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89672: nfsd: gate nfs2 setacl by argp->mask Date: Fri, 11 Sep 2026 21:46:01 +0200 Message-ID: <2026091149-CVE-2026-89672-9700@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=3285; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T0x5o1UIvBoe5gnqrQMdiR6MlpQjViPEXWOV9gLUZWU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLImsVNz+NED7ocTxisd3PB1NWn20yfuFxV6Lq0RW/K df1WNxUOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAivpoM8z0Ctsz+WZIWcH3h nRMvI7+bBHSvZ2aYX/X2rQDPuwKO1Y/U43XfBZZOL4nQAQA= 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: nfsd: gate nfs2 setacl by argp->mask The NFSACL v2 SETACL path shares the decoder convention used by its v3 sibling: nfsaclsvc_decode_setaclargs() fills in argp->acl_access only when NFS_ACL is set in the request mask and argp->acl_default only when NFS_DFACL is set, leaving the other pointer NULL because the argument buffer is zeroed up to pc_argzero before decode. nfsacld_proc_setacl() then hands both pointers to set_posix_acl() unconditionally. set_posix_acl(idmap, dentry, type, NULL) is the VFS "remove this ACL type" operation, so an omitted arm is indistinguishable from an explicit request to delete that ACL. A SETACL carrying only NFS_ACL silently strips the directory's default ACL; mask=0 strips both. This is the same defect just fixed in nfsd3_proc_setacl(); apply the same remedy. Gate each set_posix_acl() call on its mask bit and initialize error to 0 so that a request with neither bit set leaves the on-disk ACLs untouched and returns success. The out_drop_lock path and the unconditional posix_acl_release() in nfsaclsvc_release_setacl() already tolerate the skipped arms. The Linux kernel CVE team has assigned CVE-2026-89672 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.13 with commit a257cdd0e2179630d3201c32ba14d7fcb3c3a055 and fixed in 6.12.109 with commit e41d173d9dc735cecb15ab7aa63ecab09338f81b Issue introduced in 2.6.13 with commit a257cdd0e2179630d3201c32ba14d7fcb3c3a055 and fixed in 6.18.50 with commit f951b22dbeec46f2e0fba81cb80d1b0c686b61eb Issue introduced in 2.6.13 with commit a257cdd0e2179630d3201c32ba14d7fcb3c3a055 and fixed in 7.2.4 with commit 37eea38e7898538f0ec5f1eb8b18d8646e4be41c Issue introduced in 2.6.13 with commit a257cdd0e2179630d3201c32ba14d7fcb3c3a055 and fixed in 7.3-rc1 with commit a3a7e20ed66d3f04d37883c398da8a113b430769 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-89672 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/nfsd/nfs2acl.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/e41d173d9dc735cecb15ab7aa63ecab09338f81b https://git.kernel.org/stable/c/f951b22dbeec46f2e0fba81cb80d1b0c686b61eb https://git.kernel.org/stable/c/37eea38e7898538f0ec5f1eb8b18d8646e4be41c https://git.kernel.org/stable/c/a3a7e20ed66d3f04d37883c398da8a113b430769