diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-21 10:19:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-21 10:19:34 -0800 |
commit | 681e2abe2191058b320716896cccda05b161eedc (patch) | |
tree | 856f21e399811aafe264187e8f3ce78f08221be5 /fs/fscache | |
parent | 8b42fe123b013fbdc3172616b27d568d0cb9d2d6 (diff) | |
parent | ce063129181312f8781a047a50be439c5859747b (diff) |
Merge tag 'erofs-for-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs
Pull erofs updates from Gao Xiang:
"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.
Summary:
- fix shift-out-of-bounds of crafted blkszbits generated by syzkaller
- ensure initialized fields can only be observed after bit is set"
* tag 'erofs-for-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
erofs: initialized fields can only be observed after bit is set
erofs: fix shift-out-of-bounds of blkszbits
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions