Red Hat Bugzilla – Bug 135450
Unknown USB serial devices result in improperly freed structure member
Last modified: 2014-03-16 22:49:21 EDT
Description of problem:
When an USB serial device is found with an unknown PCI_CLASS_PROG byte
(ie, not 0x0, 0x10 or 0x20), execution proceeds with dev->driver
improperly freed at pci.c:762 (as of CVS, 10/11/04). Result is a
segfault during install in anaconda (RH9) and an glibc double free
error in (FC1 and FC2).
The attached patch below will only free(dev->driver) if the device is
recognized as a uhci, ohci, or ehci device. This prevents the memory
issue from halting installation on a device that may have an unknown
Version-Release number of selected component (if applicable):
Created attachment 105089 [details]
patch to avoid premature free of memberi in kudzu
CVS diff against revision 1.112
Patch is obviously correct. OUt of curiousity... where does one get
one of these devices?
Added in 1.1.95-1.