lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200313002721.GE11705@shao2-debian>
Date:   Fri, 13 Mar 2020 08:27:21 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Xin Long <lucien.xin@...il.com>
Cc:     network dev <netdev@...r.kernel.org>, linux-sctp@...r.kernel.org,
        davem@...emloft.net,
        Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
        Neil Horman <nhorman@...driver.com>, jere.leppanen@...ia.com,
        michael.tuexen@...chi.franken.de, lkp@...ts.01.org,
        ltp@...ts.linux.it
Subject: [sctp] 38ec705901: ltp.test_peeloff.fail

FYI, we noticed the following commit (built with gcc-7):

commit: 38ec705901e9fc1e1f67f02fdac7c640bafe6942 ("[PATCH net] sctp: return a one-to-one type socket when doing peeloff")
url: https://github.com/0day-ci/linux/commits/Xin-Long/sctp-return-a-one-to-one-type-socket-when-doing-peeloff/20200302-150850


in testcase: ltp
with following parameters:

	test: net.sctp

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>



<<<test_start>>>
tag=test_peeloff stime=1584027478
cmdline="test_peeloff"
contacts=""
analysis=exit
<<<test_output>>>
test_peeloff.c    1  TPASS  :  sctp_peeloff
test_peeloff.c    2  TPASS  :  listen on a peeled off socket
test_peeloff.c    3  TPASS  :  sctp_peeloff on a peeled off socket
test_peeloff.c    4  TPASS  :  Receive msgs on peeled off sockets
test_peeloff.c    5  TPASS  :  Send msgs on peeled off sockets
test_peeloff.c    6  TBROK  :  /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: sendmsg: error:-1 errno:99
test_peeloff.c    7  TBROK  :  /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=test_peeloff_v6 stime=1584027478
cmdline="test_peeloff_v6"
contacts=""
analysis=exit
<<<test_output>>>
test_peeloff.c    1  TPASS  :  sctp_peeloff
test_peeloff.c    2  TPASS  :  listen on a peeled off socket
test_peeloff.c    3  TPASS  :  sctp_peeloff on a peeled off socket
test_peeloff.c    4  TPASS  :  Receive msgs on peeled off sockets
test_peeloff.c    5  TPASS  :  Send msgs on peeled off sockets
test_peeloff.c    6  TBROK  :  /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: sendmsg: error:-1 errno:99
test_peeloff.c    7  TBROK  :  /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>



To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-rc3-00172-g38ec705901e9f .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.6.0-rc3-00172-g38ec705901e9f" of type "text/plain" (203561 bytes)

View attachment "job-script" of type "text/plain" (4816 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (18360 bytes)

View attachment "ltp" of type "text/plain" (50959 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ