Issued:
2011-05-19
Updated:
2011-05-19

RHBA-2011:0806 - libpciaccess bug fix update


Synopsis

libpciaccess bug fix update

Type/Severity

Bug Fix Advisory (none)

Topic

Updated libpciaccess packages that fix two bugs are now available for Red Hat Enterprise Linux 6.

Description

libpciaccess is a low level system library used to access PCI devices. It provides this functionality for X.Org and virtualization layers.

This update fixes the following bugs:

  • If pci_system_init/pci_system_cleanup was run twice (or more) in a row within the one process, a double close() could occur on the config_fd variable. This caused an error, as the FD associated with nullfd was closed by the second pci_get_strings() call. That was because the pci_device_linux_sysfs_destroy() failed to re-initialize the global 'config_fd' variable to -1 after closing it. This patch adds a line to set config_fd to -1 after the closure, fixing the issue. (BZ#675756)

  • When the pci_system_init() function opened the /proc/mtrr file and saved its file descriptor, then pci_system_cleanup() would fail to close the file descriptor. This resulted in a leak of the FD. With this update, added to the above bug's patch, the file descriptor is closed as expected. (BZ#675758)

All users of libpciaccess are advised to upgrade to these updated packages which resolve these issues.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • libpciaccess-debuginfo-0.10.9-4.el6.ppc.rpm
  • libpciaccess-devel-0.10.9-4.el6.ppc64.rpm
  • libpciaccess-devel-0.10.9-4.el6.x86_64.rpm
  • libpciaccess-devel-0.10.9-4.el6.s390.rpm
  • libpciaccess-devel-0.10.9-4.el6.ppc.rpm
  • libpciaccess-debuginfo-0.10.9-4.el6.i686.rpm
  • libpciaccess-0.10.9-4.el6.s390x.rpm
  • libpciaccess-0.10.9-4.el6.ppc64.rpm
  • libpciaccess-devel-0.10.9-4.el6.s390x.rpm
  • libpciaccess-0.10.9-4.el6.src.rpm
  • libpciaccess-debuginfo-0.10.9-4.el6.s390x.rpm
  • libpciaccess-0.10.9-4.el6.ppc.rpm
  • libpciaccess-0.10.9-4.el6.s390.rpm
  • libpciaccess-debuginfo-0.10.9-4.el6.x86_64.rpm
  • libpciaccess-debuginfo-0.10.9-4.el6.ppc64.rpm
  • libpciaccess-devel-0.10.9-4.el6.i686.rpm
  • libpciaccess-debuginfo-0.10.9-4.el6.s390.rpm
  • libpciaccess-0.10.9-4.el6.i686.rpm
  • libpciaccess-0.10.9-4.el6.x86_64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information