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.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 4.16-rc | 4.16-rc.x |
| linux / linux_kernel | 4.16-rc1 | 4.16-rc1.x |
| linux / linux_kernel | 4.16-rc2 | 4.16-rc2.x |
| linux / linux_kernel | 4.16-rc3 | 4.16-rc3.x |
| linux / linux_kernel | 4.16-rc4 | 4.16-rc4.x |
| linux / linux_kernel | 4.16-rc5 | 4.16-rc5.x |
| linux / linux_kernel | 4.16-rc6 | 4.16-rc6.x |
| canonical / ubuntu_linux | 16.04 | 16.04.x |
| canonical / ubuntu_linux | 14.04 | 14.04.x |
| canonical / ubuntu_linux | 12.04 | 12.04.x |
| canonical / ubuntu_linux | 17.10 | 17.10.x |
| debian / debian_linux | 8.0 | 8.0.x |
| debian / debian_linux | 7.0 | 7.0.x |
| debian / debian_linux | 9.0 | 9.0.x |
| linux / linux_kernel | 3.17 | 3.18.103 |
| linux / linux_kernel | 3.19 | 4.1.52 |
| linux / linux_kernel | 4.2 | 4.4.125 |
| linux / linux_kernel | 4.5 | 4.9.91 |
| linux / linux_kernel | 4.10 | 4.14.31 |
| linux / linux_kernel | 4.15 | 4.15.14 |
| linux / linux_kernel | 3.3 | 3.16.57 |
| linux / linux_kernel | 2.6.12 | 3.2.102 |