Date
June 3, 2025, 7:38 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.568545] ================================================================== [ 20.568632] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 20.568704] Read of size 1 at addr ffff9fc3021b558d by task kunit_try_catch/245 [ 20.568755] [ 20.568801] CPU: 1 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250603 #1 PREEMPT [ 20.568894] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.568922] Hardware name: linux,dummy-virt (DT) [ 20.568957] Call trace: [ 20.573217] show_stack+0x20/0x38 (C) [ 20.573655] dump_stack_lvl+0x8c/0xd0 [ 20.574276] print_report+0x310/0x608 [ 20.574646] kasan_report+0xdc/0x128 [ 20.574713] __asan_report_load1_noabort+0x20/0x30 [ 20.575526] kasan_global_oob_right+0x230/0x270 [ 20.575609] kunit_try_run_case+0x170/0x3f0 [ 20.575659] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.576350] kthread+0x328/0x630 [ 20.577097] ret_from_fork+0x10/0x20 [ 20.577662] [ 20.578024] The buggy address belongs to the variable: [ 20.578327] global_array+0xd/0x40 [ 20.578390] [ 20.579689] The buggy address belongs to the virtual mapping at [ 20.579689] [ffff9fc300350000, ffff9fc302271000) created by: [ 20.579689] paging_init+0x66c/0x7d0 [ 20.580275] [ 20.580792] The buggy address belongs to the physical page: [ 20.581337] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47db5 [ 20.581416] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 20.581969] raw: 03fffe0000002000 ffffc1ffc01f6d48 ffffc1ffc01f6d48 0000000000000000 [ 20.582508] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.582834] page dumped because: kasan: bad access detected [ 20.583143] [ 20.583352] Memory state around the buggy address: [ 20.583800] ffff9fc3021b5480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.584070] ffff9fc3021b5500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 20.584475] >ffff9fc3021b5580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 20.584692] ^ [ 20.585144] ffff9fc3021b5600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 20.585540] ffff9fc3021b5680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.586124] ==================================================================
[ 16.674666] ================================================================== [ 16.675540] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 16.676052] Read of size 1 at addr ffffffff8f47ae4d by task kunit_try_catch/262 [ 16.676616] [ 16.676859] CPU: 1 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250603 #1 PREEMPT(voluntary) [ 16.676929] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.676947] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.676974] Call Trace: [ 16.676993] <TASK> [ 16.677020] dump_stack_lvl+0x73/0xb0 [ 16.677057] print_report+0xd1/0x650 [ 16.677093] ? __virt_addr_valid+0x1db/0x2d0 [ 16.677127] ? kasan_global_oob_right+0x286/0x2d0 [ 16.677152] ? kasan_addr_to_slab+0x11/0xa0 [ 16.677210] ? kasan_global_oob_right+0x286/0x2d0 [ 16.677250] kasan_report+0x141/0x180 [ 16.677277] ? kasan_global_oob_right+0x286/0x2d0 [ 16.677322] __asan_report_load1_noabort+0x18/0x20 [ 16.677347] kasan_global_oob_right+0x286/0x2d0 [ 16.677372] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 16.677401] ? __schedule+0x10cc/0x2b60 [ 16.677429] ? __pfx_read_tsc+0x10/0x10 [ 16.677466] ? ktime_get_ts64+0x86/0x230 [ 16.677499] kunit_try_run_case+0x1a5/0x480 [ 16.677525] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.677551] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 16.677579] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 16.677606] ? __kthread_parkme+0x82/0x180 [ 16.677643] ? preempt_count_sub+0x50/0x80 [ 16.677672] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.677710] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.677741] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 16.677770] kthread+0x337/0x6f0 [ 16.677791] ? trace_preempt_on+0x20/0xc0 [ 16.677819] ? __pfx_kthread+0x10/0x10 [ 16.677842] ? _raw_spin_unlock_irq+0x47/0x80 [ 16.677868] ? calculate_sigpending+0x7b/0xa0 [ 16.677897] ? __pfx_kthread+0x10/0x10 [ 16.677921] ret_from_fork+0x116/0x1d0 [ 16.677941] ? __pfx_kthread+0x10/0x10 [ 16.677964] ret_from_fork_asm+0x1a/0x30 [ 16.678001] </TASK> [ 16.678017] [ 16.685766] The buggy address belongs to the variable: [ 16.686007] global_array+0xd/0x40 [ 16.686137] [ 16.686355] The buggy address belongs to the physical page: [ 16.686748] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7947a [ 16.687041] flags: 0x100000000002000(reserved|node=0|zone=1) [ 16.687236] raw: 0100000000002000 ffffea0001e51e88 ffffea0001e51e88 0000000000000000 [ 16.687770] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 16.687998] page dumped because: kasan: bad access detected [ 16.688397] [ 16.688471] Memory state around the buggy address: [ 16.688598] ffffffff8f47ad00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.688757] ffffffff8f47ad80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.689189] >ffffffff8f47ae00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 16.689706] ^ [ 16.690099] ffffffff8f47ae80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 16.690301] ffffffff8f47af00: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 16.690467] ==================================================================