CVE-2014-7822: High severity Linux Linux kernel vulnerability
It was found that there are no size checks in the splice IO path, so it's possible to send a write past smaxbytes to a filesystem. For ext4, at least, this ends badly, with a BUGON.
A local unprivileged user could use this flaw to crash the system.
Acknowledgements:
Red Hat would like to thank Akira Fujita of NEC for reporting this issue.
Upstream patches:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d0207652cbe27d1f962050737848e5ad4671958
(this patch rearranges splice with a side effect of invoking genericwritechecks() along the way)
Other sources
The implementation of certain splicewrite file operations in the Linux kernel before 3.16 does not enforce a restriction on the maximum size of a single file, which allows local users to cause a denial of service (system crash) or possibly have unspecified other impact via a crafted splice system call, as demonstrated by use of a file descriptor associated with an ext4 filesystem.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-48.80 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 3.2.65-1+deb7u2Fixed in 3.16.2-1 - Upgrade
Upgrade
debian/linux-2.6to a version that resolves this vulnerability.Fixed in 2.6.32-48squeeze11 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 3.16
Event History
Frequently Asked Questions
What is the severity of CVE-2014-7822?
CVE-2014-7822 has a medium severity level due to the potential for a local unprivileged user to crash the system.
How do I fix CVE-2014-7822?
To fix CVE-2014-7822, you should upgrade to a patched version of the Linux kernel, such as 5.10.223-1 or later.
What systems are affected by CVE-2014-7822?
CVE-2014-7822 affects the Linux kernel versions up to and including 3.15.8.
Can CVE-2014-7822 be exploited remotely?
CVE-2014-7822 cannot be exploited remotely as it requires local access to the system.
What happens if CVE-2014-7822 is successfully exploited?
If exploited, CVE-2014-7822 can lead to a system crash due to a flaw in the splice IO path.