Return-Path: Received: from mail-wm0-f54.google.com ([74.125.82.54]:40719 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbeDXSR0 (ORCPT ); Tue, 24 Apr 2018 14:17:26 -0400 Received: by mail-wm0-f54.google.com with SMTP id j5so2401297wme.5 for ; Tue, 24 Apr 2018 11:17:25 -0700 (PDT) Subject: Re: Linux 4.14.36 To: "Theodore Y. Ts'o" , Greg KH Cc: stable@vger.kernel.org References: <20180424092056.GA24237@kroah.com> <71965e45-04de-8772-87ee-3497bff8b89a@gmail.com> <20180424123148.GA20848@kroah.com> <20180424150921.GA30619@thunk.org> From: =?UTF-8?Q?Fran=c3=a7ois_Valenduc?= Message-ID: Date: Tue, 24 Apr 2018 20:17:23 +0200 MIME-Version: 1.0 In-Reply-To: <20180424150921.GA30619@thunk.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: stable-owner@vger.kernel.org List-ID: Le 24/04/18 à 17:09, Theodore Y. Ts'o a écrit : > On Tue, Apr 24, 2018 at 02:31:48PM +0200, Greg KH wrote: >>> commit 26dbb30c58ffb85bc015bd5e58831483d50f7d18 >>> Author: Theodore Ts'o >>> Date: Thu Mar 29 22:10:31 2018 -0400 >>> >>> ext4: always initialize the crc32c checksum driver >>> >>> commit a45403b51582a87872927a3e0fc0a389c26867f1 upstream. >>> >>> 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 >>> Cc: stable@vger.kernel.org >>> Signed-off-by: Greg Kroah-Hartman >>> >>> Indeed, if I revert this commit, the problem doesn't occur. 4.16.4 also >>> fails to boot, probably for the same reason, since this commit is also >>> included. >>> >>> Does anybody know what is happening ? >> That's really odd. Do we not have "enough" randomness at boot time? > This commit has nothing to do with randomness. All it does is forceh > loading the crc32c checksum driver unconditionally. If the checksum > driver is being built as a module, then it must be included in the > initramfs. I'm guessing that's where the problem is --- it's probably > a failure in the distro's initial ramdisk scripts? > > - Ted I am using gentoo and indeed, the crc32_generic  module was not included in the initramfs by default. I have added it and now I can use the 4.14.36 kernel without having to revert this commit. Thanks for your help, François Valenduc