Bug 164547 - Bug in IPv6 address adding error path
Summary: Bug in IPv6 address adding error path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: David Howells
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-07-28 17:12 UTC by David Howells
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHSA-2006-0132
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 19:25:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix IPv6 address addition error handling (327 bytes, patch)
2005-07-28 17:17 UTC, David Howells
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:808 0 normal SHIPPED_LIVE Important: kernel security update 2005-10-27 04:00:00 UTC
Red Hat Product Errata RHSA-2006:0132 0 qe-ready SHIPPED_LIVE Moderate: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 3 2006-03-09 16:31:00 UTC

Description David Howells 2005-07-28 17:12:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.0 (like Gecko)

Description of problem:
ipv6_add_addr() calls addrconf_dst_alloc(). If that fails, then rt is set to  
an error not a pointer, and the epilogue at "out:" then tries to free what rt  
points to since it isn't NULL.  

Version-Release number of selected component (if applicable):
kernel-2.6.9-11.38.EL

How reproducible:
Didn't try

Steps to Reproduce:
It just happened once. I don't know why, but I know exactly what the problem 
is: see description and patch. 

Actual Results:  It oopsed. 

Expected Results:  No oops. 

Additional info:

Comment 1 David Howells 2005-07-28 17:17:05 UTC
Created attachment 117238 [details]
Fix IPv6 address addition error handling

Comment 13 Red Hat Bugzilla 2006-03-07 19:25:47 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 the 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-2006-0132.html



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