drivers/tty/n_tty.c in the Linux kernel before 4.14.11 allows local attackers (who are able to access pseudo terminals) to hang/block further usage of any pseudo terminal devices due to an EXTPROC versus ICANON confusion in TIOCINQ.
[
{
"signature_version": "v1",
"target": {
"file": "drivers/tty/n_tty.c",
"function": "n_tty_ioctl"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@966031f340185eddd05affcf72b740549f056348",
"signature_type": "Function",
"id": "CVE-2018-18386-46ccd6e0",
"deprecated": false,
"digest": {
"function_hash": "202687568883318003397210711235150015108",
"length": 543.0
}
},
{
"signature_version": "v1",
"target": {
"file": "drivers/tty/n_tty.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@966031f340185eddd05affcf72b740549f056348",
"signature_type": "Line",
"id": "CVE-2018-18386-c42e9300",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"235887428961391051704417567467642137108",
"273819095983578674171739787397569906379",
"35236439172185934108266028581840165",
"113320923984784178264915984112347963260",
"244204570729008102584523907723524627275",
"201390501228497969188080819858464026592",
"299704440288859461585579852514275432846",
"24098848737182961140871360651296237208"
]
}
},
{
"signature_version": "v1",
"target": {
"file": "drivers/tty/n_tty.c",
"function": "n_tty_set_termios"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@966031f340185eddd05affcf72b740549f056348",
"signature_type": "Function",
"id": "CVE-2018-18386-dd1c3096",
"deprecated": false,
"digest": {
"function_hash": "212764826273564470955475442258393157378",
"length": 2490.0
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-18386.json"