Hay
Date
July 11, 2025, 10:11 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   56.120463] ==================================================================
[   56.131245] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   56.138793] Read of size 1 at addr ffff800087b4d6cd by task kunit_try_catch/329
[   56.146084] 
[   56.147569] CPU: 4 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   56.147629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.147645] Hardware name: WinLink E850-96 board (DT)
[   56.147669] Call trace:
[   56.147687]  show_stack+0x20/0x38 (C)
[   56.147722]  dump_stack_lvl+0x8c/0xd0
[   56.147759]  print_report+0x310/0x5d0
[   56.147786]  kasan_report+0xdc/0x128
[   56.147814]  __asan_report_load1_noabort+0x20/0x30
[   56.147849]  kasan_global_oob_right+0x230/0x270
[   56.147879]  kunit_try_run_case+0x170/0x3f0
[   56.147919]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.147952]  kthread+0x328/0x630
[   56.147985]  ret_from_fork+0x10/0x20
[   56.148022] 
[   56.211968] The buggy address belongs to the variable:
[   56.217090]  global_array+0xd/0x40
[   56.220475] 
[   56.221950] The buggy address ffff800087b4d6cd belongs to a vmalloc virtual mapping
[   56.229594] The buggy address belongs to the physical page:
[   56.235150] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x87b4d
[   56.243048] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   56.250347] raw: 03fffe0000002000 fffffdffc01ed348 fffffdffc01ed348 0000000000000000
[   56.258068] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   56.265787] page dumped because: kasan: bad access detected
[   56.271342] 
[   56.272818] Memory state around the buggy address:
[   56.277600]  ffff800087b4d580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.284802]  ffff800087b4d600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.292007] >ffff800087b4d680: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9
[   56.299206]                                               ^
[   56.304766]  ffff800087b4d700: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   56.311971]  ffff800087b4d780: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   56.319172] ==================================================================

[   32.563951] ==================================================================
[   32.564062] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   32.564199] Read of size 1 at addr ffff93639574d6cd by task kunit_try_catch/276
[   32.564422] 
[   32.564661] CPU: 0 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   32.564761] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.564788] Hardware name: linux,dummy-virt (DT)
[   32.564869] Call trace:
[   32.564896]  show_stack+0x20/0x38 (C)
[   32.564981]  dump_stack_lvl+0x8c/0xd0
[   32.565253]  print_report+0x310/0x5d0
[   32.565335]  kasan_report+0xdc/0x128
[   32.566150]  __asan_report_load1_noabort+0x20/0x30
[   32.566253]  kasan_global_oob_right+0x230/0x270
[   32.566404]  kunit_try_run_case+0x170/0x3f0
[   32.566548]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.566606]  kthread+0x328/0x630
[   32.566653]  ret_from_fork+0x10/0x20
[   32.567148] 
[   32.567553] The buggy address belongs to the variable:
[   32.567731]  global_array+0xd/0x40
[   32.568238] 
[   32.568402] The buggy address ffff93639574d6cd belongs to a vmalloc virtual mapping
[   32.568619] The buggy address belongs to the physical page:
[   32.568865] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4d
[   32.569353] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   32.569544] raw: 03fffe0000002000 ffffc1ffc01f5348 ffffc1ffc01f5348 0000000000000000
[   32.569631] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   32.569729] page dumped because: kasan: bad access detected
[   32.569781] 
[   32.569830] Memory state around the buggy address:
[   32.569938]  ffff93639574d580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.570024]  ffff93639574d600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.570139] >ffff93639574d680: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9
[   32.570200]                                               ^
[   32.570240]  ffff93639574d700: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   32.570549]  ffff93639574d780: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   32.570610] ==================================================================

[   25.633198] ==================================================================
[   25.634012] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0
[   25.634296] Read of size 1 at addr ffffffffbd8baf4d by task kunit_try_catch/295
[   25.634810] 
[   25.634943] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   25.634998] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.635010] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.635034] Call Trace:
[   25.635048]  <TASK>
[   25.635066]  dump_stack_lvl+0x73/0xb0
[   25.635097]  print_report+0xd1/0x610
[   25.635119]  ? __virt_addr_valid+0x1db/0x2d0
[   25.635144]  ? kasan_global_oob_right+0x286/0x2d0
[   25.635170]  ? kasan_addr_to_slab+0x11/0xa0
[   25.635191]  ? kasan_global_oob_right+0x286/0x2d0
[   25.635216]  kasan_report+0x141/0x180
[   25.635238]  ? kasan_global_oob_right+0x286/0x2d0
[   25.635287]  __asan_report_load1_noabort+0x18/0x20
[   25.635312]  kasan_global_oob_right+0x286/0x2d0
[   25.635338]  ? __pfx_kasan_global_oob_right+0x10/0x10
[   25.635365]  ? __schedule+0x10cc/0x2b60
[   25.635390]  ? __pfx_read_tsc+0x10/0x10
[   25.635554]  ? ktime_get_ts64+0x86/0x230
[   25.635588]  kunit_try_run_case+0x1a5/0x480
[   25.635612]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.635634]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   25.635657]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   25.635681]  ? __kthread_parkme+0x82/0x180
[   25.635702]  ? preempt_count_sub+0x50/0x80
[   25.635726]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.635761]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.635787]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   25.635813]  kthread+0x337/0x6f0
[   25.635832]  ? trace_preempt_on+0x20/0xc0
[   25.635855]  ? __pfx_kthread+0x10/0x10
[   25.635876]  ? _raw_spin_unlock_irq+0x47/0x80
[   25.635897]  ? calculate_sigpending+0x7b/0xa0
[   25.635921]  ? __pfx_kthread+0x10/0x10
[   25.635943]  ret_from_fork+0x116/0x1d0
[   25.635962]  ? __pfx_kthread+0x10/0x10
[   25.635983]  ret_from_fork_asm+0x1a/0x30
[   25.636013]  </TASK>
[   25.636025] 
[   25.643004] The buggy address belongs to the variable:
[   25.643208]  global_array+0xd/0x40
[   25.643500] 
[   25.643717] The buggy address belongs to the physical page:
[   25.643998] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1302ba
[   25.644422] flags: 0x200000000002000(reserved|node=0|zone=2)
[   25.644680] raw: 0200000000002000 ffffea0004c0ae88 ffffea0004c0ae88 0000000000000000
[   25.644983] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   25.645221] page dumped because: kasan: bad access detected
[   25.645872] 
[   25.645991] Memory state around the buggy address:
[   25.646145]  ffffffffbd8bae00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.646355]  ffffffffbd8bae80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.646664] >ffffffffbd8baf00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9
[   25.647126]                                               ^
[   25.647552]  ffffffffbd8baf80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
[   25.647791]  ffffffffbd8bb000: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[   25.647999] ==================================================================