From owner-freebsd-bugs@freebsd.org Tue Dec 27 16:44:16 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17AB8C93D0E for ; Tue, 27 Dec 2016 16:44:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1F7C10C1 for ; Tue, 27 Dec 2016 16:44:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBRGiFgr078177 for ; Tue, 27 Dec 2016 16:44:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215613] [panic] if if_ixl due to NULL pointer dereference Date: Tue, 27 Dec 2016 16:44:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 16:44:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215613 --- Comment #1 from Andrey V. Elsukov --- Another one: Unread portion of the kernel message buffer: frame pointer =3D 0x28:0xfffffe1048520130 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 926 (bird6) (kgdb) bt #0 doadump (textdump=3D1213332256) at pcpu.h:222 #1 0xffffffff8038c596 in db_fncall (dummy1=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:581 #2 0xffffffff8038c0f9 in db_command (cmd_table=3D) at /usr/src/sys/ddb/db_command.c:453 #3 0xffffffff8038be54 in db_command_loop () at /usr/src/sys/ddb/db_command.c:506 #4 0xffffffff8038efbf in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:248 #5 0xffffffff80b32f33 in kdb_trap (type=3D, code=3D, tf=3D) at /usr/src/sys/kern/subr_kdb.c= :654 #6 0xffffffff80fa25b1 in trap_fatal (frame=3D0xfffffe1048520050, eva=3D100= ) at /usr/src/sys/amd64/amd64/trap.c:796 #7 0xffffffff80fa27e3 in trap_pfault (frame=3D0xfffffe1048520050, usermode= =3D0) at /usr/src/sys/amd64/amd64/trap.c:658 #8 0xffffffff80fa1de3 in trap (frame=3D0xfffffe1048520050) at /usr/src/sys/amd64/amd64/trap.c:421 #9 0xffffffff80f84191 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #10 0xffffffff80b44d79 in taskqueue_enqueue (queue=3D0x0, task=3D0xfffffe0001a0e660) at pcpu.h:222 #11 0xffffffff8103f1ef in ixl_mq_start (ifp=3D, m=3D) at /usr/src/sys/dev/ixl/ixl_txrx.c:135 #12 0xffffffff80c06894 in vlan_transmit (ifp=3D, m=3D<= value optimized out>) at /usr/src/sys/net/if_vlan.c:1116 #13 0xffffffff80bfc5fe in ether_output (ifp=3D, m=3D, dst=3D0xfffffe1048520420, ro=3D) at /usr/src/sys/net/if_ethersubr.c:424 #14 0xffffffff80d49b51 in ip6_output (m0=3D, opt=3D, ro=3D0xfffffe1048520408, flags=3D, im6o=3D0xfffff801d8a9e100,=20 ifpp=3D0xfffffe1048520590, inp=3D) at /usr/src/sys/netinet6/ip6_output.c:946 #15 0xffffffff80d5e7cf in rip6_output (m=3D, so=3D) at /usr/src/sys/netinet6/raw_ip6.c:536 #16 0xffffffff80d5fa49 in rip6_send (so=3D0xfffff801e8cf2000, flags=3D, m=3D0xfffff802c4cea600, nam=3D, control=3D0xfffff802c483e700,=20 td=3D0xf) at /usr/src/sys/netinet6/raw_ip6.c:888 #17 0xffffffff80b86757 in sosend_generic (so=3D, addr= =3D, uio=3D, top=3D,=20 control=3D, flags=3D, td=3D) at /usr/src/sys/kern/uipc_socket.c:1359 #18 0xffffffff80b8e4c3 in kern_sendit (td=3D, s=3D, mp=3D, flags=3D0, control=3D,=20 segflg=3DUIO_USERSPACE) at /usr/src/sys/kern/uipc_syscalls.c:811 #19 0xffffffff80b8e8cf in sendit (td=3D0xfffff801d8a75000, s=3D, mp=3D0xfffffe10485208d8, flags=3D) at /usr/src/sys/kern/uipc_syscalls.c:736 #20 0xffffffff80b8e981 in sys_sendmsg (td=3D0xfffff801d8a75000, uap=3D0xfffffe10485209d0) at /usr/src/sys/kern/uipc_syscalls.c:912 #21 0xffffffff80fa2f9e in amd64_syscall (td=3D, traced= =3D0) at subr_syscall.c:135 #22 0xffffffff80f8447b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:396 #23 0x0000000800c3286a in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) f 11 #11 0xffffffff8103f1ef in ixl_mq_start (ifp=3D, m=3D) at /usr/src/sys/dev/ixl/ixl_txrx.c:135 warning: Source file is more recent than executable. 135 taskqueue_enqueue(que->tq, &que->tx_task); (kgdb) i lo vsi =3D txr =3D (struct tx_ring *) 0xfffffe0001a0e418 (kgdb) p *txr $1 =3D {que =3D 0xfffffe0001a0e3e8, mtx =3D {lock_object =3D {lo_name =3D 0xfffffe0001a0e4c0 "ixl0:tx(7)", lo_flags =3D 16973824, lo_data =3D 0, lo_w= itness =3D 0x0}, mtx_lock =3D 4},=20 tail =3D 1081372, base =3D 0xfffffe1045c5b000, dma =3D {va =3D 0xfffffe10= 45c5b000, pa =3D 214282240, tag =3D 0xfffff8000ca4cc00, map =3D 0x0, seg =3D {ds_addr = =3D 0, ds_len =3D 0},=20 size =3D 16512, nseg =3D 1, flags =3D 0}, next_avail =3D 38, next_to_cl= ean =3D 0, atr_rate =3D 0, atr_count =3D 0, itr =3D 122, latency =3D 1, buffers =3D 0xfffffe0001b0f000,=20 avail =3D 986, cmd =3D 0, tx_tag =3D 0xfffff8000ca4cb00, tso_tag =3D 0xfffff8000ca4ca00, mtx_name =3D 0xfffffe0001a0e4c0 "ixl0:tx(7)", br =3D 0xfffffe0001b17000, packets =3D 0,=20 bytes =3D 0, tx_bytes =3D 0, no_desc =3D 0, total_packets =3D 38} (kgdb) p *txr->que $2 =3D {vsi =3D 0xfffffe000168e730, me =3D 7, msix =3D 0, eims =3D 0, res = =3D 0x0, tag =3D 0x0, num_desc =3D 1024, busy =3D 1, txr =3D {que =3D 0xfffffe0001a0e3e8, mt= x =3D {lock_object =3D { lo_name =3D 0xfffffe0001a0e4c0 "ixl0:tx(7)", lo_flags =3D 16973824,= lo_data =3D 0, lo_witness =3D 0x0}, mtx_lock =3D 4}, tail =3D 1081372, base =3D 0xfffffe1045c5b000, dma =3D { va =3D 0xfffffe1045c5b000, pa =3D 214282240, tag =3D 0xfffff8000ca4cc= 00, map =3D 0x0, seg =3D {ds_addr =3D 0, ds_len =3D 0}, size =3D 16512, nseg =3D 1, fla= gs =3D 0}, next_avail =3D 38,=20 next_to_clean =3D 0, atr_rate =3D 0, atr_count =3D 0, itr =3D 122, late= ncy =3D 1, buffers =3D 0xfffffe0001b0f000, avail =3D 986, cmd =3D 0, tx_tag =3D 0xfffff8000ca4cb00,=20 tso_tag =3D 0xfffff8000ca4ca00, mtx_name =3D 0xfffffe0001a0e4c0 "ixl0:t= x(7)", br =3D 0xfffffe0001b17000, packets =3D 0, bytes =3D 0, tx_bytes =3D 0, no_d= esc =3D 0,=20 total_packets =3D 38}, rxr =3D {que =3D 0xfffffe0001a0e3e8, mtx =3D {lo= ck_object =3D {lo_name =3D 0xfffffe0001a0e5dc "ixl0:rx(7)", lo_flags =3D 16973824, lo_dat= a =3D 0,=20 lo_witness =3D 0x0}, mtx_lock =3D 4}, base =3D 0xfffffe1045c60000, = dma =3D {va =3D 0xfffffe1045c60000, pa =3D 214302720, tag =3D 0xfffff8000ca4c900, map = =3D 0x0, seg =3D { ds_addr =3D 0, ds_len =3D 0}, size =3D 32768, nseg =3D 1, flags =3D= 0}, lro =3D {ifp =3D 0xfffff8000c7ad800, lro_mbuf_data =3D 0xfffff801d818a800, lro_queu= ed =3D 0,=20 lro_flushed =3D 0, lro_bad_csum =3D 0, lro_cnt =3D 8, lro_mbuf_count = =3D 0, lro_mbuf_max =3D 0, lro_ackcnt_lim =3D 65535, lro_length_lim =3D 65535, lro= _hashsz =3D 1,=20 lro_hash =3D 0xfffff801d8cdf240, lro_active =3D {lh_first =3D 0x0}, l= ro_free =3D {lh_first =3D 0xfffff801d818abf0}}, lro_enabled =3D false, hdr_split =3D fa= lse, discard =3D false,=20 next_refresh =3D 0, next_check =3D 0, itr =3D 62, latency =3D 1, mtx_na= me =3D 0xfffffe0001a0e5dc "ixl0:rx(7)", buffers =3D 0xfffffe0001b27000, mbuf_sz = =3D 4096, tail =3D 1212444,=20 htag =3D 0xfffff8000ca4c800, ptag =3D 0xfffff8000ca4c700, packets =3D 0= , bytes =3D 0, split =3D 0, rx_packets =3D 0, rx_bytes =3D 0, desc_errs =3D 0, not_done= =3D 0}, task =3D { ta_link =3D {stqe_next =3D 0x0}, ta_pending =3D 0, ta_priority =3D 0, t= a_func =3D 0, ta_context =3D 0x0}, tx_task =3D {ta_link =3D {stqe_next =3D 0x0}, ta_pendi= ng =3D 0,=20 ta_priority =3D 0, ta_func =3D 0, ta_context =3D 0x0}, tq =3D 0x0, irqs= =3D 0, tso =3D 0, mbuf_defrag_failed =3D 0, mbuf_hdr_failed =3D 0, mbuf_pkt_failed =3D 0, tx_dmamap_failed =3D 0,=20 dropped_pkts =3D 0} --=20 You are receiving this mail because: You are the assignee for the bug.=