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 2671D4DEC16 for ; Thu, 17 Sep 2026 16:32:46 +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=1789662767; cv=none; b=VN3RAIqBzpuhvgVdTk2b3xp8/zKqs1mt4fyazhUojoy/jidbN2lYqlRES55vDhT+Asba8pek4bfTwqjkRRNPwjW5PNG2hzvyTDX6ETGx6KuBboT81xJoJ7jZaIDSYWYoS7RE/7QFTHrlJ7MYb2rwOYrTe5XnBaG/sEBKTMIMqsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662767; c=relaxed/simple; bh=MheLTveaKxm6K4vhwy43vawBSSvpIM68ckm6a14Uotk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sLoczhc5YLN0d4weXJ53MJj0RkFBBdexSNo33uLC2gDImKUCIigMszBGEHPxIqyTE+ryzsaqzAXYlcpVkJXnh3QmyFTo2PPRKAxSSHWdKTGIBJ9vZ0ZaK6YDDL5s8GZyhW3fdLoADy1GzCrsSN1b21TcHassXSSR8muSAtqPXvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0xMoh9Ix; 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="0xMoh9Ix" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5101F00899; Thu, 17 Sep 2026 16:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662766; bh=fBLOYaXHUB6TqKWMR9JgH5rexmO4yrD2WiK/uG1CiZI=; h=From:To:Cc:Subject:Date:Reply-To; b=0xMoh9IxKLnKAmqecQkkY+7CicZwjnT2Ou/4UkVSdRFxBfrKAD4ZiZFhDpq8KUk50 OKhtt006ObxumIQY0HJchQLIbNDgPAZAXzCK0URuj2rpxL/LkFNRdq9dVVpIVRybEC bjw2BRvZ9bwpc3H9Zifpxp7m5BXRq6lqvXsNInf8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92503: ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find() Date: Thu, 17 Sep 2026 17:14:53 +0100 Message-ID: <2026091727-CVE-2026-92503-4fe9@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=4170; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h7X4ze4sd0qz8+BDzEPyKEPuzipaWbDY47bxcCold/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBLY77Yr+ePZHbHHEGdE4ux/FbMweeattZ4VM+uops Fr4IqdFRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyEbwrDfH+ndbP3b1khVndr R4Vaz+quuFnF9QzzCyOy2pTtLvuI6nboheovlp4wz4QLAA== 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: ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find() Syzbot/stress-ng reported an ABBA deadlock in ext4 when exercising concurrent xattr workloads (using the ea_inode mount/format option). The deadlock occurs between the running transaction and the eviction thread: - Task 1 (stress-ng): Holds a reference to a shared mbcache_entry (ce) and calls ext4_xattr_inode_cache_find() -> ext4_iget() to retrieve the corresponding EA inode. Since the EA inode is currently being evicted, ext4_iget() blocks in __wait_on_freeing_inode() waiting for eviction to complete. - Task 2 (eviction thread): Currently evicting the same EA inode in ext4_evict_ea_inode(). It calls mb_cache_entry_wait_unused(oe) which blocks waiting for Task 1 to release the reference to the mbcache_entry. To break this deadlock, implement a new ext4_iget() configuration flag named EXT4_IGET_NOWAIT. When set, perform a non-blocking lookup of the inode via VFS's find_inode_nowait() API. If the inode is currently being evicted (marked with I_FREEING or I_WILL_FREE) or created (I_CREATING), or if it is not present in the VFS inode cache (cache miss), simply skip it (returning -ENOENT) rather than waiting for eviction/creation to complete, breaking the ABBA cycle. Since we return -ENOENT immediately on a cache miss, we never attempt to allocate a new inode or call iget_locked(), completely eliminating any TOCTOU race window. If the returned inode is I_NEW, wait for its initialization to clear via wait_on_new_inode(). If initialization fails and the inode is unhashed during wait_on_new_inode() waking up (e.g., due to an I/O read error in another thread), safely drop the reference and return -ENOENT. This unhashed check is executed unconditionally on all cache-hit pathways to properly handle concurrent initialization failures. Finally, standard validation checks (including is_bad_inode, EXT4_EA_INODE_FL, file_acl, and xattr flags) are executed as normal inside check_igot_inode() to fully guarantee VFS-layer safety. In ext4_xattr_inode_cache_find(), invoke ext4_iget() with the new EXT4_IGET_NOWAIT flag to perform the non-blocking cache search. The Linux kernel CVE team has assigned CVE-2026-92503 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 0a46ef234756dca04623b7591e8ebb3440622f0b and fixed in 7.2.6 with commit 7720fddd1fe344d14be258a2028f74ebf1569511 Issue introduced in 6.10 with commit 0a46ef234756dca04623b7591e8ebb3440622f0b and fixed in 7.3-rc1 with commit 03438084a7b8621fb5c762dd3d04cff5f2630fb2 Issue introduced in 6.1.107 with commit 0752e7fb549d90c33b4d4186f11cfd25a556d1dd Issue introduced in 6.6.47 with commit 737fb7853acd5bc8984f6f42e4bfba3334be8ae1 Issue introduced in 6.9.7 with commit 111103907234bffd0a34fba070ad9367de058752 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-92503 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/ext4/ext4.h fs/ext4/inode.c fs/ext4/xattr.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/7720fddd1fe344d14be258a2028f74ebf1569511 https://git.kernel.org/stable/c/03438084a7b8621fb5c762dd3d04cff5f2630fb2