All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Eric Biggers <ebiggers@kernel.org>, linux-block@vger.kernel.org
Cc: Satya Tangirala <satyaprateek2357@gmail.com>
Subject: Re: [PATCH] blk-crypto: fix check for too-large dun_bytes
Date: Wed, 25 Aug 2021 06:45:09 -0600	[thread overview]
Message-ID: <b63e482b-e69b-9f24-3dec-c4a02b46f6e1@kernel.dk> (raw)
In-Reply-To: <20210825055918.51975-1-ebiggers@kernel.org>

On 8/24/21 11:59 PM, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> dun_bytes needs to be less than or equal to the IV size of the
> encryption mode, not just less than or equal to BLK_CRYPTO_MAX_IV_SIZE.
> 
> Currently this doesn't matter since blk_crypto_init_key() is never
> actually passed invalid values, but we might as well fix this.

Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2021-08-25 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25  5:59 [PATCH] blk-crypto: fix check for too-large dun_bytes Eric Biggers
2021-08-25 12:45 ` Jens Axboe [this message]

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 \
    --in-reply-to=b63e482b-e69b-9f24-3dec-c4a02b46f6e1@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=ebiggers@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=satyaprateek2357@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.