New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 888315 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Security



Sign in to add a comment

CVE-2018-10877 CrOS: Vulnerability reported in Linux kernel

Project Member Reported by vomit.go...@appspot.gserviceaccount.com, Sep 23

Issue description

VOMIT (go/vomit) has received an external vulnerability report for the Linux kernel. 

Advisory: CVE-2018-10877
  Details: http://vomit.googleplex.com/advisory?id=CVE/CVE-2018-10877
  CVSS severity score: 6.8/10.0
  Description:

Linux kernel ext4 filesystem is vulnerable to an out-of-bound access in the ext4_ext_drop_refs() function when operating on a crafted ext4 filesystem image.



This bug was filed by http://go/vomit
Please contact us at vomit-team@google.com if you need any assistance.

 
Cc: groeck@chromium.org wonderfly@google.com
Labels: Security_Severity-High Security_Impact-Stable Pri-2
Owner: zsm@chromium.org
Status: Assigned (was: Untriaged)
Upstream commit is bc890a602("ext4: verify the depth of extent tree in ext4_find_extent()")
This commit is present in v4.14, v4.4. Older kernels do not have this commit.
The patch applies cleanly to v3.18, will test the patch.
Cc: sawlani@google.com
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 25

Labels: M-69 Target-69
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 25

Labels: -Pri-2 Pri-1
Project Member

Comment 7 by bugdroid1@chromium.org, Sep 28

Labels: merge-merged-chromeos-3.18
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/5bef272b4b8d9868640f21a405db5cf6497c0d98

commit 5bef272b4b8d9868640f21a405db5cf6497c0d98
Author: Theodore Ts'o <tytso@mit.edu>
Date: Fri Sep 28 02:44:56 2018

UPSTREAM: ext4: verify the depth of extent tree in ext4_find_extent()

If there is a corupted file system where the claimed depth of the
extent tree is -1, this can cause a massive buffer overrun leading to
sadness.

This addresses CVE-2018-10877.

https://bugzilla.kernel.org/show_bug.cgi?id=199417

BUG= chromium:888315 
TEST=None

Change-Id: I72edb13ef81e5106e2d43a59347ec3bf068f0c1a
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
(cherry picked from commit bc890a60247171294acc0bd67d211fa4b88d40ba)
Signed-off-by: Zubin Mithra <zsm@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1240897

[modify] https://crrev.com/5bef272b4b8d9868640f21a405db5cf6497c0d98/fs/ext4/extents.c
[modify] https://crrev.com/5bef272b4b8d9868640f21a405db5cf6497c0d98/fs/ext4/ext4_extents.h

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 1

Labels: merge-merged-chromeos-3.14
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/c60517f56ee18ad3f74484282630afc6cd570667

commit c60517f56ee18ad3f74484282630afc6cd570667
Author: Theodore Ts'o <tytso@mit.edu>
Date: Mon Oct 01 18:31:13 2018

UPSTREAM: ext4: verify the depth of extent tree in ext4_find_extent()

If there is a corupted file system where the claimed depth of the
extent tree is -1, this can cause a massive buffer overrun leading to
sadness.

This addresses CVE-2018-10877.

https://bugzilla.kernel.org/show_bug.cgi?id=199417

BUG= chromium:888315 
TEST=None

Change-Id: I72edb13ef81e5106e2d43a59347ec3bf068f0c1a
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
(cherry picked from commit bc890a60247171294acc0bd67d211fa4b88d40ba)
Signed-off-by: Zubin Mithra <zsm@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1240897
(cherry picked from commit 5bef272b4b8d9868640f21a405db5cf6497c0d98)
Reviewed-on: https://chromium-review.googlesource.com/1251746

[modify] https://crrev.com/c60517f56ee18ad3f74484282630afc6cd570667/fs/ext4/extents.c
[modify] https://crrev.com/c60517f56ee18ad3f74484282630afc6cd570667/fs/ext4/ext4_extents.h

Status: Fixed (was: Assigned)
Project Member

Comment 10 by sheriffbot@chromium.org, Oct 2

Labels: Restrict-View-SecurityNotify
Project Member

Comment 11 by sheriffbot@chromium.org, Jan 8

Labels: -Restrict-View-SecurityNotify allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment