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: <20220417091709.GA9433@xsang-OptiPlex-9020>
Date:   Sun, 17 Apr 2022 17:17:09 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     Ingo Molnar <mingo@...nel.org>, lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>, aubrey.li@...ux.intel.com,
        yu.c.chen@...el.com
Subject: [sched/fair]  106a077d11: divide_error:#[##]



Greeting,

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

commit: 106a077d11091d5be160d6fc035e11f31dd6ba22 ("sched/fair: Fold the sched_avg update")
https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git sched/wip

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):


+------------------------------------------+------------+------------+
|                                          | 6267ca8dcb | 106a077d11 |
+------------------------------------------+------------+------------+
| boot_failures                            | 0          | 56         |
| divide_error:#[##]                       | 0          | 56         |
| EIP:post_init_entity_util_avg            | 0          | 49         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 49         |
+------------------------------------------+------------+------------+


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



[   16.561460][  T434] divide error: 0000 [#1] SMP PTI
[   16.562135][  T434] CPU: 0 PID: 434 Comm: post-run Tainted: G            E     5.18.0-rc2-00012-g106a077d1109 #5
[   16.563307][  T434] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[   16.564349][  T434] EIP: post_init_entity_util_avg+0xc0/0x180
[   16.565023][  T434] Code: 89 93 04 01 00 00 8d 65 f4 5b 5e 5f 5d c3 8d 74 26 00 0f af 83 80 00 00 00 89 83 28 01 00 00 8b 96 a0 00 00 00 8d 7a
01 31 d2 <f7> f7 39 c8 0f 87 65 ff ff ff 89 83 28 01 00 00 89 c1 e9 5e ff ff
[   16.567260][  T434] EAX: 00000800 EBX: c3fe0000 ECX: 000001ff EDX: 00000000
[   16.568070][  T434] ESI: c3f95a00 EDI: 00000000 EBP: f5453ed0 ESP: f5453ec4
[   16.568875][  T434] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010046
[   16.569776][  T434] CR0: 80050033 CR2: b7f5b240 CR3: 35864000 CR4: 000406f0
[   16.570587][  T434] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   16.571357][  T434] DR6: fffe0ff0 DR7: 00000400
[   16.571863][  T434] Call Trace:
[   16.572244][  T434]  wake_up_new_task+0x122/0x300
[   16.572794][  T434]  kernel_clone+0xd3/0x400
[   16.573294][  T434]  __ia32_sys_clone+0x6c/0xc0
[   16.573838][  T434]  __do_fast_syscall_32+0x5b/0x100
[   16.574420][  T434]  do_fast_syscall_32+0x29/0x80
[   16.574974][  T434]  do_SYSENTER_32+0x15/0x40
[   16.575491][  T434]  entry_SYSENTER_32+0x98/0xf1
[   16.576034][  T434] EIP: 0xb7f60589
[   16.576452][  T434] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f
34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76
[   16.578671][  T434] EAX: ffffffda EBX: 01200011 ECX: 00000000 EDX: 00000000
[   16.579477][  T434] ESI: 00000000 EDI: b7f5b2e8 EBP: bfd9b698 ESP: bfd9b660
[   16.580278][  T434] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000246
[   16.581149][  T434] Modules linked in: intel_rapl_msr(E) intel_rapl_common(E) crc32_pclmul(E) crc32c_intel(E) ppdev(E) aesni_intel(E) ata_generic(E) bochs(E) drm_vram_helper(E) drm_ttm_helper(E) crypto_simd(E) ttm(E) cryptd(E) rapl(E) psmouse(E) evdev(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) ata_piix(E) fb_sys_fops(E) drm(E) serio_raw(E) libata(E) i2c_piix4(E) floppy(E) parport_pc(E) parport(E) qemu_fw_cfg(E) button(E) autofs4(E)
[   16.585732][  T434] ---[ end trace 0000000000000000 ]---
[   16.586357][  T434] EIP: post_init_entity_util_avg+0xc0/0x180
[   16.587030][  T434] Code: 89 93 04 01 00 00 8d 65 f4 5b 5e 5f 5d c3 8d 74 26 00 0f af 83 80 00 00 00 89 83 28 01 00 00 8b 96 a0 00 00 00 8d 7a 01 31 d2 <f7> f7 39 c8 0f 87 65 ff ff ff 89 83 28 01 00 00 89 c1 e9 5e ff ff
[   16.589239][  T434] EAX: 00000800 EBX: c3fe0000 ECX: 000001ff EDX: 00000000
[   16.590051][  T434] ESI: c3f95a00 EDI: 00000000 EBP: f5453ed0 ESP: f5453ec4
[   16.590853][  T434] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010046
[   16.591721][  T434] CR0: 80050033 CR2: b7f5b240 CR3: 35864000 CR4: 000406f0
[   16.592529][  T434] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   16.593332][  T434] DR6: fffe0ff0 DR7: 00000400
[   16.593873][  T434] Kernel panic - not syncing: Fatal exception
[   17.688595][  T434] Shutting down cpus with NMI
[   17.689336][  T434] Kernel Offset: disabled


To reproduce:

        # build kernel
	cd linux
	cp config-5.18.0-rc2-00012-g106a077d1109 .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-5.18.0-rc2-00012-g106a077d1109" of type "text/plain" (141802 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ