Re: [PATCH] cifs: Use after free in debug code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



merged into cifs-2.6.git for-next

On Fri, Nov 18, 2022 at 8:48 AM Paulo Alcantara via samba-technical
<samba-technical@xxxxxxxxxxxxxxx> wrote:
>
> Dan Carpenter <error27@xxxxxxxxx> 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@xxxxxxxxxx>
> > ---
> >  fs/cifs/sess.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx>
>


-- 
Thanks,

Steve



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux