Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   56.043920] ==================================================================
[   56.054535] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   56.062084] Read of size 1 at addr ffff800087b5870d by task kunit_try_catch/326
[   56.069374] 
[   56.070858] CPU: 0 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   56.070914] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.070933] Hardware name: WinLink E850-96 board (DT)
[   56.070957] Call trace:
[   56.070972]  show_stack+0x20/0x38 (C)
[   56.071006]  dump_stack_lvl+0x8c/0xd0
[   56.071041]  print_report+0x310/0x5d0
[   56.071069]  kasan_report+0xdc/0x128
[   56.071096]  __asan_report_load1_noabort+0x20/0x30
[   56.071132]  kasan_global_oob_right+0x230/0x270
[   56.071164]  kunit_try_run_case+0x170/0x3f0
[   56.071198]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.071235]  kthread+0x328/0x630
[   56.071268]  ret_from_fork+0x10/0x20
[   56.071302] 
[   56.135260] The buggy address belongs to the variable:
[   56.140380]  global_array+0xd/0x40
[   56.143765] 
[   56.145241] The buggy address ffff800087b5870d belongs to a vmalloc virtual mapping
[   56.152883] The buggy address belongs to the physical page:
[   56.158441] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x87b58
[   56.166336] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   56.173639] raw: 03fffe0000002000 fffffdffc01ed608 fffffdffc01ed608 0000000000000000
[   56.181358] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   56.189080] page dumped because: kasan: bad access detected
[   56.194632] 
[   56.196108] Memory state around the buggy address:
[   56.200887]  ffff800087b58600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.208091]  ffff800087b58680: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9
[   56.215295] >ffff800087b58700: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
[   56.222496]                       ^
[   56.225972]  ffff800087b58780: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[   56.233179]  ffff800087b58800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.240378] ==================================================================

[   32.837839] ==================================================================
[   32.838133] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   32.838211] Read of size 1 at addr ffff95f54f55870d by task kunit_try_catch/277
[   32.838262] 
[   32.838321] CPU: 1 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   32.838481] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.838560] Hardware name: linux,dummy-virt (DT)
[   32.838839] Call trace:
[   32.839013]  show_stack+0x20/0x38 (C)
[   32.839171]  dump_stack_lvl+0x8c/0xd0
[   32.839279]  print_report+0x310/0x5d0
[   32.839416]  kasan_report+0xdc/0x128
[   32.839489]  __asan_report_load1_noabort+0x20/0x30
[   32.839670]  kasan_global_oob_right+0x230/0x270
[   32.839794]  kunit_try_run_case+0x170/0x3f0
[   32.839920]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.840018]  kthread+0x328/0x630
[   32.840166]  ret_from_fork+0x10/0x20
[   32.840298] 
[   32.840584] The buggy address belongs to the variable:
[   32.840624]  global_array+0xd/0x40
[   32.840703] 
[   32.841118] The buggy address ffff95f54f55870d belongs to a vmalloc virtual mapping
[   32.841388] The buggy address belongs to the physical page:
[   32.841506] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d58
[   32.841661] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   32.841855] raw: 03fffe0000002000 ffffc1ffc01f5608 ffffc1ffc01f5608 0000000000000000
[   32.841976] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   32.842159] page dumped because: kasan: bad access detected
[   32.842262] 
[   32.842323] Memory state around the buggy address:
[   32.842474]  ffff95f54f558600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.842560]  ffff95f54f558680: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9
[   32.842691] >ffff95f54f558700: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
[   32.842869]                       ^
[   32.842904]  ffff95f54f558780: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[   32.842956]  ffff95f54f558800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.843196] ==================================================================

[   25.845382] ==================================================================
[   25.847009] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0
[   25.847282] Read of size 1 at addr ffffffffbe0c2f8d by task kunit_try_catch/293
[   25.847508] 
[   25.848441] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   25.848507] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.848786] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.848824] Call Trace:
[   25.848880]  <TASK>
[   25.848903]  dump_stack_lvl+0x73/0xb0
[   25.848942]  print_report+0xd1/0x610
[   25.848971]  ? __virt_addr_valid+0x1db/0x2d0
[   25.849003]  ? kasan_global_oob_right+0x286/0x2d0
[   25.849030]  ? kasan_addr_to_slab+0x11/0xa0
[   25.849056]  ? kasan_global_oob_right+0x286/0x2d0
[   25.849083]  kasan_report+0x141/0x180
[   25.849110]  ? kasan_global_oob_right+0x286/0x2d0
[   25.849144]  __asan_report_load1_noabort+0x18/0x20
[   25.849173]  kasan_global_oob_right+0x286/0x2d0
[   25.849200]  ? __pfx_kasan_global_oob_right+0x10/0x10
[   25.849231]  ? __schedule+0x10cc/0x2b60
[   25.849259]  ? __pfx_read_tsc+0x10/0x10
[   25.849286]  ? ktime_get_ts64+0x86/0x230
[   25.849318]  kunit_try_run_case+0x1a5/0x480
[   25.849347]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.849375]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   25.849402]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   25.849430]  ? __kthread_parkme+0x82/0x180
[   25.849457]  ? preempt_count_sub+0x50/0x80
[   25.849488]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.849517]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.849788]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   25.849820]  kthread+0x337/0x6f0
[   25.849845]  ? trace_preempt_on+0x20/0xc0
[   25.849875]  ? __pfx_kthread+0x10/0x10
[   25.849901]  ? _raw_spin_unlock_irq+0x47/0x80
[   25.849932]  ? calculate_sigpending+0x7b/0xa0
[   25.849960]  ? __pfx_kthread+0x10/0x10
[   25.849987]  ret_from_fork+0x116/0x1d0
[   25.850011]  ? __pfx_kthread+0x10/0x10
[   25.850036]  ret_from_fork_asm+0x1a/0x30
[   25.850075]  </TASK>
[   25.850088] 
[   25.863736] The buggy address belongs to the variable:
[   25.863909]  global_array+0xd/0x40
[   25.864056] 
[   25.864144] The buggy address belongs to the physical page:
[   25.864315] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x122ac2
[   25.864598] flags: 0x200000000002000(reserved|node=0|zone=2)
[   25.865022] raw: 0200000000002000 ffffea00048ab088 ffffea00048ab088 0000000000000000
[   25.866077] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   25.866514] page dumped because: kasan: bad access detected
[   25.867235] 
[   25.867422] Memory state around the buggy address:
[   25.867918]  ffffffffbe0c2e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.868712]  ffffffffbe0c2f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.869203] >ffffffffbe0c2f80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   25.869557]                       ^
[   25.870171]  ffffffffbe0c3000: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9
[   25.870818]  ffffffffbe0c3080: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   25.871036] ==================================================================