{"api_version":"1","generated_at":"2026-04-23T04:09:29+00:00","cve":"CVE-2018-7191","urls":{"html":"https://cve.report/CVE-2018-7191","api":"https://cve.report/api/cve/CVE-2018-7191.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-7191","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-7191"},"summary":{"title":"CVE-2018-7191","description":"In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-05-17 05:29:00","updated_at":"2019-05-31 12:29:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html","name":"openSUSE-SU-2019:1570","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1570-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792","name":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Bug #1743792 “kernel panic on ioctl(TUNSETIFF) with a dev name w...” : Bugs : linux package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00071.html","name":"openSUSE-SU-2019:1479","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1479-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748846","name":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748846","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Bug #1748846 “Artful 4.13 fixes for tun” : Bugs : linux package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/108380","name":"108380","refsource":"BID","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/torvalds/linux/commit/5c25f65fd1e42685f7ccd80e0621829c105785d9","name":"https://github.com/torvalds/linux/commit/5c25f65fd1e42685f7ccd80e0621829c105785d9","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"tun: allow positive return values on dev_get_valid_name() call · torvalds/linux@5c25f65 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14","name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/torvalds/linux/commit/0ad646c81b2182f7fa67ec0c8c825e0ee165696d","name":"https://github.com/torvalds/linux/commit/0ad646c81b2182f7fa67ec0c8c825e0ee165696d","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"tun: call dev_get_valid_name() before register_netdevice() · torvalds/linux@0ad646c · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d","refsource":"MISC","tags":["Patch","Third Party Advisory","Vendor Advisory"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html","name":"openSUSE-SU-2019:1579","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1579-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7191","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7191","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"7191","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"7191","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-7191","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792","refsource":"MISC","name":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792"},{"url":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748846","refsource":"MISC","name":"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748846"},{"url":"https://github.com/torvalds/linux/commit/0ad646c81b2182f7fa67ec0c8c825e0ee165696d","refsource":"MISC","name":"https://github.com/torvalds/linux/commit/0ad646c81b2182f7fa67ec0c8c825e0ee165696d"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d","refsource":"MISC","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0ad646c81b2182f7fa67ec0c8c825e0ee165696d"},{"url":"https://github.com/torvalds/linux/commit/5c25f65fd1e42685f7ccd80e0621829c105785d9","refsource":"MISC","name":"https://github.com/torvalds/linux/commit/5c25f65fd1e42685f7ccd80e0621829c105785d9"},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9","refsource":"MISC","name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5c25f65fd1e42685f7ccd80e0621829c105785d9"},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14","refsource":"MISC","name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.14"},{"refsource":"BID","name":"108380","url":"http://www.securityfocus.com/bid/108380"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1479","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00071.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1570","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1579","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html"}]}},"nvd":{"publishedDate":"2019-05-17 05:29:00","lastModifiedDate":"2019-05-31 12:29:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"COMPLETE","baseScore":4.9},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.13.14","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"7191","Ordinal":"123431","Title":"CVE-2018-7191","CVE":"CVE-2018-7191","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"7191","Ordinal":"1","NoteData":"In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. 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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"7191","Ordinal":"2","NoteData":"2019-05-17","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"7191","Ordinal":"3","NoteData":"2019-06-18","Type":"Other","Title":"Modified"}]}}}