From: kernel test robot <yi1.lai@intel.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com, yi1.lai@intel.com
Subject: [frederic-dynticks:core/hotplug-v2] [hrtimer] 8e8c8a2259: RIP:kasan_check_range
Date: Mon, 30 Nov 2026 11:04:49 +0800 [thread overview]
Message-ID: <202611300303.271c7dae-lkp@intel.com> (raw)
Hello,
kernel test robot noticed "RIP:kasan_check_range" on:
commit: 8e8c8a2259ab1c777afc2106ffac3c61655b9886 ("hrtimer: Move CPUHP_AP_HRTIMERS_DYING post stop_machine()") https://git.kernel.org/cgit/linux/kernel/git/frederic/linux-dynticks.git core/hotplug-v2
in testcase: rcutorture
version:
with following parameters:
runtime: 300s
test: cpuhotplug
torture_type: rcu
config: x86_64-randconfig-2300-20261109
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu Broadwell-noTSX,enforce -smp 4 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yi1.lai@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202611300303.271c7dae-lkp@intel.com
[ 332.129242][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 332.129254][ C0] RIP: 0010:kasan_check_range+0xa4/0x180
[ 332.129285][ C0] Code: 03 49 c1 e9 03 48 29 d0 49 29 d1 48 89 c1 49 8d 71 01 48 89 f2 48 29 c2 48 83 fa 10 7f 13 48 39 ce 0f 84 b5 00 00 00 80 39 00 <75> 7f 48 ff c1 eb ed 89 c2 83 e2 07 74 24 b9 08 00 00 00 29 d1 48
[ 332.129295][ C0] RSP: 0018:ffff8883ae207db0 EFLAGS: 00000046
[ 332.129304][ C0] RAX: ffffed1075c7cce0 RBX: ffffffff83c4c916 RCX: ffffed1075c7cce0
[ 332.129311][ C0] RDX: 0000000000000001 RSI: ffffed1075c7cce1 RDI: ffff8883ae3e6700
[ 332.129316][ C0] RBP: ffff8883ae207dc0 R08: 0000000000000004 R09: ffffed1075c7cce0
[ 332.129321][ C0] R10: 0000000000000000 R11: ffff8883ae3e6703 R12: ffffed1075c7cce0
[ 332.129327][ C0] R13: 0000000000000003 R14: ffff8883ae3e6710 R15: 0000000000000000
[ 332.129333][ C0] FS: 0000000000000000(0000) GS:ffff888427c45000(0000) knlGS:0000000000000000
[ 332.129341][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 332.129346][ C0] CR2: 00007fbb37704000 CR3: 0000000125a10003 CR4: 00000000003706b0
[ 332.129356][ C0] Call Trace:
[ 332.129362][ C0] <IRQ>
[ 332.129389][ C0] __kasan_check_read+0x15/0x40
[ 332.129403][ C0] native_queued_spin_lock_slowpath+0xd6/0x780
[ 332.129415][ C0] ? __pv_queued_spin_lock_slowpath+0x940/0x940
[ 332.129432][ C0] do_raw_spin_lock+0x15f/0x200
[ 332.129444][ C0] ? __raw_spin_lock_init+0x140/0x140
[ 332.129455][ C0] ? _raw_spin_lock_irqsave+0x12/0x40
[ 332.129468][ C0] __raw_spin_lock_irqsave+0x70/0xc0
[ 332.129478][ C0] _raw_spin_lock_irqsave+0x12/0x40
[ 332.129486][ C0] hrtimer_run_queues+0x68/0x1c0
[ 332.129499][ C0] update_process_times+0x76/0x1c0
[ 332.129509][ C0] tick_periodic+0x1a4/0x1c0
[ 332.129520][ C0] tick_handle_periodic+0x7a/0x100
[ 332.129530][ C0] __sysvec_apic_timer_interrupt+0x220/0x380
[ 332.129544][ C0] sysvec_apic_timer_interrupt+0x84/0x100
[ 332.129553][ C0] </IRQ>
[ 332.129555][ C0] <TASK>
[ 332.129560][ C0] asm_sysvec_apic_timer_interrupt+0x1f/0x40
[ 332.129569][ C0] RIP: 0010:pv_native_safe_halt+0x17/0x40
[ 332.129578][ C0] Code: 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 05 96 94 b9 02 85 c0 7e 07 0f 00 2d 8b 9b 21 00 fb f4 <31> c0 c3 cc 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00
[ 332.129584][ C0] RSP: 0018:ffffffff84e07ce8 EFLAGS: 00000246
[ 332.129591][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 332.129596][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 332.129601][ C0] RBP: ffffffff84e07cf0 R08: 0000000000000000 R09: 0000000000000000
[ 332.129605][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 332.129610][ C0] R13: ffffffff84e1ce40 R14: 1ffffffff09c0fa4 R15: dffffc0000000000
[ 332.129628][ C0] ? default_idle+0xd/0x40
[ 332.129637][ C0] arch_cpu_idle+0xd/0x40
[ 332.129646][ C0] default_idle_call+0x78/0xc0
[ 332.129668][ C0] cpuidle_idle_call+0xb2/0x1c0
[ 332.129678][ C0] ? arch_cpu_idle_exit+0xc0/0xc0
[ 332.129707][ C0] do_idle+0xf8/0x140
[ 332.129715][ C0] cpu_startup_entry+0x5c/0x80
[ 332.129724][ C0] rest_init+0x252/0x280
[ 332.129733][ C0] ? __cpuidle_text_end+0x15/0x15
[ 332.129749][ C0] ? rest_init+0x280/0x280
[ 332.129761][ C0] ? acpi_enable_subsystem+0x57a/0x5c0
[ 332.129776][ C0] start_kernel+0x3ab/0x3c0
[ 332.129786][ C0] x86_64_start_reservations+0x28/0x40
[ 332.129797][ C0] x86_64_start_kernel+0x12e/0x140
[ 332.129809][ C0] common_startup_64+0x13e/0x168
[ 332.129827][ C0] </TASK>
[ 332.239818][ T26] smp: csd: Re-sending CSD lock (#1) IPI from CPU#02 to CPU#00
[ 332.241135][ T26] CPU: 2 UID: 0 PID: 26 Comm: migration/2 Tainted: G T 7.4.0-rc1+ #1 PREEMPT
[ 232.111536][ T26] numa_remove_cpu cpu 2 node 0: mask now 0-1,3
[ 332.241151][ T26] Tainted: [T]=RANDSTRUCT
[ 332.119871][ T26] smp: csd: Detected non-responsive CSD lock (#1) on CPU#2, waiting 100000000029 ns for CPU#00 rcu_torture_irq+0x0/0x140 [rcutorture](0x0).
[ 332.241154][ T26] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 332.123175][ T26] smp: csd: CSD lock (#1) unresponsive.
[ 332.241159][ T26] Stopper: multi_cpu_stop+0x0/0x300 <- __stop_cpus+0xb0/0x100
[ 332.128193][ T26] Sending NMI from CPU 2 to CPUs 0:
[ 332.241183][ T26] Call Trace:
[ 332.129177][ C0] NMI backtrace for cpu 0
[ 332.241189][ T26] <TASK>
[ 332.129221][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G T 7.4.0-rc1+ #1 PREEMPT
[ 332.241196][ T26] dump_stack_lvl+0x88/0x100
[ 332.129238][ C0] Tainted: [T]=RANDSTRUCT
[ 332.241213][ T26] dump_stack+0x14/0x40
[ 332.129242][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 332.241222][ T26] csd_lock_wait_toolong+0x81a/0x880
[ 332.129254][ C0] RIP: 0010:kasan_check_range+0xa4/0x180
[ 332.241251][ T26] __csd_lock_wait+0xa0/0x100
[ 332.129285][ C0] Code: 03 49 c1 e9 03 48 29 d0 49 29 d1 48 89 c1 49 8d 71 01 48 89 f2 48 29 c2 48 83 fa 10 7f 13 48 39 ce 0f 84 b5 00 00 00 80 39 00 <75> 7f 48 ff c1 eb ed 89 c2 83 e2 07 74 24 b9 08 00 00 00 29 d1 48
[ 332.241261][ T26] ? csd_lock_wait_toolong+0x880/0x880
[ 332.129295][ C0] RSP: 0018:ffff8883ae207db0 EFLAGS: 00000046
[ 332.241290][ T26] __smp_call_function_single+0x277/0x500
[ 332.129304][ C0] RAX: ffffed1075c7cce0 RBX: ffffffff83c4c916 RCX: ffffed1075c7cce0
[ 332.241300][ T26] ? __rb_rotate_set_parents+0x7e/0xc0
[ 332.129311][ C0] RDX: 0000000000000001 RSI: ffffed1075c7cce1 RDI: ffff8883ae3e6700
[ 332.241314][ T26] ? hrtimer_update_next_event+0x100/0x100
[ 332.129316][ C0] RBP: ffff8883ae207dc0 R08: 0000000000000004 R09: ffffed1075c7cce0
[ 332.241327][ T26] ? generic_exec_single+0x240/0x240
[ 332.129321][ C0] R10: 0000000000000000 R11: ffff8883ae3e6703 R12: ffffed1075c7cce0
[ 332.241360][ T26] smp_call_function_single+0x18/0x40
[ 332.129327][ C0] R13: 0000000000000003 R14: ffff8883ae3e6710 R15: 0000000000000000
[ 332.241370][ T26] hrtimers_cpu_dying+0x273/0x300
[ 332.129333][ C0] FS: 0000000000000000(0000) GS:ffff888427c45000(0000) knlGS:0000000000000000
[ 332.241389][ T26] ? hrtimers_cpu_starting+0x200/0x200
[ 332.129341][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 332.241403][ T26] cpuhp_invoke_callback+0x1c8/0x640
[ 332.129346][ C0] CR2: 00007fbb37704000 CR3: 0000000125a10003 CR4: 00000000003706b0
[ 332.241415][ T26] ? cpuhp_next_state+0xc1/0x100
[ 332.129356][ C0] Call Trace:
[ 332.241433][ T26] __cpuhp_invoke_callback_range+0x95/0x180
[ 332.129362][ C0] <IRQ>
[ 332.241447][ T26] ? cpuhp_invoke_callback+0x640/0x640
[ 332.129389][ C0] __kasan_check_read+0x15/0x40
[ 332.241458][ T26] ? paravirt_write_msr+0xb/0x40
[ 332.129403][ C0] native_queued_spin_lock_slowpath+0xd6/0x780
[ 332.241473][ T26] ? cpuhp_invoke_callback_range_nofail+0x40/0x40
[ 332.129415][ C0] ? __pv_queued_spin_lock_slowpath+0x940/0x940
[ 332.241482][ T26] cpuhp_invoke_callback_range_nofail+0x13/0x40
[ 332.129432][ C0] do_raw_spin_lock+0x15f/0x200
[ 332.241491][ T26] take_cpu_down_post+0xe2/0x100
[ 332.129444][ C0] ? __raw_spin_lock_init+0x140/0x140
[ 332.241503][ T26] multi_cpu_stop+0x21a/0x300
[ 332.129455][ C0] ? _raw_spin_lock_irqsave+0x12/0x40
[ 332.241522][ T26] ? stop_machine_yield+0x40/0x40
[ 332.129468][ C0] __raw_spin_lock_irqsave+0x70/0xc0
[ 332.241532][ T26] cpu_stopper_thread+0x247/0x340
[ 332.129478][ C0] _raw_spin_lock_irqsave+0x12/0x40
[ 332.241553][ T26] ? cpu_stop_create+0xc0/0xc0
[ 332.129486][ C0] hrtimer_run_queues+0x68/0x1c0
[ 332.241564][ T26] smpboot_thread_fn+0x862/0x8c0
[ 332.129499][ C0] update_process_times+0x76/0x1c0
[ 332.241583][ T26] ? sort_range+0x40/0x40
[ 332.129509][ C0] tick_periodic+0x1a4/0x1c0
[ 332.241591][ T26] kthread+0x36d/0x380
[ 332.129520][ C0] tick_handle_periodic+0x7a/0x100
[ 332.241604][ T26] ? kthread_affine_node+0x140/0x140
[ 332.129530][ C0] __sysvec_apic_timer_interrupt+0x220/0x380
[ 332.241619][ T26] ret_from_fork+0x73/0x700
[ 332.129544][ C0] sysvec_apic_timer_interrupt+0x84/0x100
[ 332.241633][ T26] ? exit_thread+0x80/0x80
[ 332.129553][ C0] </IRQ>
[ 332.241641][ T26] ? __switch_to+0x898/0x9c0
[ 332.129555][ C0] <TASK>
[ 332.241654][ T26] ? kthread_affine_node+0x140/0x140
[ 332.129560][ C0] asm_sysvec_apic_timer_interrupt+0x1f/0x40
[ 332.241670][ T26] ret_from_fork_asm+0x11/0x40
[ 332.129569][ C0] RIP: 0010:pv_native_safe_halt+0x17/0x40
[ 332.241705][ T26] </TASK>
[ 332.129578][ C0] Code: 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 05 96 94 b9 02 85 c0 7e 07 0f 00 2d 8b 9b 21 00 fb f4 <31> c0 c3 cc 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00
[ 332.129584][ C0] RSP: 0018:ffffffff84e07ce8 EFLAGS: 00000246
[ 332.129591][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 332.129596][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 332.129601][ C0] RBP: ffffffff84e07cf0 R08: 0000000000000000 R09: 0000000000000000
[ 332.129605][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 332.129610][ C0] R13: ffffffff84e1ce40 R14: 1ffffffff09c0fa4 R15: dffffc0000000000
[ 332.129628][ C0] ? default_idle+0xd/0x40
[ 332.129637][ C0] arch_cpu_idle+0xd/0x40
[ 332.129646][ C0] default_idle_call+0x78/0xc0
[ 332.129668][ C0] cpuidle_idle_call+0xb2/0x1c0
[ 332.129678][ C0] ? arch_cpu_idle_exit+0xc0/0xc0
[ 332.129707][ C0] do_idle+0xf8/0x140
[ 332.129715][ C0] cpu_startup_entry+0x5c/0x80
[ 332.129724][ C0] rest_init+0x252/0x280
[ 332.129733][ C0] ? __cpuidle_text_end+0x15/0x15
[ 332.129749][ C0] ? rest_init+0x280/0x280
[ 332.129761][ C0] ? acpi_enable_subsystem+0x57a/0x5c0
[ 332.129776][ C0] start_kernel+0x3ab/0x3c0
[ 332.129786][ C0] x86_64_start_reservations+0x28/0x40
[ 332.129797][ C0] x86_64_start_kernel+0x12e/0x140
[ 332.129809][ C0] common_startup_64+0x13e/0x168
[ 332.129827][ C0] </TASK>
[ 332.239818][ T26] smp: csd: Re-sending CSD lock (#1) IPI from CPU#02 to CPU#00
[ 332.241135][ T26] CPU: 2 UID: 0 PID: 26 Comm: migration/2 Tainted: G T 7.4.0-rc1+ #1 PREEMPT
[ 332.241151][ T26] Tainted: [T]=RANDSTRUCT
[ 332.241154][ T26] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 332.241159][ T26] Stopper: multi_cpu_stop+0x0/0x300 <- __stop_cpus+0xb0/0x100
[ 332.241183][ T26] Call Trace:
[ 332.241189][ T26] <TASK>
[ 332.241196][ T26] dump_stack_lvl+0x88/0x100
[ 332.241213][ T26] dump_stack+0x14/0x40
[ 332.241222][ T26] csd_lock_wait_toolong+0x81a/0x880
[ 332.241251][ T26] __csd_lock_wait+0xa0/0x100
[ 332.241261][ T26] ? csd_lock_wait_toolong+0x880/0x880
[ 332.241290][ T26] __smp_call_function_single+0x277/0x500
[ 332.241300][ T26] ? __rb_rotate_set_parents+0x7e/0xc0
[ 332.241314][ T26] ? hrtimer_update_next_event+0x100/0x100
[ 332.241327][ T26] ? generic_exec_single+0x240/0x240
[ 332.241360][ T26] smp_call_function_single+0x18/0x40
[ 332.241370][ T26] hrtimers_cpu_dying+0x273/0x300
[ 332.241389][ T26] ? hrtimers_cpu_starting+0x200/0x200
[ 332.241403][ T26] cpuhp_invoke_callback+0x1c8/0x640
[ 332.241415][ T26] ? cpuhp_next_state+0xc1/0x100
[ 332.241433][ T26] __cpuhp_invoke_callback_range+0x95/0x180
[ 332.241447][ T26] ? cpuhp_invoke_callback+0x640/0x640
[ 332.241458][ T26] ? paravirt_write_msr+0xb/0x40
[ 332.241473][ T26] ? cpuhp_invoke_callback_range_nofail+0x40/0x40
[ 332.241482][ T26] cpuhp_invoke_callback_range_nofail+0x13/0x40
[ 332.241491][ T26] take_cpu_down_post+0xe2/0x100
[ 332.241503][ T26] multi_cpu_stop+0x21a/0x300
[ 332.241522][ T26] ? stop_machine_yield+0x40/0x40
[ 332.241532][ T26] cpu_stopper_thread+0x247/0x340
[ 332.241553][ T26] ? cpu_stop_create+0xc0/0xc0
[ 332.241564][ T26] smpboot_thread_fn+0x862/0x8c0
[ 332.241583][ T26] ? sort_range+0x40/0x40
[ 332.241591][ T26] kthread+0x36d/0x380
[ 332.241604][ T26] ? kthread_affine_node+0x140/0x140
[ 332.241619][ T26] ret_from_fork+0x73/0x700
[ 332.241633][ T26] ? exit_thread+0x80/0x80
[ 332.241641][ T26] ? __switch_to+0x898/0x9c0
[ 332.241654][ T26] ? kthread_affine_node+0x140/0x140
[ 332.241670][ T26] ret_from_fork_asm+0x11/0x40
[ 332.241705][ T26] </TASK>
[ 532.119873][ T26] smp: csd: Continued non-responsive CSD lock (#1) on CPU#2, waiting 300000000097 ns for CPU#00 rcu_torture_irq+0x0/0x140 [rcutorture](0x0).
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20261130/202611300303.271c7dae-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-30 3:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202611300303.271c7dae-lkp@intel.com \
--to=yi1.lai@intel.com \
--cc=fweisbec@gmail.com \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.