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 2B63048B385 for ; Fri, 25 Sep 2026 10:25:32 +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=1790331934; cv=none; b=jzTrgMiTeDGAGZ4jJH2QoNbUlDdpxlImLidH92LVVV0eUFM+ObRhj4QwcOtwQGW7mPwa4MUNbSoEwdQ8HStLzAt36RWzsVzBEMojtNmcGm7q28WlePiCvQkB+2t6/zK4fqWDJBPC4PzG9MJhf5+haEiAjvTYKdfWqUU8vJ8i5yQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331934; c=relaxed/simple; bh=d0/QTa1S1A0f3/xmtE93ou3AJ61JUAmNJUyD/pX5z9I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k3CbQ39MFF8wewV4szl8sS72q01Ag9RBKOH276N2Foto3foX3jaymVLiDMWY1ooM4e7bT9Pf4TZT/lEsXfBOW74epw6kFcWozFTuX7OKeEbx9dncqC59vNCeb4sPawjuLnOqf/aLdPkhjsAucY6mapqgApbhhtEgxkI67LP03XM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=plJKTkcY; 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="plJKTkcY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F09C81F00893; Fri, 25 Sep 2026 10:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331932; bh=xll98HqY9GozZkZJ/4gPqCHJUekCNwph9BOohN9uIng=; h=From:To:Cc:Subject:Date:Reply-To; b=plJKTkcYlq8B67ZTFntfDOEEblG5KRDiDbroLLS9+51oMC3aRocSR/56OHbIWSu+d zyDYPlKOLhgtltjsUCDzP8+KMm4B4xFBRY9+fLxUrs8EqLUe/WbVqwAhRaoKj2CaAu C56+kQpuQuDHg1kfVtzBkW/AzwR9WvrHb8N8ojXo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97585: afs: Fix double-unmap of directory block Date: Fri, 25 Sep 2026 12:22:45 +0200 Message-ID: <2026092557-CVE-2026-97585-f190@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=2417; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2KqVX25f1l/L5FhCSEpdYlr6b5IPBzDUbGlZliu/G+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvF2zOd5+lHWSX2WX+so3JW/xyift3d9SFX9VXJyw/ qZi6EyejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIXw/DgtZF79Pjz0e6e7l7 SsTVcW2utZF8yTBPu2SP4/es0/5ec49LRK92MOG2ancDAA== 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: Fix double-unmap of directory block Fix afs_edit_dir_remove() to use a cleanup function to unmap the block pointed to by afs_dir_iter::block if it's left pointing to something rather than manually kunmapping the blocks. Manually kunmapping without clearing iter.blocks can result in a double-kunmap if afs_dir_find_block() is called twice in a row (which would be the case if the block being modified is not first in the hash chain). The Linux kernel CVE team has assigned CVE-2026-97585 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e and fixed in 6.18.53 with commit 9d6c703e24da3d39067e3c75f4ac2f6001c2472f Issue introduced in 6.14 with commit a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e and fixed in 7.2.7 with commit b60f51e4ad0f6f940899788ccc2762db1e3b69e6 Issue introduced in 6.14 with commit a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e and fixed in 7.3-rc3 with commit e3cfd3eb7d5be7787cc69530b423f788f14d084f 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-97585 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/dir_edit.c fs/afs/dir_search.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/9d6c703e24da3d39067e3c75f4ac2f6001c2472f https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6 https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f