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:	Sat, 02 Aug 2008 15:46:35 +0200
From:	Oliver Pinter <oliver@...ernowsky.hu>
To:	Shirish Pargaonkar <shirishp@...il.com>, stable@...nel.org
Cc:	Steve French <sfrench@...ibm.com>,
	Oliver Pinter <oliver.pntr@...il.com>,
	linux-kernel@...r.kernel.org
Subject: [RFC, 2.6.26.2-rc1] Fix possible double free if search immediately after
 search rewind fails

>From 76c510ad2e7d56cfe8f2cc7b23783e5c687cf704 Mon Sep 17 00:00:00 2001
From: Shirish Pargaonkar <shirishp@...il.com>
Date: Thu, 24 Jul 2008 14:48:33 +0000
Subject: [PATCH] [CIFS] Fix possible double free if search immediately
after search rewind fails

[ Upstream commit 76c510ad2e7d56cfe8f2cc7b23783e5c687cf704 ]

Signed-off-by: Shirish Pargaonkar <shirishp@...ibm.com>
Signed-off-by: Steve French <sfrench@...ibm.com>
CC: Oliver Pinter <oliver.pntr@...il.com>

diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index 83f3069..5f40ed3 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -690,6 +690,7 @@ static int find_cifs_entry(const int xid, struct
cifsTconInfo *pTcon,
 			else
 				cifs_buf_release(cifsFile->srch_inf.
 						ntwrk_buf_start);
+			cifsFile->srch_inf.ntwrk_buf_start = NULL;
 		}
 		rc = initiate_cifs_search(xid, file);
 		if (rc) {


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ