Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   18.726522] ==================================================================
[   18.726588] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   18.726771] Read of size 1 at addr ffff9250def4f58d by task kunit_try_catch/245
[   18.726830] 
[   18.726869] CPU: 1 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.727125] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.727153] Hardware name: linux,dummy-virt (DT)
[   18.727187] Call trace:
[   18.727221]  show_stack+0x20/0x38 (C)
[   18.727274]  dump_stack_lvl+0x8c/0xd0
[   18.727323]  print_report+0x310/0x5d0
[   18.727379]  kasan_report+0xdc/0x128
[   18.727426]  __asan_report_load1_noabort+0x20/0x30
[   18.727490]  kasan_global_oob_right+0x230/0x270
[   18.727539]  kunit_try_run_case+0x170/0x3f0
[   18.727588]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.727754]  kthread+0x328/0x630
[   18.727839]  ret_from_fork+0x10/0x20
[   18.727912] 
[   18.728106] The buggy address belongs to the variable:
[   18.728137]  global_array+0xd/0x40
[   18.728193] 
[   18.728377] The buggy address ffff9250def4f58d belongs to a vmalloc virtual mapping
[   18.728552] The buggy address belongs to the physical page:
[   18.728646] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f
[   18.728745] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   18.729366] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000
[   18.729423] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.729475] page dumped because: kasan: bad access detected
[   18.729870] 
[   18.729892] Memory state around the buggy address:
[   18.729937]  ffff9250def4f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.729982]  ffff9250def4f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9
[   18.730026] >ffff9250def4f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
[   18.730065]                       ^
[   18.730128]  ffff9250def4f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[   18.730344]  ffff9250def4f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.730409] ==================================================================

[   18.894138] ==================================================================
[   18.894206] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270
[   18.894261] Read of size 1 at addr ffffae23a6b4f58d by task kunit_try_catch/245
[   18.894313] 
[   18.894349] CPU: 1 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.894432] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.894460] Hardware name: linux,dummy-virt (DT)
[   18.894501] Call trace:
[   18.894639]  show_stack+0x20/0x38 (C)
[   18.894699]  dump_stack_lvl+0x8c/0xd0
[   18.894755]  print_report+0x310/0x5d0
[   18.894993]  kasan_report+0xdc/0x128
[   18.895069]  __asan_report_load1_noabort+0x20/0x30
[   18.895123]  kasan_global_oob_right+0x230/0x270
[   18.895178]  kunit_try_run_case+0x170/0x3f0
[   18.895390]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.895529]  kthread+0x328/0x630
[   18.895653]  ret_from_fork+0x10/0x20
[   18.895711] 
[   18.895762] The buggy address belongs to the variable:
[   18.895792]  global_array+0xd/0x40
[   18.895838] 
[   18.895890] The buggy address ffffae23a6b4f58d belongs to a vmalloc virtual mapping
[   18.895978] The buggy address belongs to the physical page:
[   18.896013] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f
[   18.896066] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff)
[   18.896133] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000
[   18.896184] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.896225] page dumped because: kasan: bad access detected
[   18.896256] 
[   18.896273] Memory state around the buggy address:
[   18.896306]  ffffae23a6b4f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.896350]  ffffae23a6b4f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9
[   18.896461] >ffffae23a6b4f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
[   18.896503]                       ^
[   18.896531]  ffffae23a6b4f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9
[   18.896612]  ffffae23a6b4f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.896664] ==================================================================

[   14.488638] ==================================================================
[   14.489177] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0
[   14.489729] Read of size 1 at addr ffffffff97e63e8d by task kunit_try_catch/263
[   14.490015] 
[   14.490164] CPU: 1 UID: 0 PID: 263 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.490214] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.490226] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.490248] Call Trace:
[   14.490262]  <TASK>
[   14.490280]  dump_stack_lvl+0x73/0xb0
[   14.490316]  print_report+0xd1/0x610
[   14.490340]  ? __virt_addr_valid+0x1db/0x2d0
[   14.490365]  ? kasan_global_oob_right+0x286/0x2d0
[   14.490387]  ? kasan_addr_to_slab+0x11/0xa0
[   14.490422]  ? kasan_global_oob_right+0x286/0x2d0
[   14.490444]  kasan_report+0x141/0x180
[   14.490466]  ? kasan_global_oob_right+0x286/0x2d0
[   14.490494]  __asan_report_load1_noabort+0x18/0x20
[   14.490518]  kasan_global_oob_right+0x286/0x2d0
[   14.490540]  ? __pfx_kasan_global_oob_right+0x10/0x10
[   14.490565]  ? __schedule+0x10c6/0x2b60
[   14.490589]  ? __pfx_read_tsc+0x10/0x10
[   14.490623]  ? ktime_get_ts64+0x86/0x230
[   14.490651]  kunit_try_run_case+0x1a5/0x480
[   14.490677]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.490699]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.490724]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.490748]  ? __kthread_parkme+0x82/0x180
[   14.490770]  ? preempt_count_sub+0x50/0x80
[   14.490796]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.490820]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.490844]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.490868]  kthread+0x337/0x6f0
[   14.490888]  ? trace_preempt_on+0x20/0xc0
[   14.490912]  ? __pfx_kthread+0x10/0x10
[   14.490934]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.490955]  ? calculate_sigpending+0x7b/0xa0
[   14.490981]  ? __pfx_kthread+0x10/0x10
[   14.491003]  ret_from_fork+0x116/0x1d0
[   14.491022]  ? __pfx_kthread+0x10/0x10
[   14.491043]  ret_from_fork_asm+0x1a/0x30
[   14.491076]  </TASK>
[   14.491087] 
[   14.497989] The buggy address belongs to the variable:
[   14.498248]  global_array+0xd/0x40
[   14.498455] 
[   14.498575] The buggy address belongs to the physical page:
[   14.498807] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x23c63
[   14.499140] flags: 0x100000000002000(reserved|node=0|zone=1)
[   14.499383] raw: 0100000000002000 ffffea00008f18c8 ffffea00008f18c8 0000000000000000
[   14.499779] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   14.500089] page dumped because: kasan: bad access detected
[   14.500326] 
[   14.500409] Memory state around the buggy address:
[   14.500643]  ffffffff97e63d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.500910]  ffffffff97e63e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.501127] >ffffffff97e63e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   14.501403]                       ^
[   14.501576]  ffffffff97e63f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9
[   14.501893]  ffffffff97e63f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   14.502120] ==================================================================

[   14.569130] ==================================================================
[   14.569718] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0
[   14.570316] Read of size 1 at addr ffffffff87c63e8d by task kunit_try_catch/263
[   14.570634] 
[   14.570783] CPU: 1 UID: 0 PID: 263 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.570834] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.570847] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.570871] Call Trace:
[   14.570885]  <TASK>
[   14.570903]  dump_stack_lvl+0x73/0xb0
[   14.570936]  print_report+0xd1/0x610
[   14.570959]  ? __virt_addr_valid+0x1db/0x2d0
[   14.570985]  ? kasan_global_oob_right+0x286/0x2d0
[   14.571006]  ? kasan_addr_to_slab+0x11/0xa0
[   14.571027]  ? kasan_global_oob_right+0x286/0x2d0
[   14.571048]  kasan_report+0x141/0x180
[   14.571070]  ? kasan_global_oob_right+0x286/0x2d0
[   14.571096]  __asan_report_load1_noabort+0x18/0x20
[   14.571120]  kasan_global_oob_right+0x286/0x2d0
[   14.571142]  ? __pfx_kasan_global_oob_right+0x10/0x10
[   14.571183]  ? __pfx_kasan_global_oob_right+0x10/0x10
[   14.571209]  kunit_try_run_case+0x1a5/0x480
[   14.571236]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.571258]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.571283]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.571306]  ? __kthread_parkme+0x82/0x180
[   14.571393]  ? preempt_count_sub+0x50/0x80
[   14.571419]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.571445]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.571478]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.571500]  kthread+0x337/0x6f0
[   14.571521]  ? trace_preempt_on+0x20/0xc0
[   14.571545]  ? __pfx_kthread+0x10/0x10
[   14.571566]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.571587]  ? calculate_sigpending+0x7b/0xa0
[   14.571611]  ? __pfx_kthread+0x10/0x10
[   14.571632]  ret_from_fork+0x116/0x1d0
[   14.571651]  ? __pfx_kthread+0x10/0x10
[   14.571671]  ret_from_fork_asm+0x1a/0x30
[   14.571704]  </TASK>
[   14.571715] 
[   14.579012] The buggy address belongs to the variable:
[   14.579284]  global_array+0xd/0x40
[   14.579595] 
[   14.579714] The buggy address belongs to the physical page:
[   14.580206] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11a463
[   14.580718] flags: 0x200000000002000(reserved|node=0|zone=2)
[   14.581286] raw: 0200000000002000 ffffea00046918c8 ffffea00046918c8 0000000000000000
[   14.581587] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   14.581935] page dumped because: kasan: bad access detected
[   14.582205] 
[   14.582303] Memory state around the buggy address:
[   14.582508]  ffffffff87c63d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.582777]  ffffffff87c63e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.583174] >ffffffff87c63e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9
[   14.583478]                       ^
[   14.583686]  ffffffff87c63f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9
[   14.583905]  ffffffff87c63f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00
[   14.584123] ==================================================================