RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 826027 - ipmitool segfaults in ipmi_lanplus_send_payload
Summary: ipmitool segfaults in ipmi_lanplus_send_payload
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipmitool
Version: 6.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Ales Ledvinka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 828678
TreeView+ depends on / blocked
 
Reported: 2012-05-29 12:15 UTC by Karel Volný
Modified: 2016-09-20 04:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* In a previous ipmitool update, the new options "-R" and "-N" were added to adjust the retransmission rate of outgoing IPMI requests over LAN and lanplus interfaces. Implementation of these options set a wrong default value of the retransmission timeout, and an outgoing request timed out prematurely. In addition, in some corner cases, ipmitool could terminate unexpectedly with a segmentation fault when the timeout occurred. This update fixes the default timeout value, so ipmitool without the "-N" option retransmits outgoing IPMI requests as in previous versions, and crashes no longer occur in the described scenario.
Clone Of:
Environment:
Last Closed: 2013-09-12 12:39:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1259 0 normal SHIPPED_LIVE ipmitool bug fix update 2013-09-12 16:36:03 UTC

Comment 5 Jan Safranek 2012-05-30 08:29:54 UTC
This bug has been fixed upstream, patch tracker item 3508759.

https://sourceforge.net/tracker/?func=detail&aid=3508759&group_id=95200&atid=610552

The upstream patch actually fixes something else, fixing retransmissions just as side-effect. I'll port back only the relevant part.

Comment 6 Karel Volný 2012-05-30 10:38:24 UTC
1) when using impitool delloem extensions, the new extended version crashes under some circumstances - when a connection cannot be established for some reason

for example, the command:

ipmitool -I lanplus -H $HOST -U $USERNAME -P wrongpassword delloem powermonitor


fails like this:

Error: Unable to establish IPMI v2 / RMCP+ session
Segmentation fault (core dumped)


this doesn't affect the function of the program under normal circumstances (if the connection is established)


2) with the new patch allowing to configure the timeout value, it happens that the default timeout is too low and the request fails, for example like this:

# ipmitool -I lanplus -H $HOST -U $USERNAME -P $PASSWORD sensor list
Unable to renew SDR reservation
Close Session command failed: Reservation cancelled or invalid


there is an easy workaround to specify the timeout explicitly using the new "-N" option, for example like this:

# ipmitool -I lanplus -H $HOST -U $USERNAME -P $PASSWORD -N 4 sensor list
CPU 1 Temp       | na         | degrees C  | na    | na        | na        | na        | 85.000    | 90.000    | na        
CPU 2 Temp       | na         | degrees C  | na    | na        | na        | na        | 85.000    | 90.000    | na        
...

Comment 11 Jan Safranek 2012-06-05 08:11:12 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In the previous ipmitool update, new options '-R' and '-N' were added to adjust retransmission rate of outgoing IPMI requests over lan and lanplus interfaces. Implementation of these options set wrong default value of retransmission timeout and outgoing request timed out prematurely. In addition, in some corner cases, ipmitool could segfault when the timeout occurred. This update fixes the default timeout value and ipmitool without '-N' option retransmits outgoing IPMI requests as in previous versions.

Comment 21 errata-xmlrpc 2013-09-12 12:39:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1259.html


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