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

Environment
e850-96

[   39.022769] ==================================================================
[   39.033391] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   39.040941] Read of size 1 at addr ffff800087b405cd by task kunit_try_catch/290
[   39.048232] 
[   39.049717] CPU: 7 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   39.049779] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.049799] Hardware name: WinLink E850-96 board (DT)
[   39.049824] Call trace:
[   39.049840]  show_stack+0x20/0x38 (C)
[   39.049879]  dump_stack_lvl+0x8c/0xd0
[   39.049913]  print_report+0x310/0x608
[   39.049946]  kasan_report+0xdc/0x128
[   39.049978]  __asan_report_load1_noabort+0x20/0x30
[   39.050016]  kasan_global_oob_right+0x230/0x270
[   39.050052]  kunit_try_run_case+0x170/0x3f0
[   39.050086]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.050124]  kthread+0x328/0x630
[   39.050160]  ret_from_fork+0x10/0x20
[   39.050194] 
[   39.114116] The buggy address belongs to the variable:
[   39.119235]  global_array+0xd/0x40
[   39.122621] 
[   39.124111] The buggy address belongs to the virtual mapping at
[   39.124111]  [ffff800085cf0000, ffff800087c01000) created by:
[   39.124111]  paging_init+0x66c/0x7d0
[   39.139287] 
[   39.140767] The buggy address belongs to the physical page:
[   39.146323] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x87b40
[   39.154220] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   39.161524] raw: 03fffe0000002000 fffffdffc01ed008 fffffdffc01ed008 0000000000000000
[   39.169242] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   39.176960] page dumped because: kasan: bad access detected
[   39.182516] 
[   39.183991] Memory state around the buggy address:
[   39.188775]  ffff800087b40480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.195974]  ffff800087b40500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.203181] >ffff800087b40580: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9
[   39.210380]                                               ^
[   39.215941]  ffff800087b40600: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   39.223144]  ffff800087b40680: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   39.230347] ==================================================================