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>] [day] [month] [year] [list]
Date:   Tue, 25 Apr 2023 10:48:29 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Tejun Heo <tj@...nel.org>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        Christoph Hellwig <hch@...radead.org>,
        <linux-kernel@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [tj-wq:ordered-cleanup] [workqueue]  [confidence: ] 05085e5ea6:
 WARNING:at_kernel/workqueue.c:#apply_workqueue_attrs_locked



Hello,

kernel test robot noticed "WARNING:at_kernel/workqueue.c:#apply_workqueue_attrs_locked" on:

commit: 05085e5ea6ef2eedf3dde3c0207295e39015dbe6 ("workqueue: Don't implicitly make UNBOUND workqueues w/ @max_active==1 ordered")
https://git.kernel.org/cgit/linux/kernel/git/tj/wq.git ordered-cleanup

in testcase: boot

compiler: gcc-11
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Link: https://lore.kernel.org/oe-lkp/202304251050.45a5df1f-oliver.sang@intel.com


[    0.799399][    T1] ------------[ cut here ]------------
[ 0.800396][ T1] WARNING: CPU: 0 PID: 1 at kernel/workqueue.c:4183 apply_workqueue_attrs_locked (workqueue.c:?) 
[    0.802142][    T1] Modules linked in:
[    0.802868][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7-00161-g05085e5ea6ef #2
[    0.804426][    T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-5 04/01/2014
[ 0.806237][ T1] RIP: 0010:apply_workqueue_attrs_locked (workqueue.c:?) 
[ 0.806946][ T1] Code: 83 c4 18 4c 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 00 8b 87 00 01 00 00 a8 02 75 04 0f 0b eb 08 0f ba e0 11 73 08 <0f> 0b b8 ea ff ff ff c3 55 48 c7 c2 20 5d ee 82 e8 45 fe ff ff 48
All code
========
   0:	83 c4 18             	add    $0x18,%esp
   3:	4c 89 e0             	mov    %r12,%rax
   6:	5b                   	pop    %rbx
   7:	5d                   	pop    %rbp
   8:	41 5c                	pop    %r12
   a:	41 5d                	pop    %r13
   c:	41 5e                	pop    %r14
   e:	41 5f                	pop    %r15
  10:	c3                   	retq   
  11:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  16:	8b 87 00 01 00 00    	mov    0x100(%rdi),%eax
  1c:	a8 02                	test   $0x2,%al
  1e:	75 04                	jne    0x24
  20:	0f 0b                	ud2    
  22:	eb 08                	jmp    0x2c
  24:	0f ba e0 11          	bt     $0x11,%eax
  28:	73 08                	jae    0x32
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	b8 ea ff ff ff       	mov    $0xffffffea,%eax
  31:	c3                   	retq   
  32:	55                   	push   %rbp
  33:	48 c7 c2 20 5d ee 82 	mov    $0xffffffff82ee5d20,%rdx
  3a:	e8 45 fe ff ff       	callq  0xfffffffffffffe84
  3f:	48                   	rex.W

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	b8 ea ff ff ff       	mov    $0xffffffea,%eax
   7:	c3                   	retq   
   8:	55                   	push   %rbp
   9:	48 c7 c2 20 5d ee 82 	mov    $0xffffffff82ee5d20,%rdx
  10:	e8 45 fe ff ff       	callq  0xfffffffffffffe5a
  15:	48                   	rex.W
[    0.810590][    T1] RSP: 0000:ffffc90000013e80 EFLAGS: 00010203
[    0.811801][    T1] RAX: 0000000000020002 RBX: 0000000000000000 RCX: 00000000fffffffe
[    0.813395][    T1] RDX: ffff88810cac0000 RSI: ffff88810c87f1e0 RDI: ffff88810cb23c00
[    0.814590][    T1] RBP: ffffc90000013f20 R08: ffffffff8223b9a9 R09: 000000000000011b
[    0.816155][    T1] R10: 0000000000000001 R11: 0000000000000000 R12: ffff88810cb23c00
[    0.817757][    T1] R13: ffff88810cb23c20 R14: ffff88810cb23c10 R15: ffff88810cb23cb0
[    0.819127][    T1] FS:  0000000000000000(0000) GS:ffff88842fc00000(0000) knlGS:0000000000000000
[    0.820963][    T1] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.822262][    T1] CR2: ffff88843ffff000 CR3: 0000000002432000 CR4: 00000000000406f0
[    0.823137][    T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.824907][    T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.826596][    T1] Call Trace:
[    0.827446][    T1]  <TASK>
[ 0.828162][ T1] apply_workqueue_attrs (??:?) 
[ 0.829275][ T1] alloc_workqueue (??:?) 
[ 0.830321][ T1] ? __cpuhp_setup_state_cpuslocked (??:?) 
[ 0.830974][ T1] ? pfn_to_online_page (??:?) 
[ 0.832001][ T1] ? __cond_resched (??:?) 
[ 0.832968][ T1] cpuset_init_smp (??:?) 
[ 0.833938][ T1] kernel_init_freeable (main.c:?) 
[ 0.834943][ T1] ? rest_init (main.c:?) 
[ 0.835891][ T1] kernel_init (main.c:?) 
[ 0.836823][ T1] ret_from_fork (??:?) 
[    0.837741][    T1]  </TASK>
[    0.838422][    T1] ---[ end trace 0000000000000000 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-6.3.0-rc7-00161-g05085e5ea6ef .config
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-11 CC=gcc-11 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

        # 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://github.com/intel/lkp-tests



View attachment "config-6.3.0-rc7-00161-g05085e5ea6ef" of type "text/plain" (130039 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ