Date
July 19, 2025, 11:11 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.427158] ================================================================== [ 17.427226] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 17.427281] Read of size 1 at addr ffffa6a3f1d4f58d by task kunit_try_catch/246 [ 17.427330] [ 17.427365] CPU: 1 UID: 0 PID: 246 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.427445] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.427473] Hardware name: linux,dummy-virt (DT) [ 17.427505] Call trace: [ 17.427564] show_stack+0x20/0x38 (C) [ 17.427614] dump_stack_lvl+0x8c/0xd0 [ 17.427661] print_report+0x310/0x5d0 [ 17.427706] kasan_report+0xdc/0x128 [ 17.428030] __asan_report_load1_noabort+0x20/0x30 [ 17.428170] kasan_global_oob_right+0x230/0x270 [ 17.428218] kunit_try_run_case+0x170/0x3f0 [ 17.428266] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.428418] kthread+0x328/0x630 [ 17.428512] ret_from_fork+0x10/0x20 [ 17.428585] [ 17.428637] The buggy address belongs to the variable: [ 17.428667] global_array+0xd/0x40 [ 17.428719] [ 17.428784] The buggy address ffffa6a3f1d4f58d belongs to a vmalloc virtual mapping [ 17.428868] The buggy address belongs to the physical page: [ 17.429171] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 17.429487] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 17.429787] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 17.429969] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.430028] page dumped because: kasan: bad access detected [ 17.430060] [ 17.430079] Memory state around the buggy address: [ 17.430111] ffffa6a3f1d4f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.430156] ffffa6a3f1d4f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 17.430337] >ffffa6a3f1d4f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 17.430581] ^ [ 17.430627] ffffa6a3f1d4f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 17.430868] ffffa6a3f1d4f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.431080] ==================================================================
[ 13.804261] ================================================================== [ 13.805089] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.805664] Read of size 1 at addr ffffffffbca63e8d by task kunit_try_catch/263 [ 13.806185] [ 13.806702] CPU: 1 UID: 0 PID: 263 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 13.806756] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.806769] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.806792] Call Trace: [ 13.806804] <TASK> [ 13.806821] dump_stack_lvl+0x73/0xb0 [ 13.806851] print_report+0xd1/0x610 [ 13.806873] ? __virt_addr_valid+0x1db/0x2d0 [ 13.806896] ? kasan_global_oob_right+0x286/0x2d0 [ 13.806918] ? kasan_addr_to_slab+0x11/0xa0 [ 13.806938] ? kasan_global_oob_right+0x286/0x2d0 [ 13.806960] kasan_report+0x141/0x180 [ 13.806981] ? kasan_global_oob_right+0x286/0x2d0 [ 13.807007] __asan_report_load1_noabort+0x18/0x20 [ 13.807032] kasan_global_oob_right+0x286/0x2d0 [ 13.807103] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.807130] ? __schedule+0x10cc/0x2b60 [ 13.807153] ? __pfx_read_tsc+0x10/0x10 [ 13.807173] ? ktime_get_ts64+0x86/0x230 [ 13.807198] kunit_try_run_case+0x1a5/0x480 [ 13.807222] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.807245] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.807268] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.807291] ? __kthread_parkme+0x82/0x180 [ 13.807311] ? preempt_count_sub+0x50/0x80 [ 13.807335] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.807359] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.807383] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.807407] kthread+0x337/0x6f0 [ 13.807426] ? trace_preempt_on+0x20/0xc0 [ 13.807449] ? __pfx_kthread+0x10/0x10 [ 13.807469] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.807490] ? calculate_sigpending+0x7b/0xa0 [ 13.807530] ? __pfx_kthread+0x10/0x10 [ 13.807550] ret_from_fork+0x116/0x1d0 [ 13.807569] ? __pfx_kthread+0x10/0x10 [ 13.807589] ret_from_fork_asm+0x1a/0x30 [ 13.807619] </TASK> [ 13.807630] [ 13.817741] The buggy address belongs to the variable: [ 13.817973] global_array+0xd/0x40 [ 13.818563] [ 13.818708] The buggy address belongs to the physical page: [ 13.818919] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x154c63 [ 13.819734] flags: 0x200000000002000(reserved|node=0|zone=2) [ 13.820164] raw: 0200000000002000 ffffea00055318c8 ffffea00055318c8 0000000000000000 [ 13.820669] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.821178] page dumped because: kasan: bad access detected [ 13.821573] [ 13.821772] Memory state around the buggy address: [ 13.821985] ffffffffbca63d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.822553] ffffffffbca63e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.822960] >ffffffffbca63e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 13.823603] ^ [ 13.823797] ffffffffbca63f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 13.824312] ffffffffbca63f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 13.824625] ==================================================================