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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <fdfd3906-7129-4c1e-de73-ebedad8d5890@intel.com>
Date:   Mon, 22 Aug 2022 17:56:31 +0800
From:   kernel test robot <yujie.liu@...el.com>
To:     Jens Axboe <axboe@...nel.dk>
CC:     <lkp@...ts.01.org>, kernel test robot <lkp@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        <linux-fsdevel@...r.kernel.org>,
        "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: [eventpoll] 50f6f89519:
 WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_fwd_prog_cr

Greeting,

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

commit: 50f6f89519d037a6f1b7cc0f97fe817db2e8806c ("eventpoll: add support for min-wait")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git io_uring-min_ts

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G

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


[   85.803123][   T47] ------------[ cut here ]------------
[   85.803548][   T47] WARNING: CPU: 0 PID: 47 at kernel/rcu/rcutorture.c:2556 rcu_torture_fwd_prog_cr+0x221/0x297
[   85.804313][   T47] Modules linked in: ppdev bochs drm_vram_helper drm_ttm_helper ttm drm_kms_helper drm parport_pc input_leds led_class intel_agp serio_raw drm_panel_orientation_quirks intel_gtt agpgart backlight
[   85.805716][   T47] CPU: 0 PID: 47 Comm: rcu_torture_fwd Not tainted 6.0.0-rc1-00076-g50f6f89519d0 #1 23f529eda81d8a8412c39ccc6fb3cc0714229110
[   85.806657][   T47] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-4 04/01/2014
[   85.807415][   T47] EIP: rcu_torture_fwd_prog_cr+0x221/0x297
[   85.807846][   T47] Code: d8 e8 8d c3 87 ff e8 fc 91 8e ff 83 c4 10 84 c0 75 75 a0 0e b4 93 c2 84 c0 75 6c e8 d3 f5 ff ff 84 c0 75 63 83 7d f0 63 7f 02 <0f> 0b 8b 55 ec a1 40 2d d0 c1 ff 75 e4 ff 75 e0 29 f0 01 fa 2b 73
[   85.809290][   T47] EAX: 00000000 EBX: c2e6d800 ECX: 00000000 EDX: 00000000
[   85.809811][   T47] ESI: ffffab2b EDI: 00001ee3 EBP: c45e9f68 ESP: c45e9f44
[   85.810329][   T47] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010293
[   85.810889][   T47] CR0: 80050033 CR2: b7ee7000 CR3: 2e346000 CR4: 000406f0
[   85.811409][   T47] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   85.811928][   T47] DR6: fffe0ff0 DR7: 00000400
[   85.812278][   T47] Call Trace:
[   85.812524][   T47]  rcu_torture_fwd_prog+0x110/0x199
[   85.812910][   T47]  ? rcu_torture_fwd_prog_cbfree+0x5f/0x5f
[   85.813339][   T47]  kthread+0xc8/0xcd
[   85.813633][   T47]  ? rcu_torture_fwd_prog_cbfree+0x5f/0x5f
[   85.814061][   T47]  ? kthread_complete_and_exit+0x16/0x16
[   85.814475][   T47]  ret_from_fork+0x1c/0x28
[   85.814810][   T47] irq event stamp: 64075
[   85.815122][   T47] hardirqs last  enabled at (64085): [<c109682a>] __up_console_sem+0x3e/0x42
[   85.815765][   T47] hardirqs last disabled at (64094): [<c109680d>] __up_console_sem+0x21/0x42
[   85.816457][   T47] softirqs last  enabled at (63940): [<c184fd19>] __do_softirq+0x321/0x351
[   85.817093][   T47] softirqs last disabled at (63923): [<c10158a2>] call_on_stack+0x40/0x46
[   85.817725][   T47] ---[ end trace 0000000000000000 ]---


=========================================================================================
tbox_group/testcase/rootfs/kconfig/compiler/sleep:
   vm-snb-i386/boot/quantal-i386-core-20190426.cgz/i386-randconfig-a004-20210930/gcc-11/300

commit:
   ac4857de9f496 ("eventpoll: move expires to epoll_wq")
   50f6f89519d03 ("eventpoll: add support for min-wait")

ac4857de9f496d3e 50f6f89519d037a6f1b7cc0f97f
---------------- ---------------------------
        fail:runs  %reproduction    fail:runs
            |             |             |
            :6          100%           6:6     dmesg.EIP:rcu_torture_fwd_prog_cr
            :6          100%           6:6     dmesg.WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_fwd_prog_cr
            :6          100%           6:6     dmesg.boot_failures


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


To reproduce:

         # build kernel
	cd linux
	cp config-6.0.0-rc1-00076-g50f6f89519d0 .config
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 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

         # if come across any failure that blocks the test,
         # please remove ~/.lkp and /lkp dir to run from a clean state.


-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-6.0.0-rc1-00076-g50f6f89519d0" of type "text/plain" (165023 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ