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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 29 Dec 2020 16:39:49 +0800 From: kernel test robot <oliver.sang@...el.com> To: chenshiyan <chenshiyan@...ux.alibaba.com> Cc: 0day robot <lkp@...el.com>, Shiyan Chen <chenshiyan@...ux.alibaba.com>, LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org, fweisbec@...il.com, tglx@...utronix.de, mingo@...nel.org Subject: [nohz] 7dbadb2bd2: WARNING:at_kernel/time/tick-sched.c:#tick_nohz_idle_exit Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 7dbadb2bd2ebca693ab8fdcf80b032bb3e06ad2b ("[PATCH V1] nohz: exit nohz idle before invoking softirq") url: https://github.com/0day-ci/linux/commits/chenshiyan/nohz-exit-nohz-idle-before-invoking-softirq/20201228-115305 base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 5c8fe583cce542aa0b84adc939ce85293de36e5e in testcase: rcuscale version: with following parameters: runtime: 300s scale_type: srcu 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): +------------------------------------------------------------------+-----------+------------+ | | v5.11-rc1 | 7dbadb2bd2 | +------------------------------------------------------------------+-----------+------------+ | boot_successes | 62 | 0 | | WARNING:at_kernel/time/tick-sched.c:#tick_nohz_idle_exit | 0 | 4 | | RIP:tick_nohz_idle_exit | 0 | 4 | | RIP:_raw_spin_unlock_irq | 0 | 3 | | WARNING:at_kernel/locking/lockdep.c:#lockdep_hardirqs_on_prepare | 0 | 4 | | RIP:lockdep_hardirqs_on_prepare | 0 | 4 | | kernel_BUG_at_kernel/sched/core.c | 0 | 4 | | invalid_opcode:#[##] | 0 | 4 | | RIP:preempt_schedule_irq | 0 | 4 | | RIP:vprintk_emit | 0 | 2 | | RIP:d_revalidate | 0 | 1 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 4 | | RIP:free_unref_page_list | 0 | 1 | | RIP:__orc_find | 0 | 1 | | RIP:__init_waitqueue_head | 0 | 1 | | RIP:__unwind_start | 0 | 1 | | RIP:unwind_next_frame | 0 | 1 | | RIP:__call_rcu | 0 | 1 | +------------------------------------------------------------------+-----------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot <oliver.sang@...el.com> [ 2.985918] WARNING: CPU: 0 PID: 1 at kernel/time/tick-sched.c:1237 tick_nohz_idle_exit+0x6c/0x17a [ 2.985918] Modules linked in: [ 2.985918] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.11.0-rc1-g7dbadb2bd2eb #1 [ 2.985918] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2.985918] RIP: 0010:tick_nohz_idle_exit+0x6c/0x17a [ 2.985918] Code: e0 2a 48 c1 ea 03 8a 04 02 4c 89 e2 83 e2 07 38 d0 7f 0c 84 c0 74 08 4c 89 e7 e8 5a d5 19 00 f6 45 4c 01 75 07 e8 b0 30 04 00 <0f> 0b e8 a9 30 04 00 48 8d bd b0 00 00 00 b8 ff ff 37 00 48 89 fa [ 2.985918] RSP: 0000:ffffc9000001fb70 EFLAGS: 00010093 [ 2.985918] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 2.985918] RDX: ffff8881001b0000 RSI: ffffffff984354a9 RDI: ffff8881f1ff3420 [ 2.985918] RBP: ffff8881f1fe6ee0 R08: 0000000000000000 R09: 0000000000000001 [ 2.985918] R10: fffffbfff367b7c7 R11: ffffffff9b3dbe37 R12: ffff8881f1fe6f2c [ 2.985918] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 2.985918] FS: 0000000000000000(0000) GS:ffff8881f1e00000(0000) knlGS:0000000000000000 [ 2.985918] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.985918] CR2: ffff88823ffff000 CR3: 0000000204216000 CR4: 00000000000406b0 [ 2.985918] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.985918] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.985918] Call Trace: [ 2.985918] __irq_exit_rcu+0x72/0xde [ 2.985918] irq_exit_rcu+0x5/0xd [ 2.985918] sysvec_apic_timer_interrupt+0xa0/0xae [ 2.985918] asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 2.985918] RIP: 0010:_raw_spin_unlock_irq+0x27/0x30 [ 2.985918] Code: b0 8b fe 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 e8 b3 96 fe 48 89 ef e8 2c 48 97 fe e8 b1 8b a7 fe fb 65 ff 0d 31 ac 5e 66 <75> 05 e8 e1 eb 7c fe 5d c3 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 [ 2.985918] RSP: 0000:ffffc9000001fc70 EFLAGS: 00000286 [ 2.985918] RAX: 000000000000041d RBX: ffff8881001b0000 RCX: ffffffff98395155 [ 2.985918] RDX: ffffffff98395155 RSI: 0000000000000008 RDI: ffffffff99a34307 [ 2.985918] RBP: ffff8881002a7228 R08: fffffbfff386608f R09: 0000000000000001 [ 2.985918] R10: fffffbfff386608f R11: ffffffff9c330477 R12: 7fffffffffffffff [ 2.985918] R13: ffff8881002a7228 R14: ffffc9000001fcd8 R15: ffff8881001b2540 [ 2.985918] ? test_bit+0x23/0x2e [ 2.985918] ? _raw_spin_unlock_irq+0x1f/0x30 [ 2.985918] __wait_for_common+0x2d0/0x2ff [ 2.985918] ? usleep_range+0x11b/0x11b [ 2.985918] ? try_to_wake_up+0x476/0x807 [ 2.985918] ? bit_wait_io_timeout+0x8a/0x8a [ 2.985918] ? __kthread_bind_mask+0x8e/0x99 [ 2.985918] kthread_park+0xb8/0xe1 [ 2.985918] __smpboot_create_thread+0x197/0x2ef [ 2.985918] smpboot_create_threads+0x54/0xa0 [ 2.985918] ? idle_thread_get+0x8c/0x8c [ 2.985918] cpuhp_invoke_callback+0x247/0x763 [ 2.985918] _cpu_up+0x22c/0x360 [ 2.985918] cpu_up+0x8d/0xa8 [ 2.985918] bringup_nonboot_cpus+0xa3/0xa5 [ 2.985918] smp_init+0x29/0xef [ 2.985918] kernel_init_freeable+0x1b3/0x3f0 [ 2.985918] ? rest_init+0x185/0x185 [ 2.985918] kernel_init+0xd/0x160 [ 2.985918] ret_from_fork+0x22/0x30 [ 2.985918] irq event stamp: 1054 [ 2.985918] hardirqs last enabled at (1053): [<ffffffff99a34307>] _raw_spin_unlock_irq+0x1f/0x30 [ 2.985918] hardirqs last disabled at (1054): [<ffffffff99a1d020>] sysvec_apic_timer_interrupt+0xb/0xae [ 2.985918] softirqs last enabled at (878): [<ffffffff9824a24b>] fpu__copy+0x12b/0x386 [ 2.985918] softirqs last disabled at (876): [<ffffffff9824a199>] fpu__copy+0x79/0x386 [ 2.985918] random: get_random_bytes called from init_oops_id+0x28/0x42 with crng_init=0 [ 2.985918] ---[ end trace 162d069718170ff7 ]--- To reproduce: # build kernel cd linux cp config-5.11.0-rc1-g7dbadb2bd2eb .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email Thanks, Oliver Sang View attachment "config-5.11.0-rc1-g7dbadb2bd2eb" of type "text/plain" (148314 bytes) View attachment "job-script" of type "text/plain" (4256 bytes) Download attachment "dmesg.xz" of type "application/x-xz" (16552 bytes)
Powered by blists - more mailing lists