RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1971101 - ceph: potential data corruption in cephfs write_begin codepath
Summary: ceph: potential data corruption in cephfs write_begin codepath
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: beta
: ---
Assignee: Jeff Layton
QA Contact: Yogesh Mane
John Wilkins
Depends On:
Blocks: 1989301 1996680
TreeView+ depends on / blocked
Reported: 2021-06-12 00:22 UTC by Jeff Layton
Modified: 2021-11-10 05:44 UTC (History)
14 users (show)

Fixed In Version: kernel-4.18.0-323.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1996680 (view as bug list)
Last Closed: 2021-11-09 19:21:19 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src/kernel rhel-8 merge_requests 879 0 None None None 2021-06-25 13:40:40 UTC
Red Hat Product Errata RHSA-2021:4356 0 None None None 2021-11-09 19:21:56 UTC

Description Jeff Layton 2021-06-12 00:22:58 UTC
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.


Comment 9 Veera Raghava Reddy 2021-07-07 10:48:26 UTC
Hi Yogesh,
Plan for this BZ verification

Comment 10 Jeff Layton 2021-07-07 11:45:57 UTC
I should mention too that there is a new xfstest for this problem:


I recommend using that to verify this bug.

Comment 25 errata-xmlrpc 2021-11-09 19:21:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.