Bug 1610110 (CVE-2018-14617) - CVE-2018-14617 kernel: NULL pointer dereference in fs/hfsplus/dir.c:hfsplus_lookup() when operating on a file in a crafted hfs+ image
Summary: CVE-2018-14617 kernel: NULL pointer dereference in fs/hfsplus/dir.c:hfsplus_l...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-14617
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1610112 1611687
Blocks: 1610113
TreeView+ depends on / blocked
 
Reported: 2018-07-31 01:55 UTC by Sam Fowler
Modified: 2020-01-22 04:10 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An issue was discovered in the Linux kernel. A NULL pointer dereference and panic in hfsplus_lookup() in the fs/hfsplus/dir.c function can occur when opening a file (that is purportedly a hard link) in an hfs+ filesystem that has malformed catalog data, and is mounted read-only without a metadata directory.
Clone Of:
Environment:
Last Closed: 2018-08-02 16:03:27 UTC


Attachments (Terms of Use)

Description Sam Fowler 2018-07-31 01:55:35 UTC
An issue was discovered in the Linux kernel. There is a NULL pointer dereference and panic in hfsplus_lookup() in fs/hfsplus/dir.c when opening a file (that is purportedly a hard link) in an hfs+ filesystem that has malformed catalog data, and is mounted read-only without a metadata directory.

References:

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

A suggested upstream patch:

https://www.spinics.net/lists/linux-fsdevel/msg130021.html

Comment 3 Vladis Dronov 2018-08-02 15:58:56 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1611687]

Comment 4 Vladis Dronov 2018-08-02 16:01:44 UTC
Note:

An HFS+ filesystem is not built for any Red Hat products except for Red Hat Enterprise Linux 5, which is no longer in development and is in Extended Life Phase (https://access.redhat.com/support/policy/updates/errata/#Extended_Life_Cycle_Phase).

Comment 5 Wade Mealing 2018-08-09 07:50:39 UTC
Mitigation:

If the HFS+ filesystem is not in use, this module can be blacklisted and prevented from being loaded. See https://access.redhat.com/solutions/41278 for instructions on how to blacklist the 'hfsplus.ko' kernel module.


Note You need to log in before you can comment on or make changes to this bug.