[GIT PULL] Ceph fixes for 6.18-rc8
From: Ilya Dryomov
Date: Thu Nov 27 2025 - 13:50:14 EST
Hi Linus,
The following changes since commit ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d:
Linux 6.18-rc7 (2025-11-23 14:53:16 -0800)
are available in the Git repository at:
https://github.com/ceph/ceph-client.git tags/ceph-for-6.18-rc8
for you to fetch changes up to 7fce830ecd0a0256590ee37eb65a39cbad3d64fc:
libceph: prevent potential out-of-bounds writes in handle_auth_session_key() (2025-11-27 09:59:49 +0100)
----------------------------------------------------------------
A patch to make sparse read handling work in msgr2 secure mode from
Slava and a couple of fixes from Ziming and myself to avoid operating
on potentially invalid memory, all marked for stable.
----------------------------------------------------------------
Ilya Dryomov (2):
libceph: fix potential use-after-free in have_mon_and_osd_map()
libceph: drop started parameter of __ceph_open_session()
Viacheslav Dubeyko (1):
ceph: fix crash in process_v2_sparse_read() for encrypted directories
ziming zhang (2):
libceph: replace BUG_ON with bounds check for map->max_osd
libceph: prevent potential out-of-bounds writes in handle_auth_session_key()
fs/ceph/super.c | 2 +-
include/linux/ceph/libceph.h | 3 +--
net/ceph/auth_x.c | 2 ++
net/ceph/ceph_common.c | 58 ++++++++++++++++++++++++++------------------
net/ceph/debugfs.c | 14 ++++++++---
net/ceph/messenger_v2.c | 11 ++++++---
net/ceph/osdmap.c | 18 ++++++++------
7 files changed, 66 insertions(+), 42 deletions(-)