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 C397E443E43 for ; Wed, 26 Aug 2026 14:38:29 +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=1787755111; cv=none; b=DH7XCcmOyh2vuuXHUaPVYgJLLUJCCnerFMct6Knl7S2UrOIyctS+S6WlssUgQgfm/5YOEgodicMcQCxh/BLGpIQNiXzdsXuB2MXNE47Z2IPxo/wLHgXPOB2A0xxEDtCz4WFDs0BidFpTMWPxFIy1AU2kAG97RsIz2c+0nJC5cQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755111; c=relaxed/simple; bh=i7C4o6ld0yb2sk82/BsLIJWbPFD1wnfzdE3NhxFKuIQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RuKz2CDbdrnu4Ta69c6GNdGpAAEwCvozk9ZyBzEG2tNPp4VSFc/GmWOSlvjWE6EYnPrlYsYenJKl5ULPKRMjje/zvvxhtNghitPqBORaAJrvOZ8uTdaG0PGBn17h5LcnDgAb2Z6NT+7sEGWAmb6ZGQCQTOQMs+yFK2l+LpIl79Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZbQdcG65; 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="ZbQdcG65" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 292ED1F000E9; Wed, 26 Aug 2026 14:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755109; bh=mra6BWrgxwhagUKClWabeiSlHn2cgFhuij7GAcqnX3U=; h=From:To:Cc:Subject:Date:Reply-To; b=ZbQdcG65JiRZQC5Oqp1L0F78gDtK/BLyEWjqYWwjs4EGjkDZdk8624UwzuZQSpkxh xBzYAxlIBlY++AtPeZhPO/2pi7iO636tQH0RuV2CWBryE4GbIhq6vZrMa7Z5O2eRnF jr46dFCKfr7GQV5IA9SOlCeRTDXRVSYTWhtXOUd8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80528: ceph: avoid fs reclaim while using current->journal_info Date: Wed, 26 Aug 2026 16:37:24 +0200 Message-ID: <2026082602-CVE-2026-80528-0b2f@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=5065; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/Zig5l19KwkauWSeCKTaGOcbKDv6nZdaWtFaiLdOckA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v/h/xvCvEKpYrHz/nvKWg8Ur309VnfP3qtOCbbIW8 /QnCviu7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7GZhmB8iGlsc/2STx9z1 Hx8tM93nobJmjRHD/LgNsV+jE3KvfFvIGaTuJ/kzmcc3CwA= 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: ceph: avoid fs reclaim while using current->journal_info handle_reply() stores a `ceph_mds_request` pointer in `current->journal_info` while filling the inode and dentry cache from an MDS reply. An allocation in this section can enter direct reclaim and prune dentries from another filesystem. If this dirties an ext4 inode, ext4 starts a JBD2 transaction. JBD2 interprets the Ceph request in `current->journal_info` as a journal handle and dereferences the request's `r_tid` as `h_transaction`, causing a kernel crash, e.g.: Unable to handle kernel paging request at virtual address 00000000077b4818 [...] Internal error: Oops: 0000000096000004 [#1] SMP Modules linked in: CPU: 6 UID: 0 PID: 2699135 Comm: kworker/6:3 Tainted: G W 6.18.38-i3 #1113 NONE [...] Workqueue: ceph-msgr ceph_con_workfn pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : jbd2__journal_start+0x2c/0x208 lr : __ext4_journal_start_sb+0x100/0x178 [...] Call trace: jbd2__journal_start+0x2c/0x208 (P) __ext4_journal_start_sb+0x100/0x178 ext4_dirty_inode+0x3c/0x90 __mark_inode_dirty+0x58/0x400 iput.part.0+0x2b0/0x370 iput+0x18/0x30 dentry_unlink_inode+0xc0/0x158 __dentry_kill+0x80/0x250 shrink_dentry_list+0x90/0x130 prune_dcache_sb+0x60/0x98 super_cache_scan+0xe8/0x190 do_shrink_slab+0x174/0x388 shrink_slab+0xd8/0x4c0 shrink_node+0x31c/0x908 do_try_to_free_pages+0xd0/0x508 try_to_free_pages+0x11c/0x238 __alloc_frozen_pages_noprof+0x4d0/0xdd0 __folio_alloc_noprof+0x18/0x70 __filemap_get_folio+0x248/0x440 ceph_readdir_prepopulate+0x570/0x9e8 mds_dispatch+0x1424/0x1ba0 ceph_con_process_message+0x74/0xa0 ceph_con_v1_try_read+0x3a0/0x1510 ceph_con_workfn+0x260/0x460 Enter a scoped NOFS allocation context and leave it after clearing `journal_info`. This prevents filesystem reclaim from recursing into another filesystem while the field contains Ceph-private data. The Linux kernel CVE team has assigned CVE-2026-80528 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 5.10.266 with commit ca5fa2380dd90a0adb01580fa6225025351a90f6 Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 5.15.217 with commit 00c12f57a87f537fa8779258fb3a03003a99963e Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 6.1.184 with commit 4dbb2c02558e71f93510a6461d7e798b67426b49 Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 6.6.153 with commit c8a21660c3b90864c391164eea5622e7b5b2897c Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 6.12.105 with commit 47b745747b3aa39064724a642884f9df924ddf20 Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 6.18.46 with commit 79d95b43ca090426399651ed580dd9bf2db36ab8 Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 7.1.10 with commit b6a0989613072499633e761a1536428a466de7d3 Issue introduced in 4.6 with commit 315f24088048a51eed341c53be66ea477a3c7d16 and fixed in 7.2 with commit 5b602344a49e039e792ce5a8923bcc61412ee134 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-80528 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/ceph/mds_client.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/ca5fa2380dd90a0adb01580fa6225025351a90f6 https://git.kernel.org/stable/c/00c12f57a87f537fa8779258fb3a03003a99963e https://git.kernel.org/stable/c/4dbb2c02558e71f93510a6461d7e798b67426b49 https://git.kernel.org/stable/c/c8a21660c3b90864c391164eea5622e7b5b2897c https://git.kernel.org/stable/c/47b745747b3aa39064724a642884f9df924ddf20 https://git.kernel.org/stable/c/79d95b43ca090426399651ed580dd9bf2db36ab8 https://git.kernel.org/stable/c/b6a0989613072499633e761a1536428a466de7d3 https://git.kernel.org/stable/c/5b602344a49e039e792ce5a8923bcc61412ee134