linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Sang <oliver.sang@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>,
	Steve French <sfrench@samba.org>, <oe-lkp@lists.linux.dev>,
	<lkp@intel.com>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Jeff Layton <jlayton@kernel.org>, <netfs@lists.linux.dev>,
	<linux-fsdevel@vger.kernel.org>, <oliver.sang@intel.com>
Subject: Re: [linux-next:master] [netfs] a05b682d49: BUG:KASAN:slab-use-after-free_in_copy_from_iter
Date: Fri, 20 Sep 2024 14:36:24 +0800	[thread overview]
Message-ID: <Zu0X6JWpvxhzT6/x@xsang-OptiPlex-9020> (raw)
In-Reply-To: <2537824.1726730090@warthog.procyon.org.uk>

hi, David,

On Thu, Sep 19, 2024 at 08:14:50AM +0100, David Howells wrote:
> Oliver Sang <oliver.sang@intel.com> wrote:
> 
> > > Can you tell me SMB server you're using?  Samba, ksmbd, Windows, Azure?  I'm
> > > guessing one of the first two.
> > 
> > we actually use local mount to simulate smb. I attached an output for details.
> > 
> > 2024-09-11 23:30:58 mkdir -p /cifs/sda1
> > 2024-09-11 23:30:58 timeout 5m mount -t cifs -o vers=2.0 -o user=root,password=pass //localhost/fs/sda1 /cifs/sda1
> > mount cifs success
> 
> Does your mount command run up samba or something?  This doesn't seem to work
> on my system.  I get:
> 
> andromeda32# mount -t cifs -o vers=2.0 -o user=root,password=pass //localhost/fs/sda6 /mnt
> mount error(111): could not connect to ::1mount error(111): could not connect to 127.0.0.1Unable to find suitable address.

have you enable the samba with a /fs path? such like:

start_smbd()
{
	# setup smb.conf
	cat >> /etc/samba/smb.conf <<EOF
[fs]
   path = /fs
   comment = lkp cifs
   browseable = yes
   read only = no
EOF
	# setup passwd
	(echo "pass"; echo "pass") | smbpasswd -s -a $(whoami)
	# restart service
	systemctl restart smb.service
}

(https://github.com/intel/lkp-tests/blob/48db85cbe0f249d075bc7eef263b485f02cb153d/lib/fs_ext.sh#L93C1-L107C2)

> 
> David
> 


  reply	other threads:[~2024-09-20  6:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13  7:24 kernel test robot
2024-09-13  7:59 ` David Howells
2024-09-13  8:11   ` Christian Brauner
2024-09-18  2:24     ` Oliver Sang
2024-09-18 10:34     ` David Howells
2024-09-18 11:27     ` David Howells
2024-09-19  2:23       ` Oliver Sang
2024-09-19  7:14       ` David Howells
2024-09-20  6:36         ` Oliver Sang [this message]
2024-09-20  7:55         ` David Howells
2024-09-18 14:03 ` David Howells
2024-09-19  2:50   ` Oliver Sang
2024-09-24 21:47 ` David Howells
2024-09-24 23:19   ` Steve French
2024-09-26  2:20   ` Oliver Sang

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=Zu0X6JWpvxhzT6/x@xsang-OptiPlex-9020 \
    --to=oliver.sang@intel.com \
    --cc=brauner@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=netfs@lists.linux.dev \
    --cc=oe-lkp@lists.linux.dev \
    --cc=sfrench@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