Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2016 06:45:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214344] null pointer dereference: renameat() -> tmpfs_rename() -> turnstile_broadcast
Message-ID:  <bug-214344-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214344-8>