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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_900337D4388F6BEDF9525EFA974CD7669106@qq.com>
Date: Tue, 18 Nov 2025 11:36:23 +0800
From: Yuwen Chen <ywen.chen@...mail.com>
To: senozhatsky@...omium.org
Cc: akpm@...ux-foundation.org,
	bgeffon@...gle.com,
	licayy@...look.com,
	linux-block@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-mm@...ck.org,
	minchan@...gle.com,
	minchan@...nel.org,
	richardycc@...gle.com,
	ywen.chen@...mail.com
Subject: Re: [PATCHv3 1/4] zram: introduce writeback bio batching support

On Tue, 18 Nov 2025 11:18:56 +0800, Yuwen Chen wrote:
>> +	/*
>> +	 * We release slot lock during writeback so slot can change under us:
>> +	 * slot_free() or slot_free() and zram_write_page(). In both cases
>> +	 * slot loses ZRAM_PP_SLOT flag. No concurrent post-processing can
>> +	 * set ZRAM_PP_SLOT on such slots until current post-processing
>> +	 * finishes.
>> +	 */
>> +	if (!zram_test_flag(zram, index, ZRAM_PP_SLOT))
>> +		goto out;
>In this place, the index may be leaked.

To be precise, blk_idx may be leaked.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ