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: <aUSHcH9TccvzgQkG@kbusch-mbp>
Date: Fri, 19 Dec 2025 07:00:00 +0800
From: Keith Busch <kbusch@...nel.org>
To: veygax <veyga@...gax.dev>
Cc: Ming Lei <ming.lei@...hat.com>, Jens Axboe <axboe@...nel.dk>,
	"io-uring@...r.kernel.org" <io-uring@...r.kernel.org>,
	Caleb Sander Mateos <csander@...estorage.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] io_uring/rsrc: fix slab-out-of-bounds in
 io_buffer_register_bvec

On Thu, Dec 18, 2025 at 01:13:11AM +0000, veygax wrote:
> On 18/12/2025 00:56, Keith Busch wrote:
> > I believe you're supposed to use the bio_add_page() API rather than open
> > code the bvec setup.
> 
> True, but I wanted fine control to prove my theory

But doesn't that just prove misusing the interface breaks things? Is
there currently a legit way to get this error without the misuse? Or is
there existing mis-use in the kernel that should be fixed instead?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ