Date
July 9, 2025, 2:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.349442] ================================================================== [ 19.349866] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 19.350002] Read of size 1 at addr ffffa8ee9a94f58d by task kunit_try_catch/245 [ 19.350239] [ 19.350396] CPU: 1 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc5 #1 PREEMPT [ 19.350578] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 19.350626] Hardware name: linux,dummy-virt (DT) [ 19.350660] Call trace: [ 19.350694] show_stack+0x20/0x38 (C) [ 19.350757] dump_stack_lvl+0x8c/0xd0 [ 19.351078] print_report+0x310/0x608 [ 19.351223] kasan_report+0xdc/0x128 [ 19.351560] __asan_report_load1_noabort+0x20/0x30 [ 19.351725] kasan_global_oob_right+0x230/0x270 [ 19.351830] kunit_try_run_case+0x170/0x3f0 [ 19.351886] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.351961] kthread+0x328/0x630 [ 19.352028] ret_from_fork+0x10/0x20 [ 19.352117] [ 19.352608] The buggy address belongs to the variable: [ 19.352972] global_array+0xd/0x40 [ 19.353122] [ 19.353565] The buggy address belongs to the virtual mapping at [ 19.353565] [ffffa8ee98b00000, ffffa8ee9aa01000) created by: [ 19.353565] paging_init+0x66c/0x7d0 [ 19.353688] [ 19.354153] The buggy address belongs to the physical page: [ 19.354200] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 19.354352] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 19.354453] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 19.354813] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 19.354893] page dumped because: kasan: bad access detected [ 19.355135] [ 19.355320] Memory state around the buggy address: [ 19.355419] ffffa8ee9a94f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.355827] ffffa8ee9a94f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 19.355915] >ffffa8ee9a94f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 19.356016] ^ [ 19.356152] ffffa8ee9a94f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 19.356266] ffffa8ee9a94f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.356330] ==================================================================
[ 14.539934] ================================================================== [ 14.540623] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 14.541027] Read of size 1 at addr ffffffffa4a63e8d by task kunit_try_catch/262 [ 14.541297] [ 14.541450] CPU: 1 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.541501] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.541512] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.541534] Call Trace: [ 14.541548] <TASK> [ 14.541566] dump_stack_lvl+0x73/0xb0 [ 14.541613] print_report+0xd1/0x650 [ 14.541637] ? __virt_addr_valid+0x1db/0x2d0 [ 14.541663] ? kasan_global_oob_right+0x286/0x2d0 [ 14.541685] ? kasan_addr_to_slab+0x11/0xa0 [ 14.541706] ? kasan_global_oob_right+0x286/0x2d0 [ 14.541728] kasan_report+0x141/0x180 [ 14.541749] ? kasan_global_oob_right+0x286/0x2d0 [ 14.541776] __asan_report_load1_noabort+0x18/0x20 [ 14.541961] kasan_global_oob_right+0x286/0x2d0 [ 14.541986] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.542009] ? __kasan_check_write+0x18/0x20 [ 14.542028] ? queued_spin_lock_slowpath+0x116/0xb40 [ 14.542057] ? __pfx_queued_spin_lock_slowpath+0x10/0x10 [ 14.542084] ? __pfx_read_tsc+0x10/0x10 [ 14.542110] ? ktime_get_ts64+0x86/0x230 [ 14.542141] kunit_try_run_case+0x1a5/0x480 [ 14.542170] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.542193] ? _raw_spin_lock_irqsave+0xf9/0x100 [ 14.542217] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.542241] ? __kthread_parkme+0x82/0x180 [ 14.542264] ? preempt_count_sub+0x50/0x80 [ 14.542290] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.542315] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.542341] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.542366] kthread+0x337/0x6f0 [ 14.542387] ? trace_preempt_on+0x20/0xc0 [ 14.542412] ? __pfx_kthread+0x10/0x10 [ 14.542432] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.542454] ? calculate_sigpending+0x7b/0xa0 [ 14.542478] ? __pfx_kthread+0x10/0x10 [ 14.542499] ret_from_fork+0x116/0x1d0 [ 14.542518] ? __pfx_kthread+0x10/0x10 [ 14.542539] ret_from_fork_asm+0x1a/0x30 [ 14.542570] </TASK> [ 14.542581] [ 14.550488] The buggy address belongs to the variable: [ 14.550769] global_array+0xd/0x40 [ 14.551029] [ 14.551442] The buggy address belongs to the physical page: [ 14.551669] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x36863 [ 14.552184] flags: 0x100000000002000(reserved|node=0|zone=1) [ 14.552423] raw: 0100000000002000 ffffea0000da18c8 ffffea0000da18c8 0000000000000000 [ 14.552670] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.553297] page dumped because: kasan: bad access detected [ 14.553566] [ 14.553675] Memory state around the buggy address: [ 14.553963] ffffffffa4a63d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.554263] ffffffffa4a63e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.554480] >ffffffffa4a63e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 14.554808] ^ [ 14.555212] ffffffffa4a63f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 14.555457] ffffffffa4a63f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 14.555748] ==================================================================