Date
June 20, 2025, 12:38 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.899201] ================================================================== [ 34.899437] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 34.899662] Read of size 1 at addr ffff94c64644f68d by task kunit_try_catch/256 [ 34.899810] [ 34.899920] CPU: 1 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250620 #1 PREEMPT [ 34.900156] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.900238] Hardware name: linux,dummy-virt (DT) [ 34.900329] Call trace: [ 34.900394] show_stack+0x20/0x38 (C) [ 34.900528] dump_stack_lvl+0x8c/0xd0 [ 34.900652] print_report+0x310/0x608 [ 34.900780] kasan_report+0xdc/0x128 [ 34.900895] __asan_report_load1_noabort+0x20/0x30 [ 34.901026] kasan_global_oob_right+0x230/0x270 [ 34.901153] kunit_try_run_case+0x170/0x3f0 [ 34.901315] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.901477] kthread+0x328/0x630 [ 34.901604] ret_from_fork+0x10/0x20 [ 34.901764] [ 34.901899] The buggy address belongs to the variable: [ 34.902005] global_array+0xd/0x40 [ 34.902126] [ 34.902393] The buggy address belongs to the virtual mapping at [ 34.902393] [ffff94c644610000, ffff94c646501000) created by: [ 34.902393] paging_init+0x66c/0x7d0 [ 34.902641] [ 34.902936] The buggy address belongs to the physical page: [ 34.902994] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47c4f [ 34.903067] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 34.903165] raw: 03fffe0000002000 ffffc1ffc01f13c8 ffffc1ffc01f13c8 0000000000000000 [ 34.903225] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.903276] page dumped because: kasan: bad access detected [ 34.903312] [ 34.903332] Memory state around the buggy address: [ 34.903374] ffff94c64644f580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.903445] ffff94c64644f600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 34.903509] >ffff94c64644f680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 34.903554] ^ [ 34.903591] ffff94c64644f700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 34.903670] ffff94c64644f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.903719] ==================================================================
[ 27.652131] ================================================================== [ 27.652850] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 27.653704] Read of size 1 at addr ffffffffb5c79ecd by task kunit_try_catch/274 [ 27.654148] [ 27.654422] CPU: 1 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) [ 27.654550] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.654579] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.654624] Call Trace: [ 27.654653] <TASK> [ 27.654688] dump_stack_lvl+0x73/0xb0 [ 27.654750] print_report+0xd1/0x650 [ 27.654795] ? __virt_addr_valid+0x1db/0x2d0 [ 27.654835] ? kasan_global_oob_right+0x286/0x2d0 [ 27.654869] ? kasan_addr_to_slab+0x11/0xa0 [ 27.654904] ? kasan_global_oob_right+0x286/0x2d0 [ 27.654941] kasan_report+0x141/0x180 [ 27.654981] ? kasan_global_oob_right+0x286/0x2d0 [ 27.655036] __asan_report_load1_noabort+0x18/0x20 [ 27.655084] kasan_global_oob_right+0x286/0x2d0 [ 27.655132] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 27.655180] ? __schedule+0x10cc/0x2b60 [ 27.655225] ? __pfx_read_tsc+0x10/0x10 [ 27.655265] ? ktime_get_ts64+0x86/0x230 [ 27.655309] kunit_try_run_case+0x1a5/0x480 [ 27.655338] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.655361] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.655385] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.655409] ? __kthread_parkme+0x82/0x180 [ 27.655432] ? preempt_count_sub+0x50/0x80 [ 27.655532] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.655597] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.655648] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.655699] kthread+0x337/0x6f0 [ 27.655745] ? trace_preempt_on+0x20/0xc0 [ 27.655785] ? __pfx_kthread+0x10/0x10 [ 27.655825] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.655875] ? calculate_sigpending+0x7b/0xa0 [ 27.655929] ? __pfx_kthread+0x10/0x10 [ 27.655977] ret_from_fork+0x116/0x1d0 [ 27.656023] ? __pfx_kthread+0x10/0x10 [ 27.656069] ret_from_fork_asm+0x1a/0x30 [ 27.656178] </TASK> [ 27.656206] [ 27.666255] The buggy address belongs to the variable: [ 27.666508] global_array+0xd/0x40 [ 27.666739] [ 27.666876] The buggy address belongs to the physical page: [ 27.667095] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x122a79 [ 27.667779] flags: 0x200000000002000(reserved|node=0|zone=2) [ 27.668089] raw: 0200000000002000 ffffea00048a9e48 ffffea00048a9e48 0000000000000000 [ 27.668385] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 27.669574] page dumped because: kasan: bad access detected [ 27.670057] [ 27.670236] Memory state around the buggy address: [ 27.670640] ffffffffb5c79d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.671188] ffffffffb5c79e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.672124] >ffffffffb5c79e80: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 27.672638] ^ [ 27.672889] ffffffffb5c79f00: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 27.673345] ffffffffb5c79f80: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 27.673818] ==================================================================