Re: [PATCH v2] ceph: Use unsigned types for snapshot split counts

From: Alex Markuze

Date: Sun Nov 22 2026 - 13:16:37 EST


Hi Kaho,

The new array-length checks return through ceph_handle_snap()'s bad
label, which drops the message without fencing I/O. If the MDS sends a
malformed snapshot update, the client can miss it and continue writing
with an out-of-date snapshot context, risking snapshot contents.

Please fence I/O on these failures and use the same blocklisting and
session-close handling as for a corrupt snap trace.

Thanks,
Alex