[Pkg-cups-devel] Bug#641945: cups segfault authentication web interface

Brian May brian at microcomaustralia.com.au
Sun Sep 18 01:42:28 UTC 2011


Package: cups
Version: 1.4.4-7

If I try to carry out an action in the web interface that requires
authentication, e.g. pause the printer, cupsd daemon crashes:

read(26, "#\n# /etc/pam.d/common-session - "..., 4096) = 1222
read(26, "", 4096)                      = 0
close(26)                               = 0
munmap(0xb6f6b000, 4096)                = 0
read(19, "", 4096)                      = 0
close(19)                               = 0
munmap(0xb76ea000, 4096)                = 0
time(NULL)                              = 1316308526
getuid32()                              = 0
stat64("/etc/securetty", {st_mode=S_IFREG|0644, st_size=3828, ...}) = 0
open("/etc/securetty", O_RDONLY|O_LARGEFILE) = 19
fstat64(19, {st_mode=S_IFREG|0644, st_size=3828, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb76ea000
read(19, "# /etc/securetty: list of termin"..., 4096) = 3828
read(19, "", 4096)                      = 0
close(19)                               = 0
munmap(0xb76ea000, 4096)                = 0
open("/etc/shadow", O_RDONLY|O_CLOEXEC) = 19
fstat64(19, {st_mode=S_IFREG|0640, st_size=773, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb76ea000
read(19, "root:$6$LbfNrZ2k$44emahujzdjRq00"..., 4096) = 773
read(19, "", 4096)                      = 0
close(19)                               = 0
munmap(0xb76ea000, 4096)                = 0
geteuid32()                             = 0
open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = 19
fstat64(19, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb76ea000
read(19, "\text3\nnodev\tsysfs\nnodev\tproc\nnod"..., 1024) = 54
read(19, "", 1024)                      = 0
close(19)                               = 0
munmap(0xb76ea000, 4096)                = 0
open("/etc/pam_ldap.conf", O_RDONLY)    = 19
fstat64(19, {st_mode=S_IFREG|0644, st_size=8903, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb76ea000
read(19, "###DEBCONF###\n# the configuratio"..., 4096) = 4096
read(19, "eating Unicode password and upda"..., 4096) = 4096
read(19, "At least one of these are requir"..., 4096) = 711
read(19, "", 4096)                      = 0
close(19)                               = 0
munmap(0xb76ea000, 4096)                = 0
gettimeofday({1316308526, 588329}, NULL) = 0
gettimeofday({1316308526, 588385}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 16691 detached

I suspect this might have something to do with PAM LDAP. It works fine if I:

* authenticate as root instead of an LDAP user.

However still fails if I:

* disable TLS for LDAP NSS module.
* disable TLS for LDAP PAM module.
* Configure cups to use http instead of https.

So doesn't appear to be a TLS library issue.
-- 
Brian May <brian at microcomaustralia.com.au>





More information about the Pkg-cups-devel mailing list