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: <7ca9cfc8-3423-476f-b768-8f089dae140a@kernel.dk>
Date: Sat, 13 Jul 2024 06:38:58 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
 syzbot <syzbot+1e811482aa2c70afa9a0@...kaller.appspotmail.com>,
 io-uring@...r.kernel.org, syzkaller-bugs@...glegroups.com,
 Pavel Begunkov <asml.silence@...il.com>,
 Gabriel Krisman Bertazi <krisman@...e.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring: Check socket is valid in io_bind()/io_listen()

On 7/13/24 4:05 AM, Tetsuo Handa wrote:
> We need to check that sock_from_file(req->file) != NULL.

Yep indeed, that was missed. Thanks, I'll apply this, just moving
the assignment to where the NULL check is for consistency's sake.

-- 
Jens Axboe



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ