[SRU][F][PATCH 0/4] CVE-2021-3428
Luke Nowakowski-Krijger
luke.nowakowskikrijger at canonical.com
Fri Oct 8 17:10:31 UTC 2021
Hi Thadeu,
Not hard. I already had one prepared but saw that those commits were easy
enough to find and apply. They do add a lot but the changes seemed
straightforward enough. Do you think it would be better to exclude those
other patches?
(p.s. resent the message because forgot to cc ML)
- Luke
On Fri, Oct 8, 2021 at 6:04 AM Thadeu Lima de Souza Cascardo <
cascardo at canonical.com> wrote:
> On Thu, Oct 07, 2021 at 01:05:46PM -0700, Luke Nowakowski-Krijger wrote:
> > [Impact]
> > Mounting a crafted ext4 filesystem can trigger an integer overflow
> > that occurs in ext4_es_cache_extent(). This yields a kernel bug that can
> > lead to a system crash and denial of service.
> >
> > [Backports]
> > Updated minor context changes in fs/ext4/ext4.h to include
> sbi_array_rcu_deref
> > define.
> >
>
> Hey, Luke.
>
> How hard would the backport of "ext4: check journal inode extents more
> carefully" be without the other commits?
>
> Cascardo.
>
> > [Test case]
> > Reproduced the bug using the reproducer here
> > (https://bugzilla.suse.com/show_bug.cgi?id=1173485),
> > confirmed that after the patches are applied that the system reports a
> > malformed filesystem and mounting fails.
> >
> > [Potential regression]
> > Journal inodes are no longer a special case when checking extent trees
> > which means that some filesystems that could be mounted could now fail.
> >
> > Jan Kara (1):
> > ext4: check journal inode extents more carefully
> >
> > Theodore Ts'o (3):
> > ext4: save the error code which triggered an ext4_error() in the
> > superblock
> > ext4: simulate various I/O and checksum errors when reading metadata
> > ext4: save all error info in save_error_info() and drop
> > ext4_set_errno()
> >
> > fs/ext4/balloc.c | 10 ++--
> > fs/ext4/block_validity.c | 59 +++++++++---------
> > fs/ext4/ext4.h | 125 ++++++++++++++++++++++++++++++++-------
> > fs/ext4/ext4_jbd2.c | 10 ++--
> > fs/ext4/extents.c | 42 ++++++-------
> > fs/ext4/ialloc.c | 15 +++--
> > fs/ext4/indirect.c | 8 +--
> > fs/ext4/inline.c | 11 ++--
> > fs/ext4/inode.c | 38 ++++++------
> > fs/ext4/mballoc.c | 21 +++----
> > fs/ext4/mmp.c | 13 ++--
> > fs/ext4/move_extent.c | 4 +-
> > fs/ext4/namei.c | 31 ++++++----
> > fs/ext4/super.c | 106 +++++++++++++++++++++++++--------
> > fs/ext4/sysfs.c | 23 +++++++
> > fs/ext4/xattr.c | 12 ++--
> > 16 files changed, 351 insertions(+), 177 deletions(-)
> >
> > --
> > 2.30.2
> >
> >
> > --
> > kernel-team mailing list
> > kernel-team at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20211008/e3b76928/attachment.html>
More information about the kernel-team
mailing list