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 AB03739023D for ; Sun, 19 Jul 2026 12:03:09 +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=1784462590; cv=none; b=gfjrtoNT5tOhQKcXZ9flBzc+xCH5bgjU+CcOLL9TRez8znXnWA5Ff6vAP7+V15Y5oCYi0QBXKrok0dVE5Rl7rQ5r0y/xox4h8YE/eRQPvRBktGdS+50RQOjFdLeJaqFHv+FCisqZgx/29wDBHKrXxXDRn0NwmQZI8pWMBJHpiAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462590; c=relaxed/simple; bh=dWHEwpQnPOT+JNd2d5Z3dDkSzJkXofJGZj9t+f06tUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ABPaAGExZn27n5VYTRDVVnYZ/t+xQ+APIXG3TgAKoUTX42A77N636rSSeMVRG4UF9KAWIy7EwDiV7EZvlRvatJGbBpXT14NAjHu+gX2KnbjYc1GrfV9nWi6oYhkDmzYfZxgplh/dZQdlbSTfOC48+Csdv2XYHAMXouvUtz+nwq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M2mcB8/D; 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="M2mcB8/D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C5161F000E9; Sun, 19 Jul 2026 12:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784462589; bh=wmaBPoKxk12sU1Bocn9npozYZtMyVD2L1cqvmV9cmGk=; h=From:To:Cc:Subject:Date:Reply-To; b=M2mcB8/DqI2q271sQ0TnFLDqBtwgVMw5gcjuaKGCyryNz1cW0jOGddGZTRKHQzevC ohD5hkVSWfd57aIMQ/4rxjucHv/QDJNBfBAmDDju+Xe0p1ddJ387DwH+BmS0hy/7d9 dEmN9o6HnwpxDtKy5n6PH998W08pHF0tWBoPYtbI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53395: nfsd: fix dead ACL conflict guard in nfsd4_create Date: Sun, 19 Jul 2026 14:02:01 +0200 Message-ID: <2026071957-CVE-2026-53395-a139@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=2599; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9JaGJUNDMisf9zNl3kSZxpuZl+3u8MnZ/jhD4/h8VrQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxe7buF4hrMOYOvbDiYvjjOWlGLL8K5zrF+DQnK8x4d vaR8vyIjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIoTnDfI/fzy0ttuTrXtYz rdzjnBqTED1TimF+/p1rkuUs3NuSpD72XQvmO7TGaScPAA== 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: fix dead ACL conflict guard in nfsd4_create nfsd4_create() steals create->cr_dpacl/cr_pacl into the local nfsd_attrs via the designated initializer, then immediately sets the source pointers to NULL. The subsequent conflict guard tests the already-nilled source fields, making it permanently dead code: if (create->cr_acl) { if (create->cr_dpacl || create->cr_pacl) /* always false */ When a client encodes both FATTR4_WORD0_ACL and FATTR4_WORD2_POSIX_{DEFAULT,ACCESS}_ACL in the same CREATE fattr bitmap, nfsd4_acl_to_attr() overwrites attrs.na_pacl/na_dpacl without releasing the originals, leaking two posix_acl slab objects per request. Repeated requests cause unbounded slab exhaustion. Fix by checking attrs.na_dpacl/na_pacl (the stolen values) instead of the nilled create->cr_dpacl/cr_pacl, matching the correct pattern already used in nfsd4_setattr(). The Linux kernel CVE team has assigned CVE-2026-53395 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit d2ca50606f5f0235d7780c1cd73b6614a5d07620 and fixed in 7.1.3 with commit 8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e Issue introduced in 7.0 with commit d2ca50606f5f0235d7780c1cd73b6614a5d07620 and fixed in 7.2-rc1 with commit a60f25a800846ab8e5a13f8a9d05111f2aee55a7 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-53395 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/nfs4proc.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/8371cc5c0a2cc2a71b3dcfd47ff1f7fcfc526a5e https://git.kernel.org/stable/c/a60f25a800846ab8e5a13f8a9d05111f2aee55a7