Hide Forgot
RHEL 8.4 has an incorrect optimization in the write_begin codepath, such that we could corrupt data if writing to an offset beyond the EOF, but that is within a page that already has data. There is a fix proposed here that should go into stable kernels v5.10..v5.12. We'll want the same fix for RHEL8.4.z and RHEL8.5. https://lore.kernel.org/ceph-devel/20210612001141.167797-1-jlayton@kernel.org/T/#mfd7fe6b4251433bd7beb6f49e01fde50f370fc70
Hi Yogesh, Plan for this BZ verification
I should mention too that there is a new xfstest for this problem: https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/commit/?id=80b8fe47d01347d9c5c433440861f41b8954463e I recommend using that to verify this bug.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4356