bin/89808: malformed Framed-IPv6-Prefix crashes PPP

Francis Dupont Francis.Dupont at
Thu Dec 1 17:10:08 GMT 2005

>Number:         89808
>Category:       bin
>Synopsis:       malformed Framed-IPv6-Prefix crashes PPP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 01 17:10:02 GMT 2005
>Originator:     Francis Dupont
>Release:        FreeBSD 5.4
Point6 c/o GET/ENST Bretagne
FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Sep  1 16:00:11 CEST 2005     dupont at  i386              
When PPP (/usr/sbin/ppp) receives a mal formed Framed-IPv6-Prefix in a RADIUS accept message
the rad_cvt_ipv6prefix() function returns a NULL which is not tested.              
Configure a RADIUS server with a bogus Framed-IPv6-Prefix (BTW freeradius doesn't check this
so it can trigger the issue.              
In /usr/src/usr.sbin/ppp/radius.c please check the return value from rad_cvt_ipv6prefix()!              

More information about the freebsd-bugs mailing list