CVE-2018-1066: Null Pointer Dereference

Published Jan 29, 2018
·
Updated

Last updated 4 July 2026

Other sources

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/

Red Hat

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.

Launchpad

Affected Software

7 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
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

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 debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  3. Upgrade

    Upgrade Linux kernel (CIFS fs/cifs) to a version that resolves this vulnerability.

    Fixed in 4.11
  4. Compensating control

    If you cannot upgrade immediately, mitigate the risk by avoiding mounting CIFS shares from untrusted/attacker-controlled Samba servers, since a NULL pointer dereference in fs/cifs/cifsencrypt.c:setup_ntlmv2_rsp() can be triggered by an empty TargetInfo returned in the NTLMSSP setup negotiation response.

Event History

Mar 2, 2018
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Jul 7, 2026
Data Sourced
via Ubuntu·11:35 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:43 PM
DescriptionAffected Software

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