From owner-freebsd-bugs@freebsd.org Thu May 28 19:21:29 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3454D2FBA0B for ; Thu, 28 May 2020 19:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49XyHF0g5fz41nZ for ; Thu, 28 May 2020 19:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 14FDA2FB91E; Thu, 28 May 2020 19:21:29 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14A732FB7AC for ; Thu, 28 May 2020 19:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49XyHD6hTMz41cb for ; Thu, 28 May 2020 19:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E1405B790 for ; Thu, 28 May 2020 19:21:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04SJLSeO037917 for ; Thu, 28 May 2020 19:21:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04SJLSVD037916 for bugs@FreeBSD.org; Thu, 28 May 2020 19:21:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246819] Kernel panic with ifconfig destroy Date: Thu, 28 May 2020 19:21:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lrx337@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 19:21:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246819 Bug ID: 246819 Summary: Kernel panic with ifconfig destroy Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lrx337@gmail.com $ uname -a=20 FreeBSD somebox 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r361562M: Wed May 27 19:54:22 EDT 2020 user@somebox:/usr/obj/usr/src2/amd64.amd64/sys/MYKERN= =20 amd64 Steps to reproduce: # Create a wlan interface with ifconfig: ifconfig wlan7 create wlandev run0 ifconfig wlan7 inet6 ifdisabled ifconfig wlan7 mode 11ng channel 9 -ampdutx -ampdurx ifconfig wlan7 inet6 -ifdisabled ifconfig wlan7 inet6 accept_rtadv ifconfig wlan7 inet6 accept_rtadv up # Do some activity on the network (open a website?) # destroy the wlan interface ifconfig wlan7 destroy # kernal panics! Unread portion of the kernel message buffer from crash report: __curthread () at /usr/src2/sys/amd64/include/pcpu_aux.h:55 55 /usr/src2/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) #0 __curthread () at /usr/src2/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D1) at /usr/src2/sys/kern/kern_shutdown.c:394 #2 0xffffffff80ac1670 in kern_reboot (howto=3D260) at /usr/src2/sys/kern/kern_shutdown.c:481 #3 0xffffffff80ac1aca in vpanic (fmt=3D, ap=3D) at /usr/src2/sys/kern/kern_shutdown.c:913 #4 0xffffffff80ac1823 in panic (fmt=3D) at /usr/src2/sys/kern/kern_shutdown.c:839 #5 0xffffffff80f29a67 in trap_fatal (frame=3D0xfffffe001d742400, eva=3D0) at /usr/src2/sys/amd64/amd64/trap.c:919 #6 0xffffffff80f29b09 in trap_pfault (frame=3D0xfffffe001d742400,=20 usermode=3D, signo=3D, ucode=3D) at /usr/src2/sys/amd64/amd64/trap.c:736 #7 0xffffffff80f29105 in trap (frame=3D0xfffffe001d742400) at /usr/src2/sys/amd64/amd64/trap.c:400 #8 #9 0xffffffff80ce307d in ip6_output (m0=3D,=20 opt=3D, ro=3D, flags=3D0, im6o=3D0x0, ifp= p=3D0x0,=20 inp=3D0xfffff801ea6b8b70) at /usr/src2/sys/netinet6/ip6_output.c:790 #10 0xffffffff80ca829c in tcp_output (tp=3D0xfffffe00b1dd2850) at /usr/src2/sys/netinet/tcp_output.c:1420 #11 0xffffffff80cae5f1 in tcp_drop (tp=3D0xfffffe00b1dd2850, errno=3D60) at /usr/src2/sys/netinet/tcp_subr.c:1882 #12 0xffffffff80cb6bf6 in tcp_timer_keep (xtp=3D0xfffffe00b1dd2850) at /usr/src2/sys/netinet/tcp_timer.c:506 #13 0xffffffff80add28f in softclock_call_cc (c=3D0xfffffe00b1dd2b48,=20 cc=3D0xffffffff81a97a40 , direct=3D0) at /usr/src2/sys/kern/kern_timeout.c:703 #14 0xffffffff80add64b in softclock (arg=3D0xffffffff81a97a40 ) at /usr/src2/sys/kern/kern_timeout.c:823 #15 0xffffffff80a81ff9 in intr_event_execute_handlers (p=3D,= =20 ie=3D0xfffff800037a4e00) at /usr/src2/sys/kern/kern_intr.c:1153 #16 ithread_execute_handlers (p=3D, ie=3D0xfffff800037a4e00) at /usr/src2/sys/kern/kern_intr.c:1166 #17 ithread_loop (arg=3D) at /usr/src2/sys/kern/kern_intr.c:= 1254 #18 0xffffffff80a7eb40 in fork_exit ( callout=3D0xffffffff80a81d80 , arg=3D0xfffff80003775280,= =20 frame=3D0xfffffe001d742b00) at /usr/src2/sys/kern/kern_fork.c:1053 #19 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=