Hay
Date
May 15, 2025, 10:38 a.m.

Environment
e850-96

[   39.242398] ==================================================================
[   39.256824] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270
[   39.263679] Read of size 1 at addr ffff800089457c2a by task kunit_try_catch/294
[   39.270969] 
[   39.272457] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   39.272522] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.272541] Hardware name: WinLink E850-96 board (DT)
[   39.272565] Call trace:
[   39.272580]  show_stack+0x20/0x38 (C)
[   39.272620]  dump_stack_lvl+0x8c/0xd0
[   39.272657]  print_report+0x310/0x608
[   39.272691]  kasan_report+0xdc/0x128
[   39.272723]  __asan_report_load1_noabort+0x20/0x30
[   39.272762]  kasan_stack_oob+0x238/0x270
[   39.272799]  kunit_try_run_case+0x170/0x3f0
[   39.272831]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.272868]  kthread+0x328/0x630
[   39.272903]  ret_from_fork+0x10/0x20
[   39.272939] 
[   39.336252] The buggy address belongs to stack of task kunit_try_catch/294
[   39.343105]  and is located at offset 138 in frame:
[   39.347965]  kasan_stack_oob+0x0/0x270
[   39.351703] 
[   39.353173] This frame has 4 objects:
[   39.356823]  [48, 49) '__assertion'
[   39.356846]  [64, 72) 'array'
[   39.360293]  [96, 112) '__assertion'
[   39.363246]  [128, 138) 'stack_array'
[   39.366801] 
[   39.371928] The buggy address belongs to the virtual mapping at
[   39.371928]  [ffff800089450000, ffff800089459000) created by:
[   39.371928]  kernel_clone+0x150/0x7a8
[   39.387200] 
[   39.388681] The buggy address belongs to the physical page:
[   39.394235] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x886979
[   39.402221] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   39.408743] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   39.416460] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   39.424179] page dumped because: kasan: bad access detected
[   39.429734] 
[   39.431210] Memory state around the buggy address:
[   39.435992]  ffff800089457b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.443193]  ffff800089457b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2
[   39.450399] >ffff800089457c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00
[   39.457599]                                   ^
[   39.462116]  ffff800089457c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2
[   39.469321]  ffff800089457d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   39.476524] ==================================================================