Date
June 24, 2025, 11:37 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-x86_64 |
[ 49.367750] ================================================================== [ 49.380462] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 49.388141] Read of size 1 at addr ffffae1d640c668d by task kunit_try_catch/343 [ 49.395553] [ 49.397087] CPU: 3 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250624 #1 PREEMPT [ 49.397120] Tainted: [B]=BAD_PAGE, [N]=TEST [ 49.397130] Hardware name: Thundercomm Dragonboard 845c (DT) [ 49.397148] Call trace: [ 49.397156] show_stack+0x20/0x38 (C) [ 49.397176] dump_stack_lvl+0x8c/0xd0 [ 49.397198] print_report+0x310/0x608 [ 49.397219] kasan_report+0xdc/0x128 [ 49.397240] __asan_report_load1_noabort+0x20/0x30 [ 49.397259] kasan_global_oob_right+0x230/0x270 [ 49.397279] kunit_try_run_case+0x170/0x3f0 [ 49.397302] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 49.397326] kthread+0x328/0x630 [ 49.397345] ret_from_fork+0x10/0x20 [ 49.397366] [ 49.463436] The buggy address belongs to the variable: [ 49.468651] global_array+0xd/0x40 [ 49.472125] [ 49.473673] The buggy address belongs to the virtual mapping at [ 49.473673] [ffffae1d62260000, ffffae1d64181000) created by: [ 49.473673] paging_init+0x66c/0x7d0 [ 49.489068] [ 49.490604] The buggy address belongs to the physical page: [ 49.496260] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa7ac6 [ 49.504281] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 49.511696] raw: 03fffe0000002000 fffffdffc09eb188 fffffdffc09eb188 0000000000000000 [ 49.519545] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 49.527385] page dumped because: kasan: bad access detected [ 49.533032] [ 49.534562] Memory state around the buggy address: [ 49.539425] ffffae1d640c6580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.546739] ffffae1d640c6600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 49.554066] >ffffae1d640c6680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 49.561389] ^ [ 49.564934] ffffae1d640c6700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 49.572257] ffffae1d640c6780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.579572] ==================================================================
[ 31.415728] ================================================================== [ 31.416531] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 31.417091] Read of size 1 at addr ffffffffa1aa8ecd by task kunit_try_catch/275 [ 31.417650] [ 31.417905] CPU: 0 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250624 #1 PREEMPT(voluntary) [ 31.418029] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.418060] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 31.418108] Call Trace: [ 31.418137] <TASK> [ 31.418176] dump_stack_lvl+0x73/0xb0 [ 31.418287] print_report+0xd1/0x650 [ 31.418367] ? __virt_addr_valid+0x1db/0x2d0 [ 31.418434] ? kasan_global_oob_right+0x286/0x2d0 [ 31.418516] ? kasan_addr_to_slab+0x11/0xa0 [ 31.418595] ? kasan_global_oob_right+0x286/0x2d0 [ 31.418683] kasan_report+0x141/0x180 [ 31.418717] ? kasan_global_oob_right+0x286/0x2d0 [ 31.418753] __asan_report_load1_noabort+0x18/0x20 [ 31.418804] kasan_global_oob_right+0x286/0x2d0 [ 31.418844] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 31.418877] ? __schedule+0x10cc/0x2b60 [ 31.418913] ? __pfx_read_tsc+0x10/0x10 [ 31.418943] ? ktime_get_ts64+0x86/0x230 [ 31.418977] kunit_try_run_case+0x1a5/0x480 [ 31.419010] ? __pfx_kunit_try_run_case+0x10/0x10 [ 31.419041] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 31.419073] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 31.419104] ? __kthread_parkme+0x82/0x180 [ 31.419133] ? preempt_count_sub+0x50/0x80 [ 31.419164] ? __pfx_kunit_try_run_case+0x10/0x10 [ 31.419196] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.419228] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 31.419259] kthread+0x337/0x6f0 [ 31.419285] ? trace_preempt_on+0x20/0xc0 [ 31.419317] ? __pfx_kthread+0x10/0x10 [ 31.419344] ? _raw_spin_unlock_irq+0x47/0x80 [ 31.419374] ? calculate_sigpending+0x7b/0xa0 [ 31.419405] ? __pfx_kthread+0x10/0x10 [ 31.419433] ret_from_fork+0x116/0x1d0 [ 31.419458] ? __pfx_kthread+0x10/0x10 [ 31.419485] ret_from_fork_asm+0x1a/0x30 [ 31.419525] </TASK> [ 31.419558] [ 31.431757] The buggy address belongs to the variable: [ 31.432288] global_array+0xd/0x40 [ 31.432774] [ 31.433028] The buggy address belongs to the physical page: [ 31.433561] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2daa8 [ 31.434049] flags: 0x100000000002000(reserved|node=0|zone=1) [ 31.434432] raw: 0100000000002000 ffffea0000b6aa08 ffffea0000b6aa08 0000000000000000 [ 31.435160] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.435874] page dumped because: kasan: bad access detected [ 31.436364] [ 31.436582] Memory state around the buggy address: [ 31.437003] ffffffffa1aa8d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.437453] ffffffffa1aa8e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.438159] >ffffffffa1aa8e80: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 31.438722] ^ [ 31.439118] ffffffffa1aa8f00: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 31.439801] ffffffffa1aa8f80: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 31.440342] ==================================================================