Date
July 23, 2025, 3:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.726320] ================================================================== [ 32.726410] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 32.726478] Read of size 1 at addr ffff91bcfe19068d by task kunit_try_catch/278 [ 32.726532] [ 32.726573] CPU: 1 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250723 #1 PREEMPT [ 32.726665] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 32.726698] Hardware name: linux,dummy-virt (DT) [ 32.726732] Call trace: [ 32.726757] show_stack+0x20/0x38 (C) [ 32.726854] dump_stack_lvl+0x8c/0xd0 [ 32.727048] print_report+0x310/0x5e8 [ 32.727110] kasan_report+0xdc/0x128 [ 32.727173] __asan_report_load1_noabort+0x20/0x30 [ 32.727226] kasan_global_oob_right+0x230/0x270 [ 32.727293] kunit_try_run_case+0x170/0x3f0 [ 32.727346] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.727418] kthread+0x328/0x630 [ 32.727465] ret_from_fork+0x10/0x20 [ 32.727535] [ 32.727683] The buggy address belongs to the variable: [ 32.727726] global_array+0xd/0x40 [ 32.727778] [ 32.727835] The buggy address belongs to a 0-page vmalloc region starting at 0xffff91bcfc2f0000 allocated at paging_init+0x66c/0x7d0 [ 32.728498] The buggy address belongs to the physical page: [ 32.728654] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d90 [ 32.728761] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 32.728872] raw: 03fffe0000002000 ffffc1ffc01f6408 ffffc1ffc01f6408 0000000000000000 [ 32.728977] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 32.729041] page dumped because: kasan: bad access detected [ 32.729075] [ 32.729095] Memory state around the buggy address: [ 32.729148] ffff91bcfe190580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.729194] ffff91bcfe190600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 32.729403] >ffff91bcfe190680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 32.729490] ^ [ 32.729597] ffff91bcfe190700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 32.729676] ffff91bcfe190780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.729762] ==================================================================
[ 27.053100] ================================================================== [ 27.054485] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 27.054827] Read of size 1 at addr ffffffff92acb00d by task kunit_try_catch/294 [ 27.055098] [ 27.055312] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) [ 27.055368] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.055381] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.055404] Call Trace: [ 27.055418] <TASK> [ 27.055437] dump_stack_lvl+0x73/0xb0 [ 27.055468] print_report+0xd1/0x640 [ 27.055492] ? __virt_addr_valid+0x1db/0x2d0 [ 27.055518] ? kasan_global_oob_right+0x286/0x2d0 [ 27.055540] ? kasan_addr_to_slab+0x11/0xa0 [ 27.055576] ? kasan_global_oob_right+0x286/0x2d0 [ 27.055599] kasan_report+0x141/0x180 [ 27.055628] ? kasan_global_oob_right+0x286/0x2d0 [ 27.055654] __asan_report_load1_noabort+0x18/0x20 [ 27.055679] kasan_global_oob_right+0x286/0x2d0 [ 27.055701] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 27.055722] ? __kasan_check_write+0x18/0x20 [ 27.055746] ? queued_spin_lock_slowpath+0x116/0xb40 [ 27.055774] ? __pfx_queued_spin_lock_slowpath+0x10/0x10 [ 27.055802] ? __pfx_read_tsc+0x10/0x10 [ 27.055825] ? ktime_get_ts64+0x86/0x230 [ 27.055851] kunit_try_run_case+0x1a5/0x480 [ 27.055877] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.055899] ? _raw_spin_lock_irqsave+0xf9/0x100 [ 27.055924] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.056001] ? __kthread_parkme+0x82/0x180 [ 27.056025] ? preempt_count_sub+0x50/0x80 [ 27.056050] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.056075] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.056098] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.056123] kthread+0x337/0x6f0 [ 27.056158] ? trace_preempt_on+0x20/0xc0 [ 27.056185] ? __pfx_kthread+0x10/0x10 [ 27.056206] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.056230] ? calculate_sigpending+0x7b/0xa0 [ 27.056255] ? __pfx_kthread+0x10/0x10 [ 27.056277] ret_from_fork+0x116/0x1d0 [ 27.056298] ? __pfx_kthread+0x10/0x10 [ 27.056319] ret_from_fork_asm+0x1a/0x30 [ 27.056352] </TASK> [ 27.056364] [ 27.069484] The buggy address belongs to the variable: [ 27.070023] global_array+0xd/0x40 [ 27.070196] [ 27.070284] The buggy address belongs to the physical page: [ 27.070465] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1f6cb [ 27.070705] flags: 0x100000000002000(reserved|node=0|zone=1) [ 27.070908] raw: 0100000000002000 ffffea00007db2c8 ffffea00007db2c8 0000000000000000 [ 27.071634] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 27.072402] page dumped because: kasan: bad access detected [ 27.072895] [ 27.073057] Memory state around the buggy address: [ 27.073666] ffffffff92acaf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.074350] ffffffff92acaf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.075080] >ffffffff92acb000: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 27.075756] ^ [ 27.076141] ffffffff92acb080: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 27.076501] ffffffff92acb100: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 27.077104] ==================================================================