diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-06-14 00:58:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:03:48 +0200 |
commit | db3b00e3f392e9f879f7fd202437e68f90f35765 (patch) | |
tree | 99e80ecef2d403f647c340d3a56ac89a8b24de9f /sound/sparc/Kconfig | |
parent | afa9c75025bd1e24ccdc56fa331e865b626769e6 (diff) |
ext4: only look at the bg_flags field if it is valid
commit 8844618d8aa7a9973e7b527d038a2a589665002c upstream.
The bg_flags field in the block group descripts is only valid if the
uninit_bg or metadata_csum feature is enabled. We were not
consistently looking at this field; fix this.
Also block group #0 must never have uninitialized allocation bitmaps,
or need to be zeroed, since that's where the root inode, and other
special inodes are set up. Check for these conditions and mark the
file system as corrupted if they are detected.
This addresses CVE-2018-10876.
https://bugzilla.kernel.org/show_bug.cgi?id=199403
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/sparc/Kconfig')
0 files changed, 0 insertions, 0 deletions