[KASAN] DRM-Tip 5.14 stack-out-of-bounds in tick_sched_handle.isra.19
Recent DRM-Tip 5.14-rc7 KASAN run on CI had hit on BSW and RKL platforms.
Short log on RKL:
<3> [319.731364] ==================================================================
<3> [319.731434] BUG: KASAN: stack-out-of-bounds in tick_sched_handle.isra.19+0x10b/0x120
<3> [319.731466] Read of size 8 at addr ffffffff83c07ea0 by task swapper/0/0
<3> [319.731491]
<3> [319.731500] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G U 5.14.0-rc7-g329f62b04cd6-kasan_277+ #1
<3> [319.731536] Hardware name: ASUS System Product Name/TUF GAMING Z590-PLUS WIFI, BIOS 0811 04/06/2021
<3> [319.731568] Call Trace:
<3> [319.731579] <IRQ>
<3> [319.731590] dump_stack_lvl+0x56/0x7b
<3> [319.731609] print_address_description.constprop.10.cold.14+0xe/0x2e2
<3> [319.731637] ? tick_sched_handle.isra.19+0x10b/0x120
<3> [319.731659] ? tick_sched_handle.isra.19+0x10b/0x120
<3> [319.731681] ? tick_sched_do_timer+0xf0/0xf0
<3> [319.731700] kasan_report.cold.15+0x83/0xdf
<3> [319.731721] ? tick_sched_handle.isra.19+0x10b/0x120
<3> [319.731745] tick_sched_handle.isra.19+0x10b/0x120
<3> [319.731767] tick_sched_timer+0xac/0xd0
<3> [319.731785] __hrtimer_run_queues+0x48d/0xa20
<3> [319.731811] ? enqueue_hrtimer+0x2a0/0x2a0
<3> [319.731830] ? ktime_get_update_offsets_now+0xdb/0x2c0
<3> [319.731857] hrtimer_interrupt+0x2ec/0x790
<3> [319.731884] __sysvec_apic_timer_interrupt+0x141/0x4e0
<3> [319.731908] sysvec_apic_timer_interrupt+0x85/0xb0
<3> [319.731930] </IRQ>
<3> [319.731941] asm_sysvec_apic_timer_interrupt+0x12/0x20
<3> [319.731964] RIP: 0010:cpu_startup_entry+0x14/0x20
<3> [319.731985] Code: 0a 48 81 ff d0 13 ff 82 0f 92 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 53 89 fb e8 08 f6 ff ff 89 df e8 b1 2f f5 ff e8 4c f6 ff ff <eb> f9 cc cc cc cc cc cc cc cc cc cc 48 b8 00 00 00 00 00 fc ff df
<3> [319.732056] RSP: 0018:ffffffff83c07ec8 EFLAGS: 00000296
<3> [319.732080] RAX: 0000000000000000 RBX: 0000000000000093 RCX: ffffffff82fdde5a
<3> [319.732108] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff83c21500
<3> [319.732136] RBP: 1ffffffff0780fdb R08: fffffbfff07842a1 R09: fffffbfff07842a1
<3> [319.732165] R10: ffffffff83c21507 R11: fffffbfff07842a0 R12: 00000000003bb140
<3> [319.732193] R13: ffffffff83c21500 R14: 1ffffffff0780fd1 R15: 000000007505c460
<3> [319.732226] ? schedule_idle+0x5a/0x90
<3> [319.732247] ? cpu_startup_entry+0x14/0x20
<3> [319.732265] start_secondary+0x22e/0x2c0
<3> [319.732284] ? set_cpu_sibling_map+0x1340/0x1340
<3> [319.732312] ? cpu_startup_entry+0x14/0x20
<3> [319.732339] ? start_kernel+0x376/0x394
<3> [319.732361] secondary_startup_64_no_verify+0xb0/0xbb
<3> [319.732393]
<3> [319.732401] KASAN internal error: frame info validation failed; invalid marker: 16
<3> [319.732432]
<3> [319.732440] Memory state around the buggy address:
<3> [319.732461] ffffffff83c07d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<3> [319.732491] ffffffff83c07e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<3> [319.732521] >ffffffff83c07e80: 00 00 00 00 f1 01 f2 f2 f2 00 00 f1 f1 f1 f1 04
<3> [319.732551] ^
<3> [319.732569] ffffffff83c07f00: f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00
<3> [319.732599] ffffffff83c07f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<3> [319.732629] ==================================================================
Full logs on two platforms: