Skip to contentSkip to conversation

Ceph fixes for 6.13-rc4

GIT PULL Merged Ilya Dryomov 2 participants 2 messages Dec 20, 2024 – Dec 21, 2024

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8:

Linux 6.13-rc3 (2024-12-15 15:58:23 -0800)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.13-rc4

for you to fetch changes up to 18d44c5d062b97b97bb0162d9742440518958dc1:

ceph: allocate sparse_ext map only for sparse reads (2024-12-16 23:25:44 +0100)

----------------------------------------------------------------
A handful of important CephFS fixes from Max, Alex and myself: memory corruption due to a buffer overrun, potential infinite loop and several memory leaks on the error paths. All but one marked for stable.

----------------------------------------------------------------
Alex Markuze (1):
ceph: improve error handling and short/overflow-read logic in __ceph_sync_read()

Ilya Dryomov (3):
ceph: validate snapdirname option length when mounting
ceph: fix memory leak in ceph_direct_read_write()
ceph: allocate sparse_ext map only for sparse reads

Max Kellermann (2):
ceph: fix memory leaks in __ceph_sync_read()
ceph: give up on paths longer than PATH_MAX

 fs/ceph/file.c        | 77 +++++++++++++++++++++++++--------------------------
 fs/ceph/mds_client.c  |  9 +++---
 fs/ceph/super.c       |  2 ++
 net/ceph/osd_client.c |  2 ++
 4 files changed, 46 insertions(+), 44 deletions(-)