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>] [thread-next>] [day] [month] [year] [list]
Date:	Tue,  7 Jun 2016 11:23:30 -0500
From:	Shaun Tancheff <shaun@...cheff.com>
To:	linux-block@...r.kernel.org
Cc:	Shaun Tancheff <shaun@...cheff.com>,
	Christoph Hellwig <hch@....de>, axboe@...nel.dk,
	David Drysdale <drysdale@...gle.com>,
	Xiong Zhou <xzhou@...hat.com>,
	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, linux-nvdimm@...1.01.org,
	Larry Finger <Larry.Finger@...inger.net>,
	Catalin Marinas <catalin.marinas@....com>,
	LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...com>,
	bart.vanassche@...disk.com
Subject: [PATCH] Fix reported kmemleak

This fixes a memory leak reported by a few people in 4.7-rc1

kmemleak report after 9082e87bfbf8 ("block: remove struct bio_batch")

This patch just formalizes the one in this discussion here:
https://lkml.kernel.org/r/20160606112620.GA29910@e104818-lin.cambridge.arm.com

The same issue appears here:
https://lkml.kernel.org/r/20160607102651.GA6480@dhcp12-144.nay.redhat.com

Patch is also available at:

https://github.com/stancheff/linux.git
branch: v4.7-rc2+bio_put

Cc: Christoph Hellwig <hch@....de>
Cc: axboe@...nel.dk
cc: David Drysdale <drysdale@...gle.com>
Cc: Xiong Zhou <xzhou@...hat.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org
Cc: linux-nvdimm@...1.01.org
Cc: Christoph Hellwig <hch@....de>
Cc: Larry Finger <Larry.Finger@...inger.net>
Cc: Catalin Marinas <catalin.marinas@....com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Cc: Jens Axboe <axboe@...com>,
Cc: bart.vanassche@...disk.com

Shaun Tancheff (1):
  Missing bio_put following submit_bio_wait

 block/blk-lib.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

-- 
2.8.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ