CVE-2016-10741: Race Condition
In the Linux kernel before 4.9.3, fs/xfs/xfsaops.c allows local users to cause a denial of service (system crash) because there is a race condition between direct and memory-mapped I/O (associated with a hole) that is handled with BUGON instead of an I/O failure.
Other sources
It was found that the Linux kernel can hit a BUGON() statement in the xfsgetblocks() in the fs/xfs/xfsaops.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 BUGON() 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/showbug.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
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-lts-xenialto a version that resolves this vulnerability.Fixed in 4.4.0-96.119~14.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 4.4.0-96.119 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1035.44 - Upgrade
Upgrade
ubuntu/linux-hweto a version that resolves this vulnerability.Fixed in 4.10.0-32.36~16.04.1 - Upgrade
Upgrade
ubuntu/linux-raspi2to a version that resolves this vulnerability.Fixed in 4.4.0-1074.82 - Upgrade
Upgrade
ubuntu/linux-snapdragonto a version that resolves this vulnerability.Fixed in 4.4.0-1076.81 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1Fixed in 7.3.3-1 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 3.10.0-543.el7 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 4.9.3