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...
Keywords:
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:
Depends On: 1364856
Blocks: 1671871
TreeView+ depends on / blocked
 
Reported: 2019-02-01 22:47 UTC by Laura Pardo
Modified: 2022-03-13 16:54 UTC (History)
2 users (show)

Fixed In Version: kernel-3.10.0-543.el7
Doc Type: If docs needed, set a value
Doc Text:
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:
Environment:
Last Closed: 2019-02-04 17:17:48 UTC
Embargoed:


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.