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 BD0E9377EDC for ; Sat, 15 Aug 2026 06:27:05 +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=1786775226; cv=none; b=unN8ahSYF/SNJPmFOt3WjF0YaIZtHlKf7q4Qp1VSUlwHCxLVfM7H8lNA+JiGgtUMrL9omcKwcAZIym7K0Jj/Jx5q/qZt2a1WPrbEdP/BLM6+ZSihWxNeqRJvhlTAY6F3Yu6uqXDSNH1NvPSB7mjyCUbGpDd7TRAUvUldGMZuZTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775226; c=relaxed/simple; bh=GIcvoDS8axL3lcapv3WHMiggReznf1Jw0Itvuz6ZMY8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=musuEVGnDxYfCBR5Che8v4orTplkxh4jFXMP90INwL/sXcHA28HcwGf9auLopFqTZvktNft4RHMXTAGtrOhsAOBpoAztGHxTINV2Ldtc32V9OAmVYjgZcDjx5gKMqVR7L+JZhnirTPFwQWjcXmQrzIPnTS8lKY0j3LmdpSU4a8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k/NUqvMO; 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="k/NUqvMO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13BD51F000E9; Sat, 15 Aug 2026 06:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775225; bh=3/P2XKJg2JYw07460pYu/EnhLG4IT85Wff7ANwxhJag=; h=From:To:Cc:Subject:Date:Reply-To; b=k/NUqvMOv9vku8gOYmX99aM7bGwSadfeMNkvavgkGRJPZ5zYrkE97SsZVudviPp/+ lb2uGsUp1iZ7aeS7f1q5vtr3EMgyp/tTQWU821XYBCS7gaKp3iToPK2hI/M9oJfv/v e4vT/GMedVGArWNeo77CjreTgkPNAGN/gKotpjkY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72377: afs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints Date: Sat, 15 Aug 2026 15:07:36 +0900 Message-ID: <2026081517-CVE-2026-72377-7ffc@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=2627; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dIbMa2UkP1WBfXSKgcUnxsIAFmTBxiLbw+mFv0CDh9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDC/PNqX1Fcu7fI4KLs65eOP4vAkGIVH+/zokuoPPi K3+MdevI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZS/o1hrtBG191XXq0UZNb8 v3tLrqUmT9iKRoZ56s1MCwVyDXLmGNp3Jt3rt8799+o5AA== 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: afs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints Regular AFS files correctly use afs_file_aops which have release_folio set as netfs_release_folio, so AS_RELEASE_ALWAYS is valid for them when fscache is enabled (set via afs_vnode_set_cache()). Symlinks and mountpoints in AFS use afs_dir_aops, which does not provide a release_folio callback. However, afs_apply_status() unconditionally calls mapping_set_release_always() for these. In such case when memory management code attempts to release folios, filemap_release_folio() checks folio_needs_release() which returns true due to AS_RELEASE_ALWAYS being set. Since there is no release_folio callback, it falls through to try_to_free_buffers(), which at present expects buffer_heads to be not null. For symlinks and mountpoints without buffer_heads, this causes pointer dereference. [dh: Added more bits that were missed] The Linux kernel CVE team has assigned CVE-2026-72377 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit eae9e78951bb02a7b94a9adef6e981413d13c564 and fixed in 7.1.5 with commit 9d6b0f6d437e2f8350e08678e5e1d20c11c364f3 Issue introduced in 6.14 with commit eae9e78951bb02a7b94a9adef6e981413d13c564 and fixed in 7.2-rc2 with commit 81e985b4c3a6cbcc443fcdcd3ebda7fcc845d459 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-72377 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/afs/inode.c fs/afs/internal.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/9d6b0f6d437e2f8350e08678e5e1d20c11c364f3 https://git.kernel.org/stable/c/81e985b4c3a6cbcc443fcdcd3ebda7fcc845d459