public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Tetsuo Handa <[email protected]>,
	syzbot <[email protected]>,
	[email protected], [email protected],
	Pavel Begunkov <[email protected]>,
	Gabriel Krisman Bertazi <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] io_uring: Check socket is valid in io_bind()/io_listen()
Date: Sat, 13 Jul 2024 06:38:58 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

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



  reply	other threads:[~2024-07-13 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-13  8:21 [syzbot] [io-uring] general protection fault in tomoyo_socket_bind_permission syzbot
2024-07-13 10:05 ` [PATCH] io_uring: Check socket is valid in io_bind()/io_listen() Tetsuo Handa
2024-07-13 12:38   ` Jens Axboe [this message]
2024-07-13 12:40   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox