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: <aUPA8zb70ZhC-Jtf@infradead.org>
Date: Thu, 18 Dec 2025 00:53:07 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Caleb Sander Mateos <csander@...estorage.com>
Cc: Ming Lei <ming.lei@...hat.com>, Jens Axboe <axboe@...nel.dk>,
	Shuah Khan <shuah@...nel.org>, linux-block@...r.kernel.org,
	linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
	Stanley Zhang <stazhang@...estorage.com>,
	Uday Shankar <ushankar@...estorage.com>
Subject: Re: [PATCH 01/20] block: validate pi_offset integrity limit

On Tue, Dec 16, 2025 at 10:34:35PM -0700, Caleb Sander Mateos wrote:
> The PI tuple must be contained within the metadata value, so validate
> that pi_offset + pi_tuple_size <= metadata_size. This guards against
> block drivers that report invalid pi_offset values.

Looks good:

Reviewed-by: Christoph Hellwig <hch@....de>

Please send this to Jens as a fix ASAP.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ