CVE-2018-8822
HIGH 7.8CVSS 3.1Incorrect 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.
- Published
- 20 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.12, < 3.2.102 | 3.2.102 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.3, < 3.16.57 | 3.16.57 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.17, < 3.18.103 | 3.18.103 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.19, < 4.1.52 | 4.1.52 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.2, < 4.4.125 | 4.4.125 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.5, < 4.9.91 | 4.9.91 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.10, < 4.14.31 | 4.14.31 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 4.15.14 | 4.15.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc1:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc2:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc3:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc4:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc5:*:*:*:*:*:* |
= 4.16 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.16:rc6:*:*:*:*:*:* |
= 4.16 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* |
= 17.10 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 |
References
- http://www.openwall.com/lists/oss-security/2022/12/27/3 · Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/103476 · Broken Link, Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/05/msg00000.html · Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3653-1/ · Third Party Advisory
- https://usn.ubuntu.com/3653-2/ · Third Party Advisory
- https://usn.ubuntu.com/3654-1/ · Third Party Advisory
- https://usn.ubuntu.com/3654-2/ · Third Party Advisory
- https://usn.ubuntu.com/3655-1/ · Third Party Advisory
- https://usn.ubuntu.com/3655-2/ · Third Party Advisory
- https://usn.ubuntu.com/3656-1/ · Third Party Advisory
- https://usn.ubuntu.com/3657-1/ · Third Party Advisory
- https://www.debian.org/security/2018/dsa-4187 · Third Party Advisory
- https://www.debian.org/security/2018/dsa-4188 · Third Party Advisory
- https://www.mail-archive.com/netdev%40vger.kernel.org/msg223373.html · Patch, Third Party Advisory
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 20 Mar 2018)