RHBA-2011:0806
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.
Evidence and freshness
Last supporting evidence check: 2026-11-27T21:36:26.031Z UTC
Upstream Advisory
Affected Packages
libpciaccess 0.10.9-4.el6
libpciaccess-devel 0.10.9-4.el6