CVE-2018-8822 Memory corruption in n/a
A buffer length handling error in the Linux kernel NCPFS module allows malicious servers to crash the kernel or execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-8822?
CVE-2018-8822 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 20 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Incorrect buffer length handling in the ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c in the Linux kernel through 4.15.11, and in drivers/staging/ncpfs/ncplib_kernel.c in the Linux kernel 4.16-rc through 4.16-rc6, could be exploited by malicious NCPFS servers to crash the kernel or execute code.
Weakness: CWE-119
Which versions are affected by CVE-2018-8822?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.
How do I fix CVE-2018-8822?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-8822 being exploited?
There is no known exploitation of CVE-2018-8822 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-8822, GHSA-h62p-crx4-36fq, UBUNTU-CVE-2018-8822.