Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.684970] ================================================================== [ 31.685034] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 31.685268] Read of size 1 at addr ffff90902893b6cd by task kunit_try_catch/276 [ 31.685402] [ 31.685447] CPU: 0 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT [ 31.685536] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.685728] Hardware name: linux,dummy-virt (DT) [ 31.685855] Call trace: [ 31.685888] show_stack+0x20/0x38 (C) [ 31.685941] dump_stack_lvl+0x8c/0xd0 [ 31.685986] print_report+0x310/0x5d0 [ 31.686065] kasan_report+0xdc/0x128 [ 31.686112] __asan_report_load1_noabort+0x20/0x30 [ 31.686171] kasan_global_oob_right+0x230/0x270 [ 31.686363] kunit_try_run_case+0x170/0x3f0 [ 31.686494] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.686558] kthread+0x328/0x630 [ 31.686607] ret_from_fork+0x10/0x20 [ 31.686710] [ 31.686794] The buggy address belongs to the variable: [ 31.686842] global_array+0xd/0x40 [ 31.687026] [ 31.687088] The buggy address ffff90902893b6cd belongs to a vmalloc virtual mapping [ 31.687566] The buggy address belongs to the physical page: [ 31.687693] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d3b [ 31.687963] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 31.688103] raw: 03fffe0000002000 ffffc1ffc01f4ec8 ffffc1ffc01f4ec8 0000000000000000 [ 31.688250] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.688349] page dumped because: kasan: bad access detected [ 31.688422] [ 31.688722] Memory state around the buggy address: [ 31.688862] ffff90902893b580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.688930] ffff90902893b600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.689046] >ffff90902893b680: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 [ 31.689126] ^ [ 31.689268] ffff90902893b700: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 31.689315] ffff90902893b780: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 31.689531] ==================================================================
[ 26.928179] ================================================================== [ 26.928631] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 26.929480] Read of size 1 at addr ffffffff92ebaf4d by task kunit_try_catch/293 [ 26.930509] [ 26.930861] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) [ 26.930922] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.930936] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.930961] Call Trace: [ 26.930975] <TASK> [ 26.930995] dump_stack_lvl+0x73/0xb0 [ 26.931030] print_report+0xd1/0x610 [ 26.931054] ? __virt_addr_valid+0x1db/0x2d0 [ 26.931083] ? kasan_global_oob_right+0x286/0x2d0 [ 26.931105] ? kasan_addr_to_slab+0x11/0xa0 [ 26.931150] ? kasan_global_oob_right+0x286/0x2d0 [ 26.931172] kasan_report+0x141/0x180 [ 26.931251] ? kasan_global_oob_right+0x286/0x2d0 [ 26.931279] __asan_report_load1_noabort+0x18/0x20 [ 26.931315] kasan_global_oob_right+0x286/0x2d0 [ 26.931338] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 26.931363] ? __schedule+0x10cc/0x2b60 [ 26.931387] ? __pfx_read_tsc+0x10/0x10 [ 26.931410] ? ktime_get_ts64+0x86/0x230 [ 26.931435] kunit_try_run_case+0x1a5/0x480 [ 26.931459] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.931479] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.931517] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.931540] ? __kthread_parkme+0x82/0x180 [ 26.931562] ? preempt_count_sub+0x50/0x80 [ 26.931587] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.931609] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.931634] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.931658] kthread+0x337/0x6f0 [ 26.931679] ? trace_preempt_on+0x20/0xc0 [ 26.931713] ? __pfx_kthread+0x10/0x10 [ 26.931734] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.931756] ? calculate_sigpending+0x7b/0xa0 [ 26.931791] ? __pfx_kthread+0x10/0x10 [ 26.931813] ret_from_fork+0x116/0x1d0 [ 26.931832] ? __pfx_kthread+0x10/0x10 [ 26.931858] ret_from_fork_asm+0x1a/0x30 [ 26.931890] </TASK> [ 26.931903] [ 26.940324] The buggy address belongs to the variable: [ 26.940593] global_array+0xd/0x40 [ 26.940831] [ 26.941021] The buggy address belongs to the physical page: [ 26.941360] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x124eba [ 26.941663] flags: 0x200000000002000(reserved|node=0|zone=2) [ 26.942075] raw: 0200000000002000 ffffea000493ae88 ffffea000493ae88 0000000000000000 [ 26.942534] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 26.942956] page dumped because: kasan: bad access detected [ 26.943219] [ 26.943296] Memory state around the buggy address: [ 26.943543] ffffffff92ebae00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.943880] ffffffff92ebae80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.944276] >ffffffff92ebaf00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 26.944686] ^ [ 26.944933] ffffffff92ebaf80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 26.945407] ffffffff92ebb000: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 26.945729] ==================================================================