Bug 1671869 (CVE-2016-10741) - CVE-2016-10741 kernel: race condition between direct and memory-mapped I/O in fs/xfs/xfs_aops.c
Summary: CVE-2016-10741 kernel: race condition between direct and memory-mapped I/O in...
Status: CLOSED NOTABUG
Alias: CVE-2016-10741
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: impact=low,public=20161108,reported=2...
Keywords: Security
Depends On: 1364856
Blocks: 1671871
TreeView+ depends on / blocked
 
Reported: 2019-02-01 22:47 UTC by Laura Pardo
Modified: 2019-06-08 23:51 UTC (History)
2 users (show)

(edit)
It was found that the Linux kernel can hit a BUG_ON() statement in the __xfs_get_blocks() in the fs/xfs/xfs_aops.c because of a race condition between direct and memory-mapped I/O associated with a hole in a file that is handled with BUG_ON() instead of an I/O failure. This allows a local unprivileged attacker to cause a system crash and a denial of service.
Clone Of:
(edit)
Last Closed: 2019-02-04 17:17:48 UTC


Attachments (Terms of Use)

Description Laura Pardo 2019-02-01 22:47:33 UTC
It was found that the Linux kernel can hit a BUG_ON() statement in the __xfs_get_blocks() in the fs/xfs/xfs_aops.c because there is a race condition possible between direct and memory-mapped I/O associated with a hole in a file that is handled with BUG_ON() instead of an I/O failure. This allows a local unprivileged attacker to cause a system crash and a denial-of-service.

References:

https://bugzilla.suse.com/show_bug.cgi?id=1124010

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.3

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=04197b341f23b908193308b8d63d17ff23232598


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