Bug 2240144

Summary: [5.3 backport] libcephsqlite may corrupt data from short reads
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: RADOSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: urgent Docs Contact: Ranjini M N <rmandyam>
Priority: unspecified    
Version: 6.0CC: bhubbard, bkunal, ceph-eng-bugs, cephqe-warriors, nojha, pdhiran, rmandyam, rzarzyns, tserlin, vereddy, vumrao
Target Milestone: ---   
Target Release: 5.3z6   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-16.2.10-241.el8cp Doc Type: Bug Fix
Doc Text:
.The `libcephsqlite` zeros short reads at the correct region Previously, the `libcephsqlite` zeros short read from RADOS incorrectly, causing the SQLite database to get corrupted. With this fix, the `libcephsqlite` zeros short reads at the correct region of the buffer with no corruption.
Story Points: ---
Clone Of: 2240143 Environment:
Last Closed: 2024-02-08 16:55:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2233917, 2240139, 2240143, 2267207    
Bug Blocks: 2258797    

Description Patrick Donnelly 2023-09-22 00:12:50 UTC
+++ This bug was initially created as a clone of Bug #2240143 +++

+++ This bug was initially created as a clone of Bug #2240139 +++

Description of problem:

See: https://tracker.ceph.com/issues/62492

--- Additional comment from Patrick Donnelly on 2023-09-21 17:04:40 PDT ---

https://gitlab.cee.redhat.com/ceph/ceph/-/merge_requests/385

--- Additional comment from Patrick Donnelly on 2023-09-21 17:06:18 PDT ---

Neha, I don't know a better component than RADOS for this. I think 7.0z1 is the right target?

I will open 6.X and 5.X series BZs shortly.

--- Additional comment from Patrick Donnelly on 2023-09-21 17:10:43 PDT ---

https://gitlab.cee.redhat.com/ceph/ceph/-/merge_requests/386

Comment 2 Patrick Donnelly 2023-09-22 00:22:09 UTC
*** Bug 2233918 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2024-02-08 16:55:39 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: Red Hat Ceph Storage 5.3 Security 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-2024:0745