Bug 537346
| Summary: | kernel: NULL pointer dereference in pci_bus_show_cpuaffinity() [rhel-5.4.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | RHEL Program Management <pm-rhel> |
| Component: | kernel | Assignee: | Jiri Pirko <jpirko> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5 | CC: | anton, cward, dfeng, dhoward, dzickus, emcnabb, jpirko, jplans, jskrabal, lwang, pm-eus, rkhan, rprice, uobergfe, yugzhang |
| Target Milestone: | rc | Keywords: | OtherQA, ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-2.6.18-164.7.1.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-15 17:21:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 519633 | ||
| Bug Blocks: | |||
|
Description
RHEL Program Management
2009-11-13 09:02:39 UTC
in kernel-2.6.18-164.7.1.el5 Please do NOT transition this bugzilla state to VERIFIED until our QE team has sent specific instructions indicating when to do so.
Have tested it on intel-s3e36-02.rhts.eng.rdu.redhat.com which has a 0000:ff
pci bus with following configurations:
i386 + 2.6.18-164.6.1.el5
i386 + 2.6.18-164.8.1.el5
and cannot reproduce it.
We may still need our partners to help us verifying this bug on IntelĀ® TIGW1U with kernel 2.6.18-164.8.1.el5.
[root@dhcp-65-148 i386]# pwd
/usr/src/redhat/BUILD/kernel-2.6.18_164.8.1.el5/linux-2.6.18.i386/arch/i386
[root@dhcp-65-148 i386]# grep "pci_scan_bus(" * -rn
pci/common.c:546: bus = pci_scan_bus(busno, &pci_root_ops, sd);
pci/irq-xen.c:153: if (pci_scan_bus(i, &pci_root_ops, sd))
Could we also use the wrapper function instead of pci_scan_bus()?
(In reply to comment #7) > [root@dhcp-65-148 i386]# pwd > /usr/src/redhat/BUILD/kernel-2.6.18_164.8.1.el5/linux-2.6.18.i386/arch/i386 > [root@dhcp-65-148 i386]# grep "pci_scan_bus(" * -rn > pci/common.c:546: bus = pci_scan_bus(busno, &pci_root_ops, sd); That's where I implement the wrapper, please take a look at code, not just grepping code. > pci/irq-xen.c:153: if (pci_scan_bus(i, &pci_root_ops, sd)) That's used in xen, and this bug is from sysdata is NULL, the comments in pci/irq-xen.c shows sysdata cannot be NULL here because of PCI_DOMAIN support. Since this line is not buggy, why should we wrapper this? > Could we also use the wrapper function instead of pci_scan_bus()? In fact, I've viewed the code, although not as much as you guy. The grepped result is for your clarity. If you think it's ok, then just ignore here. Sorry for bothering. This bug was successfully customer verified. Please double check that the correct patch is included with SanityOnly verification, just to be sure. :) An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1670.html |