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

Environment
e850-96

[   39.698461] ==================================================================
[   39.708207] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340
[   39.715757] Read of size 1 at addr ffff800089497b4a by task kunit_try_catch/298
[   39.723046] 
[   39.724532] CPU: 7 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   39.724591] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.724609] Hardware name: WinLink E850-96 board (DT)
[   39.724630] Call trace:
[   39.724645]  show_stack+0x20/0x38 (C)
[   39.724684]  dump_stack_lvl+0x8c/0xd0
[   39.724718]  print_report+0x310/0x608
[   39.724754]  kasan_report+0xdc/0x128
[   39.724786]  __asan_report_load1_noabort+0x20/0x30
[   39.724824]  kasan_alloca_oob_right+0x2dc/0x340
[   39.724854]  kunit_try_run_case+0x170/0x3f0
[   39.724888]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.724931]  kthread+0x328/0x630
[   39.724967]  ret_from_fork+0x10/0x20
[   39.725001] 
[   39.788935] The buggy address belongs to stack of task kunit_try_catch/298
[   39.795812] 
[   39.797268] The buggy address belongs to the virtual mapping at
[   39.797268]  [ffff800089490000, ffff800089499000) created by:
[   39.797268]  kernel_clone+0x150/0x7a8
[   39.812542] 
[   39.814022] The buggy address belongs to the physical page:
[   39.819577] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8869a2
[   39.827562] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   39.834084] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   39.841801] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   39.849520] page dumped because: kasan: bad access detected
[   39.855075] 
[   39.856551] Memory state around the buggy address:
[   39.861332]  ffff800089497a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.868534]  ffff800089497a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.875741] >ffff800089497b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   39.882939]                                               ^
[   39.888499]  ffff800089497b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   39.895704]  ffff800089497c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   39.902907] ==================================================================