From: Steve French <smfrench@gmail.com>
To: Bjoern Doebel <doebel@amazon.de>, CIFS <linux-cifs@vger.kernel.org>
Cc: samba-technical <samba-technical@lists.samba.org>
Subject: Re: [PATCH] smb: client: use kzalloc to zero-initialize security descriptor buffer
Date: Fri, 8 May 2026 11:50:59 -0500 [thread overview]
Message-ID: <CAH2r5mtXTpYdhU01w-GD32pDabZe6pq7=AhDnCpCGC00-JRxng@mail.gmail.com> (raw)
You mentioned:
"When the reserved field happens to contain non-zero slab garbage,
Samba rejects the security descriptor with "ndr_pull_security_descriptor
failed: Range Error", causing chmod to fail with EINVAL."
I had also been seeing unexpected chmod failures to Samba sometimes in
a few xfstests, did you have a good repro for this? We also have a
problem with chown to Samba that when I tried to fix on the client
got an unexpected error back from Samba, so ideas on cleaning up
setattr_nounix() to fix chown would be appreciated too.
--
Thanks,
Steve
next reply other threads:[~2026-05-08 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 16:50 Steve French [this message]
2026-05-12 22:29 ` [PATCH] smb: client: use kzalloc to zero-initialize security descriptor buffer Bjoern Doebel
-- strict thread matches above, loose matches on Subject: below --
2026-04-30 8:57 Bjoern Doebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH2r5mtXTpYdhU01w-GD32pDabZe6pq7=AhDnCpCGC00-JRxng@mail.gmail.com' \
--to=smfrench@gmail.com \
--cc=doebel@amazon.de \
--cc=linux-cifs@vger.kernel.org \
--cc=samba-technical@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).