CVE-2018-1066: Null Pointer Dereference

Published Jan 29, 2018
·
Updated

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

28 affected componentsFixes available
redhat/kernel<4.11
4.11
Linux Linux kernel<=4.10.15
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
ubuntu/linux<3.13.0-165.215
3.13.0-165.215
ubuntu/linux-lts-xenial<4.4.0-87.110~14.04.1
4.4.0-87.110~14.04.1
ubuntu/linux<4.4.0-87.110
4.4.0-87.110
ubuntu/linux-aws<4.4.0-1026.35
4.4.0-1026.35
ubuntu/linux-gke<4.4.0-1022.22
4.4.0-1022.22
ubuntu/linux-hwe<4.8.0-56.61~16.04.1
4.8.0-56.61~16.04.1
ubuntu/linux-raspi2<4.4.0-1065.73
4.4.0-1065.73
ubuntu/linux-snapdragon<4.4.0-1067.72
4.4.0-1067.72
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
debian/linux
6.1.176-16.1.192-26.12.107-16.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.11
  2. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-165.215
  3. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-87.110~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-87.110
  5. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1026.35
  6. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 4.4.0-1022.22
  7. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.8.0-56.61~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1065.73
  9. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1067.72
  10. Upgrade

    Upgrade debian/linux to 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
  11. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.11

Event History

Mar 2, 2018
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:29 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Linux kernel vulnerability?

The vulnerability ID is CVE-2018-1066.

2

What is the severity of CVE-2018-1066?

The severity of CVE-2018-1066 is medium.

3

Which Linux kernel versions are affected by CVE-2018-1066?

Linux kernel versions before 4.11 are affected by CVE-2018-1066.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203