Comment 12 for bug 2049634

Revision history for this message
Matthew Ruffell (mruffell) wrote : Re: smb1: wsize blocks of bytes followed with binary zeros on copy, destroying data

The cifs-netfs refactor in development seems to fix the issue:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=cifs-netfs

Specifically:

commit 34efb2a814f1882ddb4a518c2e8a54db119fd0d8
Author: David Howells <email address hidden>
Date: Fri Oct 6 18:29:59 2023 +0100
Subject: cifs: Cut over to using netfslib
Link: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?h=cifs-netfs&id=34efb2a814f1882ddb4a518c2e8a54db119fd0d8

This refactor doesn't look suitable to backport to stable kernels though.