All of lore.kernel.org
 help / color / mirror / Atom feed
* [STABLE CHERRYPICK] ext4: avoid modifying checksum fields directly during checksum verification
@ 2016-09-06  2:29 Theodore Ts'o
  2016-09-08  7:21   ` Török Edwin
  0 siblings, 1 reply; 9+ messages in thread
From: Theodore Ts'o @ 2016-09-06  2:29 UTC (permalink / raw)
  To: stable; +Cc: linux-ext4, Török Edwin

Hi, please cherry pick the following commit into the stable kernels.
The commit landed in 4.8-rc1.  It wasn't marked with a cc:
stable@kernel.org, but it should be backported since it affecting a
number of users who are trying to use ext4's metadata checksum
feature.

Thanks!!

commit b47820edd1634dc1208f9212b7ecfb4230610a23
Author: Daeho Jeong <daeho.jeong@samsung.com>
Date:   Sun Jul 3 17:51:39 2016 -0400

    ext4: avoid modifying checksum fields directly during checksum verification
    
    We temporally change checksum fields in buffers of some types of
    metadata into '0' for verifying the checksum values. By doing this
    without locking the buffer, some metadata's checksums, which are
    being committed or written back to the storage, could be damaged.
    In our test, several metadata blocks were found with damaged metadata
    checksum value during recovery process. When we only verify the
    checksum value, we have to avoid modifying checksum fields directly.
    
    Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
    Signed-off-by: Youngjin Gil <youngjin.gil@samsung.com>
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

						- Ted
						

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-09 14:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06  2:29 [STABLE CHERRYPICK] ext4: avoid modifying checksum fields directly during checksum verification Theodore Ts'o
2016-09-08  7:21 ` Fwd: " Török Edwin
2016-09-08  7:21   ` Török Edwin
2016-09-08  8:56   ` Greg KH
2016-09-08  8:56     ` Greg KH
2016-09-08 15:27     ` Darrick J. Wong
2016-09-08 15:27       ` Darrick J. Wong
2016-09-09 14:11     ` Greg KH
2016-09-09 14:11       ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.