Wind River Support Network

HomeDefectsLIN9-5750
Fixed

LIN9-5750 : wireshark: tshark coredump

Created: Nov 1, 2017    Updated: Dec 3, 2018
Resolved Date: Nov 29, 2017
Found In Version: 9.0.0.12
Fix Version: 9.0.0.13
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

when I verify the CVE defects, I found the command "tshark" coredumped:

root@intel-x86-64:/usr/bin# ./tshark                                           
Running as user "root" and group "root". This could be dangerous.              
Capturing on 'eth0'                                                            
device eth0 entered promiscuous mode                                           
tshark[14283]: segfault at 18 ip 000000393ce4758d sp 00007fff8c74cf00 error 4 i
 libwiretap.so.6.0.1[393ce00000+68000]                                         
Segmentation fault (core dumped)                
                               
root@intel-x86-64:/usr/bin# device eth0 left promiscuous mode                  
                                                                               
root@intel-x86-64:/usr/bin#                                       

Steps to Reproduce

1. configure one project
/lpg-build/cdc/fast_prod/wrlinux90RCPL/RCPL0012_LX01/wrlinux-9/setup.sh --machines intel-x86-64 --kernel cgl --distro wrlinux-cgl --templates feature/acl feature/cut feature/gcc-sanitizers feature/ipv6 feature/LAMP feature/libhugetlbfs feature/lttng feature/mariadb feature/mysql-odbc feature/nfsd feature/system-stats feature/target-toolchain feature/test feature/ufw feature/valgrind feature/xfce feature/test feature/cgp-full --all-layers --layers meta-filesystems meta-xfce wr-cgl --accept-eula=yes --dl-layers 

. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env test01

bitbake-layers add-layer /buildarea2/xxxxxx/wrl-testcases/wr-testing/userspace

SSTATE_DIR = "/buildarea2/xxxxxx/sstate_90"
DL_DIR = "/buildarea2/xxxxxx/workspace/wrl90/WRL90_DL"
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "usermod -P 'root' root;"
INHERIT += "rm_work"
RM_OLD_IMAGE = "1"
BB_NO_NETWORK = "0"
# INHERIT += "ccache"
# CCACHE_DIR = "/buildarea2/xxxxxx/ccache_90"
WRTEMPLATE_append = " feature/userspace-test"
IMAGE_ROOTFS_EXTRA_SPACE = "5242880"
SELECTED_OPTIMIZATION = "${PROFILING_OPTIMIZATION}"
DEBUG_BUILD = "1"
EXTRA_IMAGE_FEATURES_append += " dbg-pkgs"
BB_NO_NETWORK_pn-lmbench = '0'
IMAGE_FSTYPES_remove += " wic wic.bmap live"
IMAGE_INSTALL_append = " hostapd wpa-supplicant libunwind rpcbind subversion wireshark openvpn opencv openjpeg"
LICENSE_FLAGS_WHITELIST += "commercial non-commercial"

bitbake wrlinux-image-glibc-cgl

boot the target (BC#25071)

root@intel-x86-64:/usr/bin# ./tshark -version                      

Other Downloads


Live chat
Online