RHBA-2018:0162

Type: Bug fix
Severity: None
Published: 2018-01-25
Red Hat Enterprise Linux 7

The libdb packages provide the Berkeley Database, an embedded database supporting both traditional and client/server applications. This update fixes the following bug: * Previously, the libdb database did not lock its internal buffers in the correct order when it accessed pages located in an off-page duplicate (OPD) tree while processing operations on a cursor. A writer process accessed first the primary tree and then the OPD tree while a reader process did the same in the reverse order. When a writer process accessed a page from the primary tree while a reader process accessed a page from the OPD tree, the processes were unable to access the page from the other tree because the pages were simultaneously locked by the other process. This consequently caused a deadlock in libdb because neither of the processes released their locks. With this update, the btree version of the "cursor->get" method has been modified to lock the tree's pages in the same order as the writing methods, that is, the primary tree first and the OPD tree second. As a result, deadlocks in libdb no longer occur in the described scenario. (BZ#1526929) Users of libdb are advised to upgrade to these updated packages, which fix this bug.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:48:39.911Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:48:39.911Z UTC. Last updated 2026-10-07T10:08:30.622Z UTC.

Upstream Advisory

Affected Packages

  • libdb 5.3.21-21.el7_4

  • libdb-cxx 5.3.21-21.el7_4

  • libdb-cxx-devel 5.3.21-21.el7_4

  • libdb-devel 5.3.21-21.el7_4

  • libdb-devel-doc 5.3.21-21.el7_4

  • libdb-devel-static 5.3.21-21.el7_4

  • libdb-java 5.3.21-21.el7_4

  • libdb-java-devel 5.3.21-21.el7_4

  • libdb-sql 5.3.21-21.el7_4

  • libdb-sql-devel 5.3.21-21.el7_4

  • libdb-tcl 5.3.21-21.el7_4

  • libdb-tcl-devel 5.3.21-21.el7_4

  • libdb-utils 5.3.21-21.el7_4

Interested in being alerted when there are new versions of libdb and the other packages? Set up an alert.
RHBA-2018:0162: libdb bug fix update | Package Alert