[Pkg-samba-maint] Bug#1060005: cifs-utils: Copy file with cp, hangs with a kernel NULL pointer dereference.

Michael Tokarev mjt at tls.msk.ru
Fri Jan 5 10:52:30 GMT 2024


Control: reassign -1 src:linux 6.1.69+1

04.01.2024 18:52, Eduardo Nunes:
> Package: cifs-utils
> Version: 2:7.0-2
> Severity: normal
> X-Debbugs-Cc: eduardo.david.nunes at gmail.com
> 
> Dear Maintainer,
> 
> 
> When copying a file between directories on same mount, the operation hangs with:
> BUG: kernel NULL pointer dereference, address: 0000000000000000
> in RIP: 0010:cifs_flush_folio+0x3f/0x100 [cifs]
> 
> Debian12 6.1.0-17-amd run as guest in VirtualBox 7.0.12 and the mounted share is on the host (Windows 10).
> Works as expected in the same configuration but with Debian11 5.10.0-27-amd64 as guest.

It looks like we've regression in 6.1.69 (6.1.0-17) kernel update.

There's at least one more report like this:
https://forum.manjaro.org/t/manjaro-vmware-guest-copying-in-thunar-to-cifs-mounted-windows-locations-fails/153942/2
which also mentions 6.1.69 (and an update to 6.6+ fixed the issue).

6.1.69 had at least 3 cifs-related changes, and two of them look
very interesting in this context:

   - cifs: Fix flushing, invalidation and file size with copy_file_range()
   - cifs: Fix flushing, invalidation and file size with FICLONE

That's copy operation which fails now.

Reassigning to linux package for now..

/mjt



More information about the Pkg-samba-maint mailing list