From: Paulo Alcantara <pc@cjr.nz>
To: Dan Carpenter <error27@gmail.com>, Steve French <sfrench@samba.org>
Cc: Ronnie Sahlberg <lsahlber@redhat.com>,
Shyam Prasad N <sprasad@microsoft.com>,
Tom Talpey <tom@talpey.com>,
linux-cifs@vger.kernel.org, samba-technical@lists.samba.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] cifs: Use after free in debug code
Date: Fri, 18 Nov 2022 11:48:08 -0300 [thread overview]
Message-ID: <87edu0jp3r.fsf@cjr.nz> (raw)
In-Reply-To: <Y3dw8KLm7MDgACCY@kili>
Dan Carpenter <error27@gmail.com> writes:
> This debug code dereferences "old_iface" after it was already freed by
> the call to release_iface(). Re-order the debugging to avoid this
> issue.
>
> Fixes: b54034a73baf ("cifs: during reconnect, update interface if necessary")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> fs/cifs/sess.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
next prev parent reply other threads:[~2022-11-18 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 11:48 [PATCH] cifs: Use after free in debug code Dan Carpenter
2022-11-18 14:48 ` Paulo Alcantara [this message]
2022-11-19 19:59 ` Steve French
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=87edu0jp3r.fsf@cjr.nz \
--to=pc@cjr.nz \
--cc=error27@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=lsahlber@redhat.com \
--cc=samba-technical@lists.samba.org \
--cc=sfrench@samba.org \
--cc=sprasad@microsoft.com \
--cc=tom@talpey.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.