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]
Message-ID: <ZsXcfPaKq3X+Wa5h@debian>
Date: Wed, 21 Aug 2024 20:24:28 +0800
From: Gao Xiang <xiang@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-erofs@...ts.ozlabs.org, LKML <linux-kernel@...r.kernel.org>,
	Hongzhen Luo <hongzhen@...ux.alibaba.com>,
	Sandeep Dhavale <dhavale@...gle.com>,
	Chunhai Guo <guochunhai@...o.com>
Subject: [GIT PULL] erofs fixes for 6.11-rc5

Hi Linus,

Could you consider these patches for 6.11-rc5?

As I mentioned in [1], there is a regression which could cause system
hang due to page migration.  The corresponding fix [2] was landed
upstream through MM tree last week, therefore large folios can be safely
allowed for compressed inodes and stress tests have been running on my
fleet for over 20 days without any regression.  Users have explicitly
requested this for months, so let's allow large folios for EROFS full
cases now for wider testing.

Additionally, there is a fix which addresses invalid memory accesses on
a failure path triggered by fault injection and two minor cleanups to
simplify the codebase.

All commits have been in -next except for Sandeep's new reviewed-by.
No potential merge conflict is observed.

[1] https://lore.kernel.org/r/ZpTAI1mLZ1pfTnz8@debian
[2] 2e6506e1c4ee ("mm/migrate: fix deadlock in migrate_pages_batch() on large folios")

Thanks,
Gao Xiang

The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:

  Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.11-rc5-fixes

for you to fetch changes up to 0005e01e1e875c5e27130c5e2ed0189749d1e08a:

  erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails (2024-08-21 08:12:05 +0800)

----------------------------------------------------------------
Changes since last update:

 - Allow large folios on compressed inodes;

 - Fix invalid memory accesses if z_erofs_gbuf_growsize()
   partially fails;

 - Two minor cleanups.

----------------------------------------------------------------
Gao Xiang (2):
      erofs: allow large folios for compressed files
      erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails

Hongzhen Luo (2):
      erofs: simplify readdir operation
      erofs: get rid of check_layout_compatibility()

 Documentation/filesystems/erofs.rst |  2 +-
 fs/erofs/dir.c                      | 35 ++++++++++++-----------------------
 fs/erofs/inode.c                    | 18 ++++++++----------
 fs/erofs/internal.h                 |  2 +-
 fs/erofs/super.c                    | 26 ++++++--------------------
 fs/erofs/zutil.c                    |  3 ++-
 6 files changed, 30 insertions(+), 56 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ