VFS modules like streams_xattr use the function fsp_is_alternate_stream() on the fsp to determine in an fsp is a stream, eg in streams_xattr_close(). If fspo->base_fsp is arlready set to NULL, this won't work anymore.
This bug was referenced in samba master: 4481a67c1b20549a71d6c5132b637798a09f966d
Created attachment 18189 [details] Patch for 4.18 and 4.19 cherry-picked from master
Re-assigning to Jule for 4.19.next, 4.18.next.
Pushed to autobuild-v4-{19,18}-test.
This bug was referenced in samba v4-18-test: d522d15c82bc413fcc83106c93fd3f051a04f270
This bug was referenced in samba v4-19-test: 95af9424ccca96054a4350d0fa2f5d9200c93c27
Closing out bug report. Thanks!
This bug was referenced in samba v4-19-stable (Release samba-4.19.3): 95af9424ccca96054a4350d0fa2f5d9200c93c27
This bug was referenced in samba v4-18-stable (Release samba-4.18.9): d522d15c82bc413fcc83106c93fd3f051a04f270