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

Environment
e850-96

[   39.485499] ==================================================================
[   39.494580] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   39.502045] Read of size 1 at addr ffff800089477b5f by task kunit_try_catch/296
[   39.509335] 
[   39.510820] CPU: 6 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   39.510880] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.510898] Hardware name: WinLink E850-96 board (DT)
[   39.510923] Call trace:
[   39.510938]  show_stack+0x20/0x38 (C)
[   39.510976]  dump_stack_lvl+0x8c/0xd0
[   39.511011]  print_report+0x310/0x608
[   39.511048]  kasan_report+0xdc/0x128
[   39.511080]  __asan_report_load1_noabort+0x20/0x30
[   39.511120]  kasan_alloca_oob_left+0x2b8/0x310
[   39.511153]  kunit_try_run_case+0x170/0x3f0
[   39.511188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.511227]  kthread+0x328/0x630
[   39.511264]  ret_from_fork+0x10/0x20
[   39.511300] 
[   39.575136] The buggy address belongs to stack of task kunit_try_catch/296
[   39.582013] 
[   39.583470] The buggy address belongs to the virtual mapping at
[   39.583470]  [ffff800089470000, ffff800089479000) created by:
[   39.583470]  kernel_clone+0x150/0x7a8
[   39.598742] 
[   39.600221] The buggy address belongs to the physical page:
[   39.605777] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x88698d
[   39.613762] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   39.620283] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   39.628002] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   39.635721] page dumped because: kasan: bad access detected
[   39.641276] 
[   39.642752] Memory state around the buggy address:
[   39.647535]  ffff800089477a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.654735]  ffff800089477a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.661939] >ffff800089477b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   39.669141]                                                     ^
[   39.675221]  ffff800089477b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   39.682425]  ffff800089477c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   39.689629] ==================================================================