Date
June 19, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.190035] ================================================================== [ 33.190205] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 33.190349] Read of size 1 at addr ffffa8812967968d by task kunit_try_catch/256 [ 33.190989] [ 33.191601] CPU: 0 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT [ 33.191861] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.191941] Hardware name: linux,dummy-virt (DT) [ 33.192022] Call trace: [ 33.192080] show_stack+0x20/0x38 (C) [ 33.192694] dump_stack_lvl+0x8c/0xd0 [ 33.193284] print_report+0x310/0x608 [ 33.193675] kasan_report+0xdc/0x128 [ 33.193815] __asan_report_load1_noabort+0x20/0x30 [ 33.193957] kasan_global_oob_right+0x230/0x270 [ 33.194021] kunit_try_run_case+0x170/0x3f0 [ 33.194082] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.194211] kthread+0x328/0x630 [ 33.194331] ret_from_fork+0x10/0x20 [ 33.194477] [ 33.194587] The buggy address belongs to the variable: [ 33.194656] global_array+0xd/0x40 [ 33.194748] [ 33.194907] The buggy address belongs to the virtual mapping at [ 33.194907] [ffffa88127830000, ffffa88129731000) created by: [ 33.194907] paging_init+0x66c/0x7d0 [ 33.195097] [ 33.195382] The buggy address belongs to the physical page: [ 33.195478] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47c79 [ 33.195651] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 33.195910] raw: 03fffe0000002000 ffffc1ffc01f1e48 ffffc1ffc01f1e48 0000000000000000 [ 33.196030] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.196137] page dumped because: kasan: bad access detected [ 33.196250] [ 33.196290] Memory state around the buggy address: [ 33.196367] ffffa88129679580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.196474] ffffa88129679600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 33.196582] >ffffa88129679680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 33.196686] ^ [ 33.196793] ffffa88129679700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 33.196951] ffffa88129679780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.197053] ==================================================================
[ 29.153672] ================================================================== [ 29.154669] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 29.155477] Read of size 1 at addr ffffffffa8878ecd by task kunit_try_catch/274 [ 29.156286] [ 29.156551] CPU: 0 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) [ 29.156624] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.156640] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.156667] Call Trace: [ 29.156686] <TASK> [ 29.156711] dump_stack_lvl+0x73/0xb0 [ 29.156758] print_report+0xd1/0x650 [ 29.156784] ? __virt_addr_valid+0x1db/0x2d0 [ 29.156813] ? kasan_global_oob_right+0x286/0x2d0 [ 29.156837] ? kasan_addr_to_slab+0x11/0xa0 [ 29.156859] ? kasan_global_oob_right+0x286/0x2d0 [ 29.156884] kasan_report+0x141/0x180 [ 29.156914] ? kasan_global_oob_right+0x286/0x2d0 [ 29.157242] __asan_report_load1_noabort+0x18/0x20 [ 29.157388] kasan_global_oob_right+0x286/0x2d0 [ 29.157443] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 29.157499] ? __schedule+0x10cc/0x2b60 [ 29.157552] ? __pfx_read_tsc+0x10/0x10 [ 29.157594] ? ktime_get_ts64+0x86/0x230 [ 29.157634] kunit_try_run_case+0x1a5/0x480 [ 29.157664] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.157688] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 29.157715] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.157741] ? __kthread_parkme+0x82/0x180 [ 29.157764] ? preempt_count_sub+0x50/0x80 [ 29.157791] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.157817] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.157842] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.157868] kthread+0x337/0x6f0 [ 29.157890] ? trace_preempt_on+0x20/0xc0 [ 29.157943] ? __pfx_kthread+0x10/0x10 [ 29.157981] ? _raw_spin_unlock_irq+0x47/0x80 [ 29.158019] ? calculate_sigpending+0x7b/0xa0 [ 29.158057] ? __pfx_kthread+0x10/0x10 [ 29.158096] ret_from_fork+0x116/0x1d0 [ 29.158140] ? __pfx_kthread+0x10/0x10 [ 29.158173] ret_from_fork_asm+0x1a/0x30 [ 29.158222] </TASK> [ 29.158237] [ 29.171030] The buggy address belongs to the variable: [ 29.172084] global_array+0xd/0x40 [ 29.172542] [ 29.172761] The buggy address belongs to the physical page: [ 29.173258] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15a278 [ 29.174309] flags: 0x200000000002000(reserved|node=0|zone=2) [ 29.174989] raw: 0200000000002000 ffffea0005689e08 ffffea0005689e08 0000000000000000 [ 29.175596] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 29.175767] page dumped because: kasan: bad access detected [ 29.175877] [ 29.176411] Memory state around the buggy address: [ 29.176675] ffffffffa8878d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.177865] ffffffffa8878e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.178736] >ffffffffa8878e80: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 29.179340] ^ [ 29.179647] ffffffffa8878f00: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 29.180150] ffffffffa8878f80: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 29.180516] ==================================================================