Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 796850

Summary: lldpad: DCBX: segfault may occur when clearing advertise bit
Product: Red Hat Enterprise Linux 6 Reporter: john.r.fastabend
Component: lldpadAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: asersen, azelinka, john.r.fastabend, john.ronciak, kavindya.s.deegala, robert.w.love, swadeley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lldpad-0.9.43-14.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 14:14:54 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:

Description john.r.fastabend 2012-02-23 18:49:37 UTC
If the user clears the advertise bit on the APP TLV a segfault may occur due to a bad memcpy. Fix below is available @,

http://www.open-lldp.org/git/?p=lldp/open-lldp.git;a=commit;h=f5ec9455763ad646ed6fa41f5ea2d8f8ccb0c61b

---

author     John Fastabend <john.r.fastabend>
           Wed, 1 Feb 2012 19:11:03 -0800 (19:11 -0800)
committer  John Fastabend <john.r.fastabend>
           Wed, 1 Feb 2012 19:11:03 -0800 (19:11 -0800)
commit     f5ec9455763ad646ed6fa41f5ea2d8f8ccb0c61b

lldpad: DCBX: bad memcpy with APP !advertised

The bld app routines do not verify the application TLV is actually
being advertised before trying to do a memcpy. This can result in
a bad memcpy.

Signed-off-by: John Fastabend <john.r.fastabend>
Tested-by: Ross Brattain <ross.b.brattain>

Comment 3 Robert Love 2012-02-24 23:41:39 UTC
Intel observed this defect in RHEL6.2. We're a bit unclear as to whether this meets the 6.2 errata critera to get this patch backported. It's certainly a bad problem (segfault), but it's user space. At this point I just wanted to make RH aware that the failure exists in RHEL6.2.

Comment 5 Petr Šabata 2012-02-29 14:40:20 UTC
Pushed as lldpad-0.9.43-14.el6.

Comment 8 kavindya.s.deegala 2012-04-04 23:53:23 UTC
Verification failed with Red Hat 6.3 Alpha

Comment 9 kavindya.s.deegala 2012-04-10 22:13:40 UTC
Please ignore Comment 8. 

Verification passed with Red hat 6.3 Alpha.

Comment 10 Stephen Wadeley 2012-06-08 14:04:17 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:
No documentation needed.

Comment 11 errata-xmlrpc 2012-06-20 14:14:54 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-2012-0901.html