Bug 1620290 (CVE-2018-14621) - CVE-2018-14621 libtirpc: Infinite loop in EMFILE case in svc_vc.c
Summary: CVE-2018-14621 libtirpc: Infinite loop in EMFILE case in svc_vc.c
Alias: CVE-2018-14621
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: impact=low,public=20160303,reported=2...
Keywords: Security
Depends On:
Blocks: 1620296
TreeView+ depends on / blocked
Reported: 2018-08-22 21:46 UTC by Laura Pardo
Modified: 2019-06-11 11:13 UTC (History)
24 users (show)

An infinite loop vulnerability was found in libtirpc. With the port to using poll rather than select, exhaustion of file descriptors would cause the server to enter an infinite loop, consuming a large amount of CPU time and denying service to other clients until restarted.
Clone Of:
Last Closed: 2019-06-10 10:36:28 UTC

Attachments (Terms of Use)

Description Laura Pardo 2018-08-22 21:46:07 UTC
A flaw was found in libtirpc before version 1.0.2-rc2. With the port to poll, and endless loop can be created when running out of file descriptors.


Upstream Patch:

Comment 1 Doran Moppert 2018-08-23 02:55:52 UTC
This was introduced with the port to using poll() instead of select() around 0.3.3.  Prior versions use a different strategy when EMFILE/ENFILE is hit:  the "most idle" connection is dropped before retrying.

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