From owner-freebsd-bugs Fri Aug 16 15: 0:19 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5C2F37B401 for ; Fri, 16 Aug 2002 15:00:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD26843E70 for ; Fri, 16 Aug 2002 15:00:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GM0BJU080236 for ; Fri, 16 Aug 2002 15:00:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7GM0BXm080235; Fri, 16 Aug 2002 15:00:11 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6959537B400 for ; Fri, 16 Aug 2002 14:50:30 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC9F43E42 for ; Fri, 16 Aug 2002 14:50:30 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GLoTOT067567 for ; Fri, 16 Aug 2002 14:50:29 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7GLoT5O067566; Fri, 16 Aug 2002 14:50:29 -0700 (PDT) Message-Id: <200208162150.g7GLoT5O067566@www.freebsd.org> Date: Fri, 16 Aug 2002 14:50:29 -0700 (PDT) From: Larry Baird To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/41722: Setting time backward can cause a panic in RTUSE(), RTREUSE() and RTRELEASE() Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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