Incorrect buffer length handling in the ncp_read_kernel function in…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 15
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.12 to before 3.2.102; 3.3 to before 3.16.57; 3.17 to before 3.18.103; 3.19 to before 4.1.52; 4.2 to before 4.4.125; 4.5 to before 4.9.91; 4.10 to before 4.14.31; 4.15 to before 4.15.14 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc:*:*:*:*:*:* | 4.16 rc | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc1:*:*:*:*:*:* | 4.16 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc2:*:*:*:*:*:* | 4.16 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc3:*:*:*:*:*:* | 4.16 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc4:*:*:*:*:*:* | 4.16 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc5:*:*:*:*:*:* | 4.16 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.16:rc6:*:*:*:*:*:* | 4.16 rc6 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.12 to before 3.2.102; 3.3 to before 3.16.57; 3.17 to before 3.18.103; 3.19 to before 4.1.52; 4.2 to before 4.4.125; 4.5 to before 4.9.91; 4.10 to before 4.14.31; 4.15 to before 4.15.14 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc:*:*:*:*:*:* Versions 4.16 rc Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc1:*:*:*:*:*:* Versions 4.16 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc2:*:*:*:*:*:* Versions 4.16 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc3:*:*:*:*:*:* Versions 4.16 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc4:*:*:*:*:*:* Versions 4.16 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc5:*:*:*:*:*:* Versions 4.16 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.16:rc6:*:*:*:*:*:* Versions 4.16 rc6 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
Show 5 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise MRG 2
Timeline
- 2026-10-02 Threatist record created from CVE-2018-8822
- 2026-10-03 Alias added: GHSA-h62p-crx4-36fq
References
Sources
- CVE-2018-8822 · CVE Program
- CVE-2018-8822 · NVD
- FIRST EPSS
- GHSA-h62p-crx4-36fq · GitHub Advisory Database · CC BY 4.0
- CVE-2018-8822 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences