linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] erofs update for 5.12-rc1
@ 2021-02-19 11:35 Gao Xiang
  2021-02-21 18:39 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Gao Xiang @ 2021-02-19 11:35 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-erofs, LKML, Stephen Rothwell, Greg Kroah-Hartman, Al Viro,
	Andrew Morton, Miao Xie, Chao Yu, Fang Wei, Li Guifu,
	Huang Jianan, Guo Weichao, Gao Xiang

Hi Linus,

Could you consider this pull request for 5.12-rc1?

This contains a somewhat important but rarely reproduced fix
reported month ago for platforms which have weak memory model
(e.g. arm64). The root cause is that test_bit/set_bit atomic
operations are actually implemented in relaxed forms, and
uninitialized fields governed by an atomic bit could be observed
in advance due to memory reordering thus memory barrier pairs
should be used. There is also a trivial fix of crafted blkszbits
generated by syzkaller.

All commits have been tested and have been in linux-next for
more than a week. This merges cleanly with master.

Thanks,
Gao Xiang

The following changes since commit 19c329f6808995b142b3966301f217c831e7cf31:

  Linux 5.11-rc4 (2021-01-17 16:37:05 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.12-rc1

for you to fetch changes up to ce063129181312f8781a047a50be439c5859747b:

  erofs: initialized fields can only be observed after bit is set (2021-02-11 11:55:28 +0800)

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

 - fix shift-out-of-bounds of crafted blkszbits generated by syzkaller;

 - ensure initialized fields can only be observed after bit is set.

----------------------------------------------------------------
Gao Xiang (2):
      erofs: fix shift-out-of-bounds of blkszbits
      erofs: initialized fields can only be observed after bit is set

 fs/erofs/super.c |  4 ++--
 fs/erofs/xattr.c | 10 +++++++++-
 fs/erofs/zmap.c  | 10 +++++++++-
 3 files changed, 20 insertions(+), 4 deletions(-)


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

* Re: [GIT PULL] erofs update for 5.12-rc1
  2021-02-19 11:35 [GIT PULL] erofs update for 5.12-rc1 Gao Xiang
@ 2021-02-21 18:39 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2021-02-21 18:39 UTC (permalink / raw)
  To: Gao Xiang
  Cc: Linus Torvalds, linux-erofs, LKML, Stephen Rothwell,
	Greg Kroah-Hartman, Al Viro, Andrew Morton, Miao Xie, Chao Yu,
	Fang Wei, Li Guifu, Huang Jianan, Guo Weichao, Gao Xiang

The pull request you sent on Fri, 19 Feb 2021 19:35:37 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.12-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/681e2abe2191058b320716896cccda05b161eedc

Thank you!

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

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

end of thread, other threads:[~2021-02-21 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 11:35 [GIT PULL] erofs update for 5.12-rc1 Gao Xiang
2021-02-21 18:39 ` 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).