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-next>] [day] [month] [year] [list]
Date:   Fri, 23 Jun 2023 20:58:01 +0200
From:   David Sterba <dsterba@...e.com>
To:     torvalds@...ux-foundation.org
Cc:     David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [GIT PULL] Btrfs fix for 6.4-rc7, part 2

Hi,

unfortunately the recent u32 overflow fix was not complete, there was
one conversion left, assertion not triggered by my tests but caught by
Qu's fstests case. The "cleanup for later" has been promoted to a proper
fix and wraps all uses of the stripe left shift so the diffstat has grown
but leaves no potentially problematic uses. We should have done it that
way before, sorry.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit a7299a18a179a9713651fce9ad00972a633c14a9:

  btrfs: fix u32 overflows when left shifting stripe_nr (2023-06-20 19:10:31 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.4-rc7-tag

for you to fetch changes up to cb091225a538005965b7c59c7c33ebe5358a5815:

  btrfs: fix remaining u32 overflows when left shifting stripe_nr (2023-06-22 17:03:55 +0200)

----------------------------------------------------------------
Qu Wenruo (1):
      btrfs: fix remaining u32 overflows when left shifting stripe_nr

 fs/btrfs/block-group.c  |  2 +-
 fs/btrfs/scrub.c        | 22 +++++++++++-----------
 fs/btrfs/tree-checker.c |  4 ++--
 fs/btrfs/volumes.c      | 29 +++++++++++++++--------------
 fs/btrfs/volumes.h      | 11 +++++++++++
 5 files changed, 40 insertions(+), 28 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ