Date
July 5, 2025, 5:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.273643] ================================================================== [ 20.273707] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 20.273922] Read of size 1 at addr ffff986348d4f5cd by task kunit_try_catch/245 [ 20.273997] [ 20.274041] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.274222] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.274253] Hardware name: linux,dummy-virt (DT) [ 20.274466] Call trace: [ 20.274501] show_stack+0x20/0x38 (C) [ 20.274579] dump_stack_lvl+0x8c/0xd0 [ 20.274672] print_report+0x310/0x608 [ 20.274732] kasan_report+0xdc/0x128 [ 20.274778] __asan_report_load1_noabort+0x20/0x30 [ 20.274942] kasan_global_oob_right+0x230/0x270 [ 20.275067] kunit_try_run_case+0x170/0x3f0 [ 20.275117] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.275169] kthread+0x328/0x630 [ 20.275212] ret_from_fork+0x10/0x20 [ 20.275270] [ 20.275466] The buggy address belongs to the variable: [ 20.275644] global_array+0xd/0x40 [ 20.275888] [ 20.276084] The buggy address belongs to the virtual mapping at [ 20.276084] [ffff986346f00000, ffff986348e01000) created by: [ 20.276084] paging_init+0x66c/0x7d0 [ 20.276197] [ 20.276604] The buggy address belongs to the physical page: [ 20.276722] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 20.276978] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 20.277127] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 20.277253] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.277403] page dumped because: kasan: bad access detected [ 20.277451] [ 20.277468] Memory state around the buggy address: [ 20.277513] ffff986348d4f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.277578] ffff986348d4f500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.277631] >ffff986348d4f580: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 [ 20.277678] ^ [ 20.277714] ffff986348d4f600: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 20.277757] ffff986348d4f680: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 20.277804] ==================================================================
[ 13.365901] ================================================================== [ 13.366444] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.366960] Read of size 1 at addr ffffffffbe061e8d by task kunit_try_catch/263 [ 13.367493] [ 13.367630] CPU: 0 UID: 0 PID: 263 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.367677] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.367689] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.367712] Call Trace: [ 13.367724] <TASK> [ 13.367741] dump_stack_lvl+0x73/0xb0 [ 13.367770] print_report+0xd1/0x650 [ 13.367792] ? __virt_addr_valid+0x1db/0x2d0 [ 13.367814] ? kasan_global_oob_right+0x286/0x2d0 [ 13.367836] ? kasan_addr_to_slab+0x11/0xa0 [ 13.367856] ? kasan_global_oob_right+0x286/0x2d0 [ 13.367878] kasan_report+0x141/0x180 [ 13.367909] ? kasan_global_oob_right+0x286/0x2d0 [ 13.367935] __asan_report_load1_noabort+0x18/0x20 [ 13.367959] kasan_global_oob_right+0x286/0x2d0 [ 13.367981] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.368005] ? __schedule+0x10cc/0x2b60 [ 13.368026] ? __pfx_read_tsc+0x10/0x10 [ 13.368047] ? ktime_get_ts64+0x86/0x230 [ 13.368070] kunit_try_run_case+0x1a5/0x480 [ 13.368095] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.368116] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.368140] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.368163] ? __kthread_parkme+0x82/0x180 [ 13.368183] ? preempt_count_sub+0x50/0x80 [ 13.368226] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.368251] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.368274] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.368297] kthread+0x337/0x6f0 [ 13.368317] ? trace_preempt_on+0x20/0xc0 [ 13.368340] ? __pfx_kthread+0x10/0x10 [ 13.368360] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.368381] ? calculate_sigpending+0x7b/0xa0 [ 13.368404] ? __pfx_kthread+0x10/0x10 [ 13.368425] ret_from_fork+0x116/0x1d0 [ 13.368443] ? __pfx_kthread+0x10/0x10 [ 13.368475] ret_from_fork_asm+0x1a/0x30 [ 13.368505] </TASK> [ 13.368516] [ 13.375541] The buggy address belongs to the variable: [ 13.375721] global_array+0xd/0x40 [ 13.375918] [ 13.376029] The buggy address belongs to the physical page: [ 13.376282] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x3a861 [ 13.377126] flags: 0x100000000002000(reserved|node=0|zone=1) [ 13.377557] raw: 0100000000002000 ffffea0000ea1848 ffffea0000ea1848 0000000000000000 [ 13.377972] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.378390] page dumped because: kasan: bad access detected [ 13.378661] [ 13.378761] Memory state around the buggy address: [ 13.378941] ffffffffbe061d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.379299] ffffffffbe061e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.379603] >ffffffffbe061e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 13.379910] ^ [ 13.380039] ffffffffbe061f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 13.380289] ffffffffbe061f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 13.380871] ==================================================================