NetBSD Problem Report #49056

From martin@duskware.de  Thu Jul 31 20:00:51 2014
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 033F2A87CA
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 31 Jul 2014 20:00:51 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: tcp_usrreq kassert firing
X-Send-Pr-Version: 3.95

>Number:         49056
>Category:       kern
>Synopsis:       tcp_usrreq kassert firing
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 31 20:05:00 +0000 2014
>Closed-Date:    Fri Aug 01 08:15:07 +0000 2014
>Last-Modified:  Fri Aug 01 08:15:07 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.49
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-rest.duskware.de 6.99.49 NetBSD 6.99.49 (EGENERIC) #20: Thu Jul 31 13:51:13 CEST 2014 martin@seven-days-to-the-wolves.aprisoft.de:/usr/src/sys/arch/shark/compile/EGENERIC shark
Architecture: earmv4
Machine: shark
>Description:

On a machine running with securelvel = -1 the PR 47598 test reproducably
triggers a kernel assertion.

>How-To-Repeat:

night-rest# pwd
/usr/tests/kernel
night-rest# sysctl kern.securelevel
kern.securelevel = -1
night-rest# atf-run t_kauth_pr_47598 > /dev/null
panic: kernel diagnostic assertion "req != PRU_ABORT" failed: file "../../../../netinet/tcp_usrreq.c", line 239 
Stopped in pid 114.1 (t_kauth_pr_47598) at      netbsd:cpu_Debugger+0x10:       l
dmea    r13, {r11, r13, r15}
db> bt                      
0xf6101c44: netbsd:cpu_Debugger+0xc
0xf6101c5c: netbsd:db_panic+0x24   
0xf6101c84: netbsd:vpanic+0x20c 
0xf6101c9c: netbsd:kern_assert+0x38
0xf6101cec: netbsd:tcp_usrreq+0x240
0xf6101d1c: netbsd:tcp_usrreq_wrapper+0x44
0xf6101d44: netbsd:soabort+0xd4           
0xf6101d6c: netbsd:soclose+0x10c
0xf6101d8c: netbsd:soo_close+0x3c
0xf6101dd4: netbsd:closef+0x188  
0xf6101e2c: netbsd:fd_close+0x3f4
0xf6101e54: netbsd:sys_close+0x50


>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 31 Jul 2014 20:29:42 +0000
State-Changed-Why:
i commited the obvious change after testing it works.


State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Fri, 01 Aug 2014 08:15:07 +0000
State-Changed-Why:
confirmed fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.