Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 14:50:29 -0700 (PDT)
From:      Larry Baird <lab@gta.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/41722: Setting time backward can cause a panic in RTUSE(), RTREUSE() and RTRELEASE()
Message-ID:  <200208162150.g7GLoT5O067566@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41722
>Category:       kern
>Synopsis:       Setting time backward can cause a panic in RTUSE(), RTREUSE() and RTRELEASE()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 16 15:00:11 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Larry Baird
>Release:        4.6.2
>Organization:
GTA, Inc
>Environment:
FreeBSD sukebe.gta.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 16 12:58:40 EDT 2002     lab@sukebe.gta.com:/usr/src/sys/compile/SUKEBE  i386    
>Description:
When setting time backward the creation time of a route becomes after the current time.  The caculation for what history to update in RO_USE, RTREUSE() and RTRELEASE() calculates a negative index.  This causes the incrementation of a some random point in the kernel.
>How-To-Repeat:
Set the date to some point in the future.  So some long network traffic while setting time back to correct time.    
>Fix:
Cuurently the bounds checking for logic for RTUSE(), RTREUSE() and RTRELEASE() make sure the calculated index isn't greather than 12. Theey alos need to check for less than 0.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208162150.g7GLoT5O067566>