Date
May 29, 2025, 7:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 24.477477] ================================================================== [ 24.477670] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 24.477828] Read of size 1 at addr ffffa940d57b258d by task kunit_try_catch/245 [ 24.477934] [ 24.478029] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT [ 24.478209] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.478265] Hardware name: linux,dummy-virt (DT) [ 24.478336] Call trace: [ 24.478464] show_stack+0x20/0x38 (C) [ 24.478588] dump_stack_lvl+0x8c/0xd0 [ 24.478699] print_report+0x310/0x608 [ 24.478793] kasan_report+0xdc/0x128 [ 24.478905] __asan_report_load1_noabort+0x20/0x30 [ 24.479017] kasan_global_oob_right+0x230/0x270 [ 24.479120] kunit_try_run_case+0x170/0x3f0 [ 24.479248] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.479372] kthread+0x328/0x630 [ 24.479479] ret_from_fork+0x10/0x20 [ 24.479770] [ 24.479885] The buggy address belongs to the variable: [ 24.479957] global_array+0xd/0x40 [ 24.480062] [ 24.480205] The buggy address belongs to the virtual mapping at [ 24.480205] [ffffa940d3950000, ffffa940d5871000) created by: [ 24.480205] paging_init+0x66c/0x7d0 [ 24.480419] [ 24.480552] The buggy address belongs to the physical page: [ 24.480641] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47db2 [ 24.480761] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 24.480920] raw: 03fffe0000002000 ffffc1ffc01f6c88 ffffc1ffc01f6c88 0000000000000000 [ 24.481041] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 24.481131] page dumped because: kasan: bad access detected [ 24.481191] [ 24.481230] Memory state around the buggy address: [ 24.481314] ffffa940d57b2480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.481478] ffffa940d57b2500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 24.481596] >ffffa940d57b2580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 24.481675] ^ [ 24.481743] ffffa940d57b2600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 24.481827] ffffa940d57b2680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.481911] ==================================================================
[ 12.637039] ================================================================== [ 12.637582] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 12.638246] Read of size 1 at addr ffffffff8b07ae4d by task kunit_try_catch/262 [ 12.638563] [ 12.638710] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT(voluntary) [ 12.638762] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.638775] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.638798] Call Trace: [ 12.638812] <TASK> [ 12.638830] dump_stack_lvl+0x73/0xb0 [ 12.638859] print_report+0xd1/0x650 [ 12.638883] ? __virt_addr_valid+0x1db/0x2d0 [ 12.638908] ? kasan_global_oob_right+0x286/0x2d0 [ 12.638930] ? kasan_addr_to_slab+0x11/0xa0 [ 12.638951] ? kasan_global_oob_right+0x286/0x2d0 [ 12.638975] kasan_report+0x141/0x180 [ 12.638997] ? kasan_global_oob_right+0x286/0x2d0 [ 12.639025] __asan_report_load1_noabort+0x18/0x20 [ 12.639046] kasan_global_oob_right+0x286/0x2d0 [ 12.639069] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 12.639094] ? __schedule+0x10cc/0x2b60 [ 12.639119] ? __pfx_read_tsc+0x10/0x10 [ 12.639142] ? ktime_get_ts64+0x86/0x230 [ 12.639168] kunit_try_run_case+0x1a5/0x480 [ 12.639192] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.639212] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.639236] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.639261] ? __kthread_parkme+0x82/0x180 [ 12.639281] ? preempt_count_sub+0x50/0x80 [ 12.639305] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.639327] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.639351] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.639376] kthread+0x337/0x6f0 [ 12.639395] ? trace_preempt_on+0x20/0xc0 [ 12.639419] ? __pfx_kthread+0x10/0x10 [ 12.639440] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.639463] ? calculate_sigpending+0x7b/0xa0 [ 12.639487] ? __pfx_kthread+0x10/0x10 [ 12.639508] ret_from_fork+0x116/0x1d0 [ 12.639526] ? __pfx_kthread+0x10/0x10 [ 12.639547] ret_from_fork_asm+0x1a/0x30 [ 12.639578] </TASK> [ 12.639588] [ 12.653144] The buggy address belongs to the variable: [ 12.653665] global_array+0xd/0x40 [ 12.654266] [ 12.654491] The buggy address belongs to the physical page: [ 12.654697] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15cc7a [ 12.655624] flags: 0x200000000002000(reserved|node=0|zone=2) [ 12.656280] raw: 0200000000002000 ffffea0005731e88 ffffea0005731e88 0000000000000000 [ 12.656640] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 12.657212] page dumped because: kasan: bad access detected [ 12.657739] [ 12.657923] Memory state around the buggy address: [ 12.658404] ffffffff8b07ad00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.659025] ffffffff8b07ad80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.659493] >ffffffff8b07ae00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 12.659735] ^ [ 12.660332] ffffffff8b07ae80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 12.661036] ffffffff8b07af00: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 12.661683] ==================================================================