Subject: openafs-fileserver: bosserver segfault when removing admin
Package: openafs-fileserver
Version: 1.6.9-1~bpo70+1
Severity: important

Removing bos administrative user causes bosserver crash
Command issued on remote client (not as the user to be deleted):
bos removeu -server afsd1 -user <sanitized>

The bug was reproduced on a testing box with localauth and with the same
result.

GDB backtrace:

#0 0x00007f9491784545 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f94917877c0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f94917bf5fb in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f9491842a37 in __fortify_fail () from
/lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f94918418f0 in __chk_fail () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x00007f9491841f4b in __realpath_chk () from
/lib/x86_64-linux-gnu/libc.so.6
#6 0x00007f9492644766 in realpath (__resolved=0x7fff72a44230
"\215\001f\222\224\177", __name=0x7fff72a43e30
"/etc/openafs/server/UserList") at
/usr/include/x86_64-linux-gnu/bits/stdlib.h:44
#7 afsconf_DeleteUser (adir=, auser=auser@entry=0x7f949432d730
"lengyel") at userok.c:134
#8 0x00007f949262b3a6 in SBOZO_DeleteSUser
(acall=acall@entry=0x7f949432c560, aname=0x7f949432d730 "lengyel") at
bosoprocs.c:760
#9 0x00007f9492627ffe in _BOZO_DeleteSUser (z_call=0x7f949432c560,
z_xdrs=0x7fff72a44750) at bosint.ss.c:399
#10 0x00007f94926296b0 in BOZO_ExecuteRequest (z_call=0x7f949432c560) at
bosint.ss.c:1436
#11 0x00007f94926370d6 in rxi_ServerProc (threadID=5, newcall=0x0,
socketp=socketp@entry=0x7fff72a447d0) at rx.c:1877
#12 0x00007f949262f22b in rx_ServerProc (unused=unused@entry=0x0) at
rx_lwp.c:369
#13 0x00007f9492633ed6 in rx_StartServer (donateMe=donateMe@entry=1) at
rx.c:970
#14 0x00007f9492621776 in main (argc=, argv=, envp=) at bosserver.c:1199
------
frame 7
info locals (partial)
resolved_path =
"\215\001f\222\224\177\000\000\000\000\000\000\000\000\000\000\006[Q\017\000\000\000\000\260\251,\224\224\177\000\000@D\207\222\224\177\000\000@",
'\000' <repeats 15 times>"\204,
\070d\222\224\177\000\000\001\b\000\000\000\000\000\000Z\\\004\000\000\000\000\000\001\000\000\000\000\000\000\000\244\201",
'\000' <repeats 22 times>,
"?\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\b\000\000\000\000\000\000\000\221u\343S\000\000\000\000vQ\310.\000\000\000\000\203u\343S\000\000\000\000\267\223\017\070\000\000\000\000\203u\343S\000\000\000\000\267\223\017\070",
'\000' <repeats 28 times>,
"/etc/openafs/server/CellServDB\000\000\000\000\000\000\000\000\000\000\343\370c\222\224\177\000\000\371k\213\371\000\000\000\000\300C\244r\377\177\000\000"...
tbuffer =
"/etc/openafs/server/UserList\000\000\000\000\330D\244r\377\177", '\000'
<repeats 18 times>, " \022\204\221\224\177\000\000
\000\000\000\060\000\000\000\030C\244r\377\177\000\000\377\377\377\377\377\377\377\377\336\a\000\000\000\000\000\000\200\310\001\000\006\000\000\000\200\216\255\221\224\177\000\000PE\244r\377\177\000\000@E\244r\377\177\000\000\005\000\000\000\000\000\000\000\200F\244r\377\177\000\000PE\244r\377\177\000\000\331Xy\221\224\177\000\000\024C\244r\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\f\237y\221\224\177\000\000\223\360e\222\224\177\000\000\246u|\221\224\177\000\000\031\000\000\000\000\000\000\000p\317,\224\224\177\000\000\000\000\000\000\000\000\000\000\031\000\000\000\000\000\000\000\320E\244r\377\177\000\000\300E\244r\aD\244r\340E\244r\377\177\000\000\320E\244r\377\177\000\000"...
------



-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openafs-fileserver depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u3
ii  libcomerr2             1.42.5-1.1
ii  libk5crypto3           1.10.1+dfsg-5+deb7u1
ii  libkrb5-3              1.10.1+dfsg-5+deb7u1
ii  lsb-base               4.1+Debian8+deb7u1
ii  openafs-client         1.6.9-1~bpo70+1

Versions of packages openafs-fileserver recommends:
ii  ntp  1:4.2.6.p5+dfsg-2

Versions of packages openafs-fileserver suggests:
pn  openafs-doc  <none>

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to