Bug 1459449

Summary: backport pmc: goto out when get unknown management tlv
Product: Red Hat Enterprise Linux 7 Reporter: Hangbin Liu <haliu>
Component: linuxptpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact: Qiao Zhao <qzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: mlichvar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: linuxptp-1.8-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 17:32:21 UTC Type: Bug
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:    
Bug Blocks: 1371853    

Description Hangbin Liu 2017-06-07 08:04:03 UTC
Description of problem:
During Management GET message fuzz test, pmc crashed due to not correctly handle unknown management tlv message. Please back port the following commit to fix this issue.

commit 95b5a13cb2787b6a436ad395bb4931d1661e59a7
Author: Hangbin Liu <liuhangbin>
Date:   Tue May 23 14:49:55 2017 +0800

    pmc: goto out when get unknown management tlv

Comment 1 Qiao Zhao 2017-07-25 12:38:44 UTC
Hi developer,

Could you give some detail information about how to test/verify this bug?
I have no idea for this.

--
Thanks,
Qiao

Comment 2 Hangbin Liu 2017-07-25 13:13:29 UTC
(In reply to Qiao Zhao from comment #1)
> Hi developer,
> 
> Could you give some detail information about how to test/verify this bug?
> I have no idea for this.
Hi Qiao,

I use Codenomicon fuzz for this testing. We can talk about this on irc.

Thanks
Hangbin

Comment 3 Qiao Zhao 2017-07-26 03:02:41 UTC
(In reply to Hangbin Liu from comment #2)
> (In reply to Qiao Zhao from comment #1)
> > Hi developer,
> > 
> > Could you give some detail information about how to test/verify this bug?
> > I have no idea for this.
> Hi Qiao,
> 
> I use Codenomicon fuzz for this testing. We can talk about this on irc.
> 
> Thanks
> Hangbin

Great, thanks!

Comment 8 errata-xmlrpc 2018-04-10 17:32:21 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.

https://access.redhat.com/errata/RHEA-2018:0939