lkml.org 
[lkml]   [2021]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectcifs: suscpected double free in cifs_oplock_break on error
Date
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

\
 
 \ /
  Last update: 2021-11-05 15:20    [W:0.069 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site