lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 5 Nov 2021 14:19:25 +0000
From:   YE Chengfeng <cyeaa@...nect.ust.hk>
To:     "sfrench@...ba.org" <sfrench@...ba.org>
CC:     "linux-cifs@...r.kernel.org" <linux-cifs@...r.kernel.org>,
        "samba-technical@...ts.samba.org" <samba-technical@...ts.samba.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: cifs: suscpected double free in cifs_oplock_break on error

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ