Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 1999 11:09:55 +0900 (JST)
From:      Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        kagotani@in.it.okayama-u.ac.jp
Subject:   kern/10780: executing gzipped shell scripts panics the kernel
Message-ID:  <199903250209.LAA00503@deimos.in.it.okayama-u.ac.jp>

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

>Number:         10780
>Category:       kern
>Synopsis:       executing gzipped shell scripts panics the kernel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 18:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Okayama University
>Environment:

	GENERIC 3.1-RELEASE kernel and
	perhaps any 3.1 kernel configured with gzip option

>Description:

	When I execute a gzipped shell script from {csh,zsh} as
	{a normal user,root}, the kernel always falls down by a panic
	and show a message:

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x20
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf014c524
stack pointer		= 0x10:0xf5245dec
frame pointer		= 0x10:0xf5245df8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 201 (csh)
interrupt mask		=
trap numer		= 12
panic: page fault

>How-To-Repeat:

	% cat >/tmp/foo
	#!/bin/sh
	echo foo
	^D
	% chmod +x /tmp/foo
	% /tmp/foo
	foo
	% gzip -9n /tmp/foo
	% /tmp/foo.gz
	(and your kernel will fall down)

>Fix:
	
	


>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?199903250209.LAA00503>