Bug 199417
Summary: | out-of-bound access in ext4_ext_drop_refs() when operating on a crafted ext4 image | ||
---|---|---|---|
Product: | File System | Reporter: | Wen Xu (wen.xu) |
Component: | ext4 | Assignee: | fs_ext4 (fs_ext4) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | tytso, wen.xu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.16, 4.17 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
The crafted image which causes kernel panic
poc.c |
Description
Wen Xu
2018-04-16 20:15:09 UTC
Created attachment 275409 [details]
poc.c
*** Bug 199989 has been marked as a duplicate of this bug. *** (In reply to Theodore Tso from comment #2) > *** Bug 199989 has been marked as a duplicate of this bug. *** Hi Ted, Could you CC the patch of "ext4: verify the depth of extent tree in ext4_find_extent()" to me? I could not find this as you mentioned under bug 199989. Thanks, Wen Yeah, sorry, I hadn't sent it out yet. I've been trying to send out fixes in batches, but then I made the mistake of trying to tackle #200015, which has been a real mess to analyze. Fix is here: http://patchwork.ozlabs.org/patch/929744/ This issue has been assigned CVE-2018-10877 Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1596795 |