]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: always initialize the crc32c checksum driver
authorTheodore Ts'o <tytso@mit.edu>
Fri, 30 Mar 2018 02:10:31 +0000 (22:10 -0400)
committerBrian Maly <brian.maly@oracle.com>
Mon, 14 Jan 2019 17:20:50 +0000 (12:20 -0500)
commitc18c89b21a70352e84a7887581d00ffbe4e202bd
tree830f2cb4444048a0a3e9067789dec67ae34dedc8
parent4764caf1177090a8441c01ab0e9f62247888de3c
ext4: always initialize the crc32c checksum driver

The extended attribute code now uses the crc32c checksum for hashing
purposes, so we should just always always initialize it.  We also want
to prevent NULL pointer dereferences if one of the metadata checksum
features is enabled after the file sytsem is originally mounted.

This issue has been assigned CVE-2018-1094.

https://bugzilla.kernel.org/show_bug.cgi?id=199183
https://bugzilla.redhat.com/show_bug.cgi?id=1560788

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
(cherry picked from commit a45403b51582a87872927a3e0fc0a389c26867f1)

Orabug: 29114440
CVE: CVE-2018-1094

Signed-off-by: John Donnelly <john.p.donnelly@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
fs/ext4/super.c