Bug 1549586 (CVE-2017-18200) - CVE-2017-18200 kernel: mishandling reference counts associated with f2fs_wait_discard_bios calls allowing local attacker to cause denial of service
Summary: CVE-2017-18200 kernel: mishandling reference counts associated with f2fs_wait...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-18200
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: 1550580
Blocks: 1549588
TreeView+ depends on / blocked
 
Reported: 2018-02-27 13:19 UTC by Adam Mariš
Modified: 2021-02-17 00:45 UTC (History)
45 users (show)

Fixed In Version: kernel 4.14
Doc Type: If docs needed, set a value
Doc Text:
The f2fs implementation in the Linux kernel, before 4.14, mishandles reference counts associated with f2fs_wait_discard_bios calls. This allows local users to cause a denial of service (BUG), as demonstrated by fstrim.
Clone Of:
Environment:
Last Closed: 2018-03-01 14:22:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-02-27 13:19:12 UTC
The f2fs implementation in the Linux kernel before 4.14 mishandles reference counts associated with f2fs_wait_discard_bios calls, which allows local users to cause a denial of service (BUG), as demonstrated by fstrim.

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=638164a2718f337ea224b747cf5977ef143166a4

Comment 2 Vladis Dronov 2018-03-01 14:16:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1550580]

Comment 4 Vladis Dronov 2018-03-01 14:22:45 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-01 16:06:30 UTC
This was fixed in 4.14 rebases for all Fedora releases.


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