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, 26 Apr 2019 13:20:36 +0200
From:   David Sterba <dsterba@...e.com>
To:     torvalds@...ux-foundation.org
Cc:     David Sterba <dsterba@...e.com>, clm@...com,
        linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] Btrfs fix for 5.1-rc7

Hi,

one patch to fix a crash in io submission path, due to memory allocation
errors. In short, the multipage bio work that landed in 5.1 caused
larger bios that in turn require larger temporary memory for checksums.
The patch is a workaround, we're going to rework the allocation so it
does not require the vmalloc fallback.

It took a while to identify that it's caused by patches in 5.1 and not a
patchset that did some changes in error handling in the code. I've
tested it on various memory/cpu combinations, it could hit OOM but does
not crash.

The timestamp of the patch is less than a day due to updates in the
changelog, tests were running meanwhile.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit 272e5326c7837697882ce3162029ba893059b616:

  btrfs: prop: fix vanished compression property after failed set (2019-04-04 17:57:53 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.1-rc6-tag

for you to fetch changes up to a3d46aea46f99d134b4e0726e4826b824c3e5980:

  btrfs: Switch memory allocations in async csum calculation path to kvmalloc (2019-04-25 14:17:38 +0200)

----------------------------------------------------------------
Nikolay Borisov (1):
      btrfs: Switch memory allocations in async csum calculation path to kvmalloc

 fs/btrfs/file-item.c    | 15 +++++++++++----
 fs/btrfs/ordered-data.c |  3 ++-
 2 files changed, 13 insertions(+), 5 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ