From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0802D38C2B8 for ; Fri, 24 Jul 2026 20:20:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784924426; cv=none; b=E6V2jmQvVlIh2pOFiwet4TQSeQgXhlULFfFqyjFtmWRr8km01e60nykQcrgXvbxWifQ1MtCycvF7VD2ZRXyjNfagkclADgeqGJ4bpcY5S7saa4gJd+w6IDGZxfaSJWRjNAZz8usnS80DLIVYH+foF0mYIi7rVzqUasnShI9BHOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784924426; c=relaxed/simple; bh=CLtBecbcEVgPyaUW1dYWgqXSxuOo3paJli9iVfJKoNE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VK+EJxpSf0JG6n3rPlsuD5an8/Uy1MIIYWNdH++ti7Rc9u5aetyRfI3p+EDyPVl80ryt5asIoYUC/lyb2WgRhMcUX33wb4LHZVZ8puCVX7jyPd9ldjD/f0I4w14W4Cpq06m2Ovb4LA5KeUn/cUJfYtGk19E8ik6gPKqfMUErk9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nNqYSsSc; arc=none smtp.client-ip=209.85.222.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nNqYSsSc" Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-930c0f9c1b1so80993185a.1 for ; Fri, 24 Jul 2026 13:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784924424; x=1785529224; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=R/tD0oS5FfCf/W2RSYyxG7jBt51/W3i6j453047sHmM=; b=nNqYSsScLHGQKGlEpKAw/rsjCV32UKnZPS/itm7OBZsO4ZLspROl88SqJjn5ygCBrX z+hKIYYQdB6FvE/0v0y0puNCLrGW/9PxR2jUUdjDVfqU5tKiGYPzJYsNqy9m4jZFou7t Ly/oZZkHd9rNqg1+DwNzEnPYdm43C2c5hTUErJ49LKWVKL4CWUb2nU3jCSO+yA70PyH7 aZBePiM6bAY6sdZzz8ofQCoERu/vZs5qZRXg60eF05Tn57WhNuKlfzfhTMwFxXSnWzck iGzohxZvfRqoTJu5/v6KeTatDRwE5hdZ6bsXehBR2+uNNTbbSa6m22yRfsot9+nhioyj XV8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784924424; x=1785529224; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=R/tD0oS5FfCf/W2RSYyxG7jBt51/W3i6j453047sHmM=; b=AtRw5W0KCQU9a7C8YMezvS2ihtk3zRkjY+W/BtDocvC2+dQaymzqSQtIEHeXVG6uvK Ns9Rc6sPZ0o1hvudMCaiVRIHXV0g+F0fJ4xcSL3GlAkzUJbQpkogvW1TNYtxPuuZWx2q LlrrrDYnId0EcVgEhheLBHmjcShed9kVzNEErBmypUPmWun9ZamDa0+UOl894jxM6yr2 Ta2pUdQvzGtRwLEhoTImqulG4RO4cBmEjlnPOhX1VrroeMrwfq8uKuEsMd1+soKa+9t+ rlDcKJxZuNdE8Se8fDdNacvyVkfTNWlTvmmn033v1/6MB9HSFV+T1XGO2cAa22QPT32L f+AQ== X-Forwarded-Encrypted: i=1; AHgh+Rqp7EOtKqMfCQ3JTnuxdjPBJfk/GgM1oWFweoRLmSRd6JDM+2IHB3Y/oIn/xA2qCoNzf7eBaQ0o8TxCHLU=@vger.kernel.org X-Gm-Message-State: AOJu0YymiI2AbLFROEg+4w7jgzoDbJ2NMke/hEpeuiJzUkQEjQDkfW9q CHY6E+eg+UscbadB8U7/fHel+/0zfmVFMJR/4ntdpWNFV6t4D6VZdNUC10u0BA== X-Gm-Gg: AR+sD118jZRk7ZcpOsn4G268ppEoIfaUgU9OaCsg9v6iwvrOx299wKq/wgKk6a9O6Ks 7tSrs9HKds7Rpnkrpfi/p1wcNstcZ8QaBL1BpBZjr1Om50KSQJBRkfIMVpGkrsjPgklXdKlSU9h 7HzRAtQ5T4uzL8te5gOYqC4FyvtyCggs8pPuF2o2/9stH+SSXKJnF44A71ZKE+imLinMFm2hxMo tcJLZcm+WFyw4PbvwugSmvBkk3Wq7qyc/CiG9S08LK9bs+6l4jPZf0O3TqIL7EH801PzEuWI9Z2 iesBkhDWeYi+N92MThz4drqqjkyGrf+4yJ6i3uFHfrMSYenL3LtQBZOsMa0YMGY0g5bvhBhP5aV 4uLW3S8x0yx8Wl/OdUf56gYhzrOdMBpqZWxwhpLdZTYKkejLv1aa4HMdw4K4ZUbR4KECFGLvh6r yn+tl+R+GZmXIWGETh+1fHIrxv5g== X-Received: by 2002:a05:620a:a401:20b0:92e:fd2a:102f with SMTP id af79cd13be357-93103746127mr740387185a.72.1784924423835; Fri, 24 Jul 2026 13:20:23 -0700 (PDT) Received: from zambezi.front.sepia.ceph.com ([2a02:8308:b10e:9400:faf:460b:2f23:8f6f]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-907e86d7207sm5839716d6.34.2026.07.24.13.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2026 13:20:23 -0700 (PDT) From: Ilya Dryomov To: Linus Torvalds Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Ceph fixes for 7.2-rc5 Date: Fri, 24 Jul 2026 22:20:13 +0200 Message-ID: <20260724202014.1168527-1-idryomov@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Linus, The following changes since commit 1590cf0329716306e948a8fc29f1d3ee87d3989f: Linux 7.2-rc4 (2026-07-19 13:54:41 -0700) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-7.2-rc5 for you to fetch changes up to 5b602344a49e039e792ce5a8923bcc61412ee134: ceph: avoid fs reclaim while using current->journal_info (2026-07-23 20:29:42 +0200) ---------------------------------------------------------------- A bunch of assorted fixes with the majority being hardening against malformed input and invalid data scenarios that don't happen in real deployments but can be utilized to trigger use-after-free and similar issues, some error path leak fixups and two patches from Max to avoid a potential hang in __ceph_get_caps() and unintended nesting of current->journal_info while handling replies from the MDS. All marked for stable. ---------------------------------------------------------------- Bryam Vargas (1): ceph: fix pre-auth out-of-bounds read on snaptrace in ceph_handle_caps() Douya Le (3): libceph: reject zero bucket types in crush_decode libceph: bound get_version reply decode to front len libceph: remove debugfs files before client teardown Max Kellermann (3): ceph: fix hanging __ceph_get_caps() with stale mds_wanted ceph: add owner/capability checks for CEPH_IOC_SET_LAYOUT* ceph: avoid fs reclaim while using current->journal_info Pavitra Jha (1): libceph: fix two unsafe bare decodes in decode_lockers() Raphael Zimmer (3): libceph: Fix multiplication overflow in decode_new_up_state_weight() libceph: Reject monmaps advertising zero monitors rbd: Reset positive result codes to zero in object map update path Shuangpeng Bai (1): libceph: refresh auth->authorizer_buf{,_len} after authorizer update WenTao Liang (1): ceph: fix refcount leak in ceph_readdir() Wentao Liang (1): ceph: fix writeback_count leak in write_folio_nounlock() Xiang Mei (1): libceph: bound pg_{temp,upmap,upmap_items} length to CEPH_PG_MAX_SIZE Zhao Zhang (1): libceph: guard missing CRUSH type name lookup drivers/block/rbd.c | 7 ++++++- fs/ceph/addr.c | 9 +++++++++ fs/ceph/caps.c | 18 ++++++++++++++++-- fs/ceph/dir.c | 7 ++++++- fs/ceph/file.c | 9 +++++---- fs/ceph/ioctl.c | 6 ++++++ fs/ceph/mds_client.c | 11 +++++++++++ fs/ceph/mds_client.h | 1 + net/ceph/auth_x.c | 9 ++++++++- net/ceph/ceph_common.c | 4 ++-- net/ceph/cls_lock_client.c | 8 ++++++-- net/ceph/mon_client.c | 4 ++-- net/ceph/osdmap.c | 16 ++++++++++++---- 13 files changed, 90 insertions(+), 19 deletions(-)