Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655110 - initramfs needs crc32c module to boot ext4 (linux 4.16.4 and above)
Summary: initramfs needs crc32c module to boot ext4 (linux 4.16.4 and above)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 21:17 UTC by ge1ger
Modified: 2019-03-07 21:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ge1ger 2018-05-06 21:17:56 UTC
Genkernel initramfs needs crc32c module to boot ext4 (linux 4.16.4 and above)

More info:

commit 114c42aaa63152d31d3c18d5b750de9560f38a63
Author: Theodore Ts'o <tytso@mit.edu>
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 <tytso@mit.edu>
    Cc: stable@vger.kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-05-07 19:48:51 UTC
FWIW, this change is also in kernel 4.14.39
Comment 2 Larry the Git Cow gentoo-dev 2018-05-08 00:18:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7308d72c3280da22cd94337b0eb248cdc53cb842

commit 7308d72c3280da22cd94337b0eb248cdc53cb842
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-05-08 00:14:35 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-05-08 00:14:35 +0000

    modules_load: add crc32c
    
    Bug: https://bugs.gentoo.org/655110
    Acked-by: Robin H. Johnson <robbat2@gentoo.org>

 arch/alpha/modules_load    | 2 +-
 arch/arm/modules_load      | 2 +-
 arch/ia64/modules_load     | 2 +-
 arch/mips/modules_load     | 2 +-
 arch/parisc/modules_load   | 2 +-
 arch/parisc64/modules_load | 2 +-
 arch/ppc/modules_load      | 2 +-
 arch/ppc64/modules_load    | 2 +-
 arch/ppc64le/modules_load  | 2 +-
 arch/s390/modules_load     | 2 +-
 arch/sparc/modules_load    | 2 +-
 arch/sparc64/modules_load  | 2 +-
 arch/um/modules_load       | 2 +-
 arch/x86/modules_load      | 2 +-
 arch/x86_64/modules_load   | 2 +-
 defaults/modules_load      | 2 +-
 16 files changed, 16 insertions(+), 16 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2018-05-08 00:45:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df441a2c49752ec72d4057703ead491d449fd9b

commit 8df441a2c49752ec72d4057703ead491d449fd9b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-05-08 00:45:14 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-05-08 00:45:14 +0000

    sys-kernel/genkernel: add crc32c to modules_load
    
    Closes: https://bugs.gentoo.org/655110
    Package-Manager: Portage-2.3.34, Repoman-2.3.9
    RepoMan-Options: --force

 .../files/genkernel-3.4.52.4-crc32c.patch          | 130 +++++++++++++++++
 sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild  | 157 +++++++++++++++++++++
 2 files changed, 287 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9fd197d216dbb1a30f3d3c1adcf578560b8fcdd

commit e9fd197d216dbb1a30f3d3c1adcf578560b8fcdd
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-05-08 00:30:46 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-05-08 00:30:46 +0000

    sys-kernel/genkernel: Bump to v3.5.3.3
    
    Bug: https://bugs.gentoo.org/655110
    Package-Manager: Portage-2.3.34, Repoman-2.3.9

 sys-kernel/genkernel/Manifest                 |   1 +
 sys-kernel/genkernel/genkernel-3.5.3.3.ebuild | 159 ++++++++++++++++++++++++++
 2 files changed, 160 insertions(+)
Comment 4 Alexander Zubkov 2018-09-16 11:01:59 UTC
The problem is actually not solved. See: https://bugs.gentoo.org/666338
Comment 5 ge1ger 2018-09-17 15:14:38 UTC
I can confirm this problem still persists.
Comment 6 Richard Yao (RETIRED) gentoo-dev 2018-09-18 11:39:32 UTC
Reopening. I think the most immediate here is to include the additional crc32 modules.
Comment 7 Larry the Git Cow gentoo-dev 2019-03-07 21:08:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5aa3d6112f0bf7ebf22cf5624f9c3c205307af31

commit 5aa3d6112f0bf7ebf22cf5624f9c3c205307af31
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-03-07 21:08:19 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-03-07 21:08:19 +0000

    modules_load: replace crc32c with crc32c_generic + crc32c-intel
    
    Fixes: https://bugs.gentoo.org/655110
    Fixes: https://bugs.gentoo.org/666338
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 arch/alpha/modules_load    | 2 +-
 arch/arm/modules_load      | 2 +-
 arch/ia64/modules_load     | 2 +-
 arch/mips/modules_load     | 2 +-
 arch/parisc/modules_load   | 2 +-
 arch/parisc64/modules_load | 2 +-
 arch/ppc/modules_load      | 2 +-
 arch/ppc64/modules_load    | 2 +-
 arch/ppc64le/modules_load  | 2 +-
 arch/s390/modules_load     | 2 +-
 arch/sparc/modules_load    | 2 +-
 arch/sparc64/modules_load  | 2 +-
 arch/um/modules_load       | 2 +-
 arch/x86/modules_load      | 2 +-
 arch/x86_64/modules_load   | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)