All of lore.kernel.org
 help / color / mirror / Atom feed
* cifs: suscpected double free in cifs_oplock_break on error
@ 2021-11-05 14:19 YE Chengfeng
  0 siblings, 0 replies; only message in thread
From: YE Chengfeng @ 2021-11-05 14:19 UTC (permalink / raw)
  To: sfrench; +Cc: linux-cifs, samba-technical, linux-kernel

Hi,

We notice that _cifsFileInfo_put() is called twice for cfile follow branch at #line 4874. Follow _cifsFileInfo_put->_cifsFileInfo_put->cifsFileInfo_put_final, cfile will be freed finally, so it calling this function on the same variable at twice looks like a double free issue. Would you like to have a look at it? We would like to provide a patch after confirmation.

https://github.com/torvalds/linux/blob/master/fs/cifs/file.c#L4874

Best regards,
Chengfeng

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-05 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 14:19 cifs: suscpected double free in cifs_oplock_break on error YE Chengfeng

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.