CVE-2018-8822
Reported by mitre · Published March 20, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Ubuntu:14.04:LTS | 3.13.0-149.199 |
| linux-gcp | Ubuntu:16.04:LTS | 4.13.0-1017.21 |
| linux-fips | Ubuntu:Pro:FIPS:16.04:LTS | 4.4.0-1008.10 |
| linux-kvm | Ubuntu:16.04:LTS | 4.4.0-1026.31 |
| linux_kernel | linux | 4.15.14, 4.14.31, 4.9.91, 4.4.125, 4.1.52, 3.18.103, 3.16.57, 3.2.102 |
| linux-hwe | Ubuntu:16.04:LTS | 4.13.0-43.48~16.04.1 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-127.153~14.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Mar 20, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (43 in total, the first dated here)
- Mar 6, 2026 Security Advisory (41 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-8822
vulnetix vdb fixes CVE-2018-8822
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-8822/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4187 vendor-advisory
- USN-3654-1 vendor-advisory
- 103476 vdb-entry
- DSA-4188 vendor-advisory
- USN-3653-2 vendor-advisory
- USN-3655-1 vendor-advisory
- USN-3654-2 vendor-advisory
- [debian-lts-announce] 20180502 [SECURITY] [DLA 1369-1] linux security update mailing-list
- USN-3655-2 vendor-advisory
- USN-3656-1 vendor-advisory
- USN-3653-1 vendor-advisory
- USN-3657-1 vendor-advisory
- [oss-security] 20221227 Re: Details on this supposed Linux Kernel ksmbd RCE mailing-list