Date
June 5, 2025, 7:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.585636] ================================================================== [ 28.585769] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 28.585882] Read of size 1 at addr ffff9ca72a3b558d by task kunit_try_catch/245 [ 28.586003] [ 28.586078] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250605 #1 PREEMPT [ 28.586276] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.586385] Hardware name: linux,dummy-virt (DT) [ 28.586481] Call trace: [ 28.587089] show_stack+0x20/0x38 (C) [ 28.587533] dump_stack_lvl+0x8c/0xd0 [ 28.587706] print_report+0x310/0x608 [ 28.588023] kasan_report+0xdc/0x128 [ 28.588547] __asan_report_load1_noabort+0x20/0x30 [ 28.588807] kasan_global_oob_right+0x230/0x270 [ 28.588973] kunit_try_run_case+0x170/0x3f0 [ 28.589117] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.589268] kthread+0x328/0x630 [ 28.589417] ret_from_fork+0x10/0x20 [ 28.589947] [ 28.590083] The buggy address belongs to the variable: [ 28.590234] global_array+0xd/0x40 [ 28.590579] [ 28.590834] The buggy address belongs to the virtual mapping at [ 28.590834] [ffff9ca728550000, ffff9ca72a471000) created by: [ 28.590834] paging_init+0x66c/0x7d0 [ 28.591049] [ 28.591311] The buggy address belongs to the physical page: [ 28.591415] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47db5 [ 28.591542] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 28.591802] raw: 03fffe0000002000 ffffc1ffc01f6d48 ffffc1ffc01f6d48 0000000000000000 [ 28.592405] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.592614] page dumped because: kasan: bad access detected [ 28.592702] [ 28.592755] Memory state around the buggy address: [ 28.592844] ffff9ca72a3b5480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.592966] ffff9ca72a3b5500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 28.593079] >ffff9ca72a3b5580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 28.593179] ^ [ 28.593256] ffff9ca72a3b5600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 28.593588] ffff9ca72a3b5680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.593709] ==================================================================
[ 13.193913] ================================================================== [ 13.194720] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.195125] Read of size 1 at addr ffffffffbae78e4d by task kunit_try_catch/262 [ 13.195438] [ 13.195565] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250605 #1 PREEMPT(voluntary) [ 13.195608] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.195620] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.195640] Call Trace: [ 13.195653] <TASK> [ 13.195667] dump_stack_lvl+0x73/0xb0 [ 13.195694] print_report+0xd1/0x650 [ 13.195716] ? __virt_addr_valid+0x1db/0x2d0 [ 13.195740] ? kasan_global_oob_right+0x286/0x2d0 [ 13.195762] ? kasan_addr_to_slab+0x11/0xa0 [ 13.195783] ? kasan_global_oob_right+0x286/0x2d0 [ 13.195806] kasan_report+0x141/0x180 [ 13.195827] ? kasan_global_oob_right+0x286/0x2d0 [ 13.195854] __asan_report_load1_noabort+0x18/0x20 [ 13.195878] kasan_global_oob_right+0x286/0x2d0 [ 13.195914] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.195940] ? __schedule+0x10cc/0x2b60 [ 13.195964] ? __pfx_read_tsc+0x10/0x10 [ 13.195985] ? ktime_get_ts64+0x86/0x230 [ 13.196010] kunit_try_run_case+0x1a5/0x480 [ 13.196033] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.196052] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.196077] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.196101] ? __kthread_parkme+0x82/0x180 [ 13.196122] ? preempt_count_sub+0x50/0x80 [ 13.196145] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.196167] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.196192] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.196217] kthread+0x337/0x6f0 [ 13.196236] ? trace_preempt_on+0x20/0xc0 [ 13.196259] ? __pfx_kthread+0x10/0x10 [ 13.196279] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.196301] ? calculate_sigpending+0x7b/0xa0 [ 13.196325] ? __pfx_kthread+0x10/0x10 [ 13.196347] ret_from_fork+0x116/0x1d0 [ 13.196365] ? __pfx_kthread+0x10/0x10 [ 13.196386] ret_from_fork_asm+0x1a/0x30 [ 13.196416] </TASK> [ 13.196426] [ 13.204238] The buggy address belongs to the variable: [ 13.204494] global_array+0xd/0x40 [ 13.204751] [ 13.204846] The buggy address belongs to the physical page: [ 13.205255] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x149678 [ 13.205557] flags: 0x200000000002000(reserved|node=0|zone=2) [ 13.205750] raw: 0200000000002000 ffffea0005259e08 ffffea0005259e08 0000000000000000 [ 13.205997] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.206434] page dumped because: kasan: bad access detected [ 13.206685] [ 13.206780] Memory state around the buggy address: [ 13.207001] ffffffffbae78d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.207327] ffffffffbae78d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.207565] >ffffffffbae78e00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 13.207980] ^ [ 13.208188] ffffffffbae78e80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 13.208404] ffffffffbae78f00: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 13.208762] ==================================================================