CVE-2018-7191: Null Pointer Dereference

Published Jan 17, 2018
·
Updated

A flaw was found in the Linux kernel's implementation of networking tunnel device ioctl. A local attacker can cause a denial of service (NULL pointer dereference and panic) via an ioctl (TUNSETIFF) call with a dev name containing a / character.

Other sources

In the tun subsystem in the Linux kernel before 4.13.14, devgetvalidname is not called before registernetdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.

In the tun subsystem in the Linux kernel, a local attacker could issue an ioctl to call devgetvalidname which is not called before registernetdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character.

Reference: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792 https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14

Commits: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a NULL pointer dereference in the tun subsystem. By sending a specially-crafted ioctl(TUNSETIFF) cal, a local attacker could exploit this vulnerability to cause a system panic.

IBM

Affected Software

6 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1127.rt56.1093.el7
0:3.10.0-1127.rt56.1093.el7
redhat/kernel<0:3.10.0-1127.el7
0:3.10.0-1127.el7
redhat/kernel<0:3.10.0-957.56.1.el7
0:3.10.0-957.56.1.el7
redhat/kernel<0:3.10.0-1062.26.1.el7
0:3.10.0-1062.26.1.el7
IBM Data Risk Manager<=2.0.6
Linux Linux kernel<4.13.14

Event History

Jan 17, 2018
CVE Published
12:00 AM
May 17, 2019
CVE Published
via MITRE·04:27 AM
Data Sourced
via MITRE·04:27 AM
Description
Jun 3, 2019
Data Sourced
via Red Hat·08:56 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-7191?

CVE-2018-7191 is classified as a high severity vulnerability due to the potential for denial of service.

2

How do I fix CVE-2018-7191?

To mitigate CVE-2018-7191, update your Linux kernel to a version greater than 4.13.14 or apply the applicable patches from your distribution provider.

3

Which versions of the Linux kernel are affected by CVE-2018-7191?

CVE-2018-7191 affects Linux kernel versions prior to 4.13.14.

4

Can CVE-2018-7191 be exploited remotely?

No, CVE-2018-7191 requires local access for exploitation, as it involves the use of ioctl calls.

5

What happens if CVE-2018-7191 is exploited?

Exploiting CVE-2018-7191 can lead to a denial of service condition due to a NULL pointer dereference and kernel panic.

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