Bug 1550818 (CVE-2017-18204) - CVE-2017-18204 kernel: Deadlock caused in fs/ocfs2/file.c:ocfs2_setattr() can allow local users to cause a denial of service
Summary: CVE-2017-18204 kernel: Deadlock caused in fs/ocfs2/file.c:ocfs2_setattr() can...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-18204
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1551505
Blocks: 1550819
TreeView+ depends on / blocked
 
Reported: 2018-03-02 05:23 UTC by Sam Fowler
Modified: 2021-06-10 15:00 UTC (History)
27 users (show)

Fixed In Version: kernel 4.14.2
Doc Type: If docs needed, set a value
Doc Text:
The Linux kernel, before version 4.14.2, is vulnerable to a deadlock caused by fs/ocfs2/file.c:ocfs2_setattr(), as the function does not wait for DIO requests before locking the inode. This can be exploited by local users to cause a subsequent denial of service.
Clone Of:
Environment:
Last Closed: 2018-03-05 10:18:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-03-02 05:23:25 UTC
The Linux kernel before version 4.14.2 is vulnerable to a deadlock caused by fs/ocfs2/file.c:ocfs2_setattr(), as the function does not wait for DIO requests before locking the inode. This can be exploited by local users to cause a subsequent denial of service.

References:

https://marc.info/?t=150943101800001&r=1&w=2

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=28f5a8a7c033cbf3e32277f4cc9c6afd74f05300

Comment 3 Vladis Dronov 2018-03-05 10:12:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1551505]

Comment 4 Vladis Dronov 2018-03-05 10:18:37 UTC
Statement:

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5, 6, 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE, as the code with the flaw is not built and shipped in the products listed.

Comment 5 Justin M. Forbes 2018-03-05 12:37:30 UTC
This was fixed for Fedora with the 4.14.2 stable updates.


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