Bug 564399 - f71805f hwmon driver passes '&sio_data' to platform_device_add_data()
Summary: f71805f hwmon driver passes '&sio_data' to platform_device_add_data()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: 5.6
Assignee: Dean Nelson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-12 16:14 UTC by Dean Nelson
Modified: 2010-03-30 07:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 07:41:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0178 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.5 kernel security and bug fix update 2010-03-29 12:18:21 UTC

Description Dean Nelson 2010-02-12 16:14:54 UTC
Description of problem:
The f71805f hwmon kernel driver passes '&sio_data' as the second argument to platform_device_add_data(). This is wrong. It should be passing 'sio_data', without the '&'.

This problem was found by code inspection after determining the cause behind the problem reported by BZ 559950. There are two other BZs that also report problems caused by this very same issue (BZs 557172 and 560944).

The result of this issue is that when one does a modprobe of the driver the system experiences an "Unable to handle kernel paging request at ..." type panic. See the other three BZs for details.

I've not been able to find a system within Red Hat that has the necessary chip to run the f71805f driver on, so as to verify that it indeed panics like the other three drivers do. (This is not to say such a system doesn't exist.)


Version-Release number of selected component (if applicable):
(Assuming this driver is like the other three), kernel-2.6.18-185.el5


How reproducible:
(Assuming this driver is like the other three), always.


Steps to Reproduce:
(Assuming this driver is like the other three), 'modprobe f71805f'


Actual results:
(Assuming this driver is like the other three), system panic

Expected results:
No panic

Comment 1 Dean Nelson 2010-02-12 16:23:46 UTC
To make the three other related BZs easily accessible from this BZ.

  bug 557172
  bug 559950
  bug 560944

Comment 5 RHEL Program Management 2010-02-18 00:54:27 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 8 Jarod Wilson 2010-02-23 20:06:19 UTC
in kernel-2.6.18-190.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Please update the appropriate value in the Verified field
(cf_verified) to indicate this fix has been successfully
verified. Include a comment with verification details.

Comment 13 errata-xmlrpc 2010-03-30 07:41:42 UTC
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-2010-0178.html


Note You need to log in before you can comment on or make changes to this bug.