CVE-2018-1066: Null Pointer Dereference
Null pointer dereference was found in fs/cifs/cifsencrypt.c:setupntlmv2rsp() function that is triggered when empty TargetInfo is returned in NTLMSSP setup negotiation response from Samba server allowing to crash client's kernel.
Bug report:
https://patchwork.kernel.org/patch/10187633/
Other sources
The Linux kernel before version 4.11 is vulnerable to a NULL pointer dereference in fs/cifs/cifsencrypt.c:setupntlmv2rsp() that allows an attacker controlling a CIFS server to kernel panic a client that has this server mounted, because an empty TargetInfo field in an NTLMSSP setup negotiation response is mishandled during session recovery.
— Ubuntu
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 4.11 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-165.215 - Upgrade
Upgrade
ubuntu/linux-lts-xenialto a version that resolves this vulnerability.Fixed in 4.4.0-87.110~14.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 4.4.0-87.110 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1026.35 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 4.4.0-1022.22 - Upgrade
Upgrade
ubuntu/linux-hweto a version that resolves this vulnerability.Fixed in 4.8.0-56.61~16.04.1 - Upgrade
Upgrade
ubuntu/linux-raspi2to a version that resolves this vulnerability.Fixed in 4.4.0-1065.73 - Upgrade
Upgrade
ubuntu/linux-snapdragonto a version that resolves this vulnerability.Fixed in 4.4.0-1067.72 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 4.11
Event History
Frequently Asked Questions
What is the vulnerability ID for this Linux kernel vulnerability?
The vulnerability ID is CVE-2018-1066.
What is the severity of CVE-2018-1066?
The severity of CVE-2018-1066 is medium.
Which Linux kernel versions are affected by CVE-2018-1066?
Linux kernel versions before 4.11 are affected by CVE-2018-1066.
How can an attacker exploit CVE-2018-1066?
An attacker controlling a CIFS server can exploit CVE-2018-1066 by kernel panicking a client that has this server mounted.
Where can I find more information about CVE-2018-1066?
You can find more information about CVE-2018-1066 in the references provided: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cabfb3680f78981d26c078a26e5c748531257ebb, https://bugzilla.redhat.com/show_bug.cgi?id=1539599, https://github.com/torvalds/linux/commit/cabfb3680f78981d26c078a26e5c748531257ebb.