Bug 2040781 - Fix data corruption in nbdkit-cow-filter and nbdkit-cache-filter [rhel-av-8.5z]
Summary: Fix data corruption in nbdkit-cow-filter and nbdkit-cache-filter [rhel-av-8.5z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: nbdkit
Version: 8.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 8.5
Assignee: Richard W.M. Jones
QA Contact: mxie@redhat.com
URL:
Whiteboard:
Depends On: 1990135 2040775
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 16:46 UTC by RHEL Program Management Team
Modified: 2022-02-02 08:49 UTC (History)
13 users (show)

Fixed In Version: nbdkit-1.24.0-3.el8_5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2040775
Environment:
Last Closed: 2022-02-02 08:47:58 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-108213 0 None None None 2022-01-14 16:59:25 UTC
Red Hat Product Errata RHSA-2022:0397 0 None None None 2022-02-02 08:48:13 UTC

Comment 4 mxie@redhat.com 2022-01-17 16:17:34 UTC
Verify the bug with nbdkit-1.24.0-3.module+el8.5.0+13900

Steps:
1.Check if the patch 'https://gitlab.com/nbdkit/nbdkit/-/commit/c0b15574647672cb5c48178333acdd07424692ef' is added to nbdkit-1.24.0-3.module+el8.5.0+13900

# rpmbuild -rp nbdkit-1.24.0-3.module+el8.5.0+13900+a08c0464.src.rpm

#  cat /root/rpmbuild/BUILD/nbdkit-1.24.0/filters/cache/cache.c |grep memset
      memset (&block[blkoffs], 0, n);
    memset (block, 0, blksize);
      memset (block, 0, count);

# cat /root/rpmbuild/BUILD/nbdkit-1.24.0/filters/cow/cow.c |grep memset
      memset (&block[blkoffs], 0, n);
    memset (block, 0, BLKSIZE);
      memset (block, 0, count);


Result:
   The bug has been fixed.

Comment 5 mxie@redhat.com 2022-01-18 01:51:46 UTC
The bug has been fixed according to comment4, move bug from ON_QA to VERIFIED

Comment 7 errata-xmlrpc 2022-02-02 08:47:58 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 (Low: virt:av and virt-devel:av security and bug fix 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-2022:0397


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