Is Samba AIO affected by recent Linux data corruption bug?
Bram Matthys
syzop at vulnscan.org
Thu Dec 14 08:42:47 UTC 2023
Hi Andrew,
On 14/12/2023 09.38, Andrew Bartlett wrote:
> On Thu, 2023-12-14 at 08:38 +0100, Bram Matthys via samba-technical wrote:
>> Hi everyone,
>> In relation to the recent Linux filesystem corruption bug with O_DIRECT
>> [1]. I read that to trigger this, an application needs to use O_DIRECT
>> and that the bug is that the file position is not updated properly. So
>> the bug does not happen with pwrite(), or if lseek() is always called prior.
> No, Samba does not use O_DIRECT (and it would be a lot of work to make it do so, I investigated this once!) in the file server.
> An incredibly rarely used client tool, cifsdd, uses it optionally with --direct
Great, glad to hear that! Thanks a lot for the quick reply!
Best regards,
Bram
More information about the samba-technical
mailing list