From owner-freebsd-bugs@freebsd.org Wed Nov 9 06:45:51 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 D9680C370A2 for ; Wed, 9 Nov 2016 06:45:51 +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 BE5C4CBE for ; Wed, 9 Nov 2016 06:45:51 +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 uA96jpCk007339 for ; Wed, 9 Nov 2016 06:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214344] null pointer dereference: renameat() -> tmpfs_rename() -> turnstile_broadcast Date: Wed, 09 Nov 2016 06:45:51 +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: peter@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: 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.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 06:45:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214344 Bug ID: 214344 Summary: null pointer dereference: renameat() -> tmpfs_rename() -> turnstile_broadcast Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: peter@FreeBSD.org >From the console log: fault virtual address =3D 0x20^M fault code =3D supervisor read data, page not present^M ... [ thread pid 15852 tid 101888 ]^M Stopped at turnstile_broadcast+0x9c: movq=20=20=20 0x20(%rbx,%rax,1),%rcx^M db> where^M Tracing pid 15852 tid 101888 td 0xfffff801418fc000^M turnstile_broadcast() at turnstile_broadcast+0x9c/frame 0xfffffe1835ad14a0^M __mtx_unlock_sleep() at __mtx_unlock_sleep+0x60/frame 0xfffffe1835ad14d0^M cache_zap_locked_vnode_kl2() at cache_zap_locked_vnode_kl2+0x387/frame 0xfffffe1835ad1530^M cache_purge() at cache_purge+0x176/frame 0xfffffe1835ad15a0^M tmpfs_rename() at tmpfs_rename+0xeff/frame 0xfffffe1835ad1690^M VOP_RENAME_APV() at VOP_RENAME_APV+0x97/frame 0xfffffe1835ad16c0^M kern_renameat() at kern_renameat+0x4a8/frame 0xfffffe1835ad1920^M amd64_syscall() at amd64_syscall+0x51e/frame 0xfffffe1835ad1ab0^M Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe1835ad1ab0^M --- syscall (501, FreeBSD ELF64, sys_renameat), rip =3D 0x6fc42a, rsp =3D 0x7fffffffbd98, rbp =3D 0x7fffffffc740 ---^M ... Locked vnodes^M vnode 0xfffff80b9f074938: tag tmpfs, type VREG^M usecount 1, writecount 0, refcount 1 mountedhere 0^M flags (VI_ACTIVE)^M v_object 0xfffff812c9dc0a50 ref 1 pages 10 cleanbuf 0 dirtybuf 0^M lock type tmpfs: EXCL by thread 0xfffff801323ba500 (pid 94836, pkg-stat= ic, tid 101212)^M tag VT_TMPFS, tmpfs_node 0xfffff8152c481570, flags 0x0, links 1^M mode 0600, owner 0, group 0, size 40960, status 0x2^M ^M vnode 0xfffff80bc52d83b0: tag tmpfs, type VDIR^M usecount 4, writecount 0, refcount 6 mountedhere 0^M flags (VI_ACTIVE)^M lock type tmpfs: EXCL by thread 0xfffff801418fc000 (pid 15852, pkg-stat= ic, tid 101888)^M tag VT_TMPFS, tmpfs_node 0xfffff814ef18e658, flags 0x0, links 2^M mode 0755, owner 0, group 0, size 2048, status 0x0^M ^M I do have an alltrace but do not have a savecore. --=20 You are receiving this mail because: You are the assignee for the bug.=