linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] fsverity fix for 5.15-rc4
@ 2021-09-28  6:22 Eric Biggers
  2021-09-28 14:59 ` Linus Torvalds
  2021-09-28 15:01 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Biggers @ 2021-09-28  6:22 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-fscrypt, linux-btrfs, linux-fsdevel, linux-kernel, Boris Burkov

The following changes since commit e4e737bb5c170df6135a127739a9e6148ee3da82:

  Linux 5.15-rc2 (2021-09-19 17:28:22 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus

for you to fetch changes up to 80f6e3080bfcf865062a926817b3ca6c4a137a57:

  fs-verity: fix signed integer overflow with i_size near S64_MAX (2021-09-22 10:56:34 -0700)

----------------------------------------------------------------

Fix an integer overflow when computing the Merkle tree layout of
extremely large files, exposed by btrfs adding support for fs-verity.

----------------------------------------------------------------
Eric Biggers (1):
      fs-verity: fix signed integer overflow with i_size near S64_MAX

 fs/verity/enable.c | 2 +-
 fs/verity/open.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] fsverity fix for 5.15-rc4
  2021-09-28  6:22 [GIT PULL] fsverity fix for 5.15-rc4 Eric Biggers
@ 2021-09-28 14:59 ` Linus Torvalds
  2021-09-28 15:01 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Torvalds @ 2021-09-28 14:59 UTC (permalink / raw)
  To: Eric Biggers
  Cc: linux-fscrypt, linux-btrfs, linux-fsdevel,
	Linux Kernel Mailing List, Boris Burkov

On Mon, Sep 27, 2021 at 11:22 PM Eric Biggers <ebiggers@kernel.org> wrote:
>
> Fix an integer overflow when computing the Merkle tree layout of
> extremely large files, exposed by btrfs adding support for fs-verity.

I wonder if 'i_size' should be u64. I'm not convinced people think
about 'loff_t' being signed - but while that's required for negative
lseek() offsets, I'm not sure it makes tons of sense for an inode
size.

Same goes for f_pos, for that matter.

But who knows what games people have played with magic numbers (ie
"-1") internally, or where they _want_ signed compares. So it's
certainly not some obvious trivial fix.

Pulled.

            Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] fsverity fix for 5.15-rc4
  2021-09-28  6:22 [GIT PULL] fsverity fix for 5.15-rc4 Eric Biggers
  2021-09-28 14:59 ` Linus Torvalds
@ 2021-09-28 15:01 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2021-09-28 15:01 UTC (permalink / raw)
  To: Eric Biggers
  Cc: Linus Torvalds, linux-fscrypt, linux-btrfs, linux-fsdevel,
	linux-kernel, Boris Burkov

The pull request you sent on Mon, 27 Sep 2021 23:22:07 -0700:

> https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6fd3ec5c7af58d5d6b598fba22ac387645af33f4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-28 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28  6:22 [GIT PULL] fsverity fix for 5.15-rc4 Eric Biggers
2021-09-28 14:59 ` Linus Torvalds
2021-09-28 15:01 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).