Bug 1640598 (CVE-2018-18386) - CVE-2018-18386 kernel: Type confusion in drivers/tty/n_tty.c allows for a denial of service
Summary: CVE-2018-18386 kernel: Type confusion in drivers/tty/n_tty.c allows for a den...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-18386
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1650106
Blocks: 1640599
TreeView+ depends on / blocked
 
Reported: 2018-10-18 11:40 UTC by Andrej Nemec
Modified: 2021-02-16 22:53 UTC (History)
49 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:40:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0831 0 None None None 2019-04-23 14:30:29 UTC

Description Andrej Nemec 2018-10-18 11:40:55 UTC
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.

References:

https://syzkaller.appspot.com/bug?id=17a06459ecad660a3d00c3e41a4b1a7be6bca19e

https://marc.info/?t=151231153300001&r=1&w=2

https://marc.info/?t=151398650400001&r=1&w=2

http://lists.linux.it/pipermail/ltp/2018-May/008071.html

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=966031f340185eddd05affcf72b740549f056348

Comment 5 errata-xmlrpc 2019-04-23 14:30:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0831 https://access.redhat.com/errata/RHSA-2019:0831


Note You need to log in before you can comment on or make changes to this bug.