Package: tcpdump
Version: 4.99.4-4
Severity: important

As root (sudo sh) do:

# tcpdump -Z root -ni lo -w /tmp/lo.pcap
Segmentation fault (core dumped)


#0  0x00007f09a69564b6 in __GI__nss_files_getpwnam_r (name=0x0, 
    result=0x7f09a69ff320 <resbuf>, buffer=0x55eff8311980 "root",
buflen=1024, 
    errnop=0x7f09a6fb2288) at nss_files/files-pwd.c:33
#1  0x00007f09a694f803 in __getpwnam_r (name=name@entry=0x0, 
    resbuf=resbuf@entry=0x7f09a69ff320 <resbuf>, buffer=<optimized
out>, 
    buflen=buflen@entry=1024, result=result@entry=0x7ffceaa31d20)
    at ../nss/getXXbyYY_r.c:273
#2  0x00007f09a694f610 in getpwnam (name=0x0) at ../nss/getXXbyYY.c:140
#3  0x000055efcc42fc20 in ?? ()
#4  0x00007f09a6840c8a in __libc_start_call_main (
    main=main@entry=0x55efcc42e8a0, argc=argc@entry=7, 
    argv=argv@entry=0x7ffceaa332c8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#5  0x00007f09a6840d45 in __libc_start_main_impl (main=0x55efcc42e8a0,
argc=7, 
    argv=0x7ffceaa332c8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7ffceaa332b8)
    at ../csu/libc-start.c:360
#6  0x000055efcc430941 in ?? ()


This is introduced by drop-privs-only-if-non-root.diff as it creates a
condition where getpwnam(NULL) is called, in drop-privs-after-opening-
savefile.diff.

Reply via email to