RHBA-2018:0401
The libtevent packages provide Tevent, an event system based on the talloc memory management library. Tevent supports many event types, including timers, signals, and the classic file descriptor events. Tevent also provides helpers to deal with asynchronous code represented by the tevent_req() (Tevent Request) functions. This update fixes the following bug: * Previously, the tevent_common_wakeup_fd(tctx->wakeup_fd), internal function of the libtevent library was called when a race condition in the tevent threaded code occurred. Here the wakeup_fd was used without the mutex lock and the tctx could be deleted by another thread. Reused memory might point to the wakeup_fd value that matches to a file descriptor in use by the smbd to write to an on-disk file. As a consequence, libtevent corrupted a file on the disk. With this update, wakeup_fd is saved in a local variable before the mutex is released, so that it always holds the expected file descriptor. As a result, the described problem no longer occurs. (BZ#1513984) Users of libtevent are advised to upgrade to these updated packages, which fix this bug.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC
Upstream Advisory
Affected Packages
libtevent 0.9.31-2.el7_4
libtevent-devel 0.9.31-2.el7_4
python-tevent 0.9.31-2.el7_4