Date
May 23, 2025, 11:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.735591] ================================================================== [ 30.735947] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 30.736204] Read of size 1 at addr ffffa3ab961f14ed by task kunit_try_catch/247 [ 30.736483] [ 30.736649] CPU: 0 UID: 0 PID: 247 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7 #1 PREEMPT [ 30.736913] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.736982] Hardware name: linux,dummy-virt (DT) [ 30.737057] Call trace: [ 30.737144] show_stack+0x20/0x38 (C) [ 30.737294] dump_stack_lvl+0x8c/0xd0 [ 30.737513] print_report+0x310/0x608 [ 30.737641] kasan_report+0xdc/0x128 [ 30.737787] __asan_report_load1_noabort+0x20/0x30 [ 30.737969] kasan_global_oob_right+0x230/0x270 [ 30.738160] kunit_try_run_case+0x170/0x3f0 [ 30.738438] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.738777] kthread+0x328/0x630 [ 30.739205] ret_from_fork+0x10/0x20 [ 30.739652] [ 30.739797] The buggy address belongs to the variable: [ 30.740307] global_array+0xd/0x40 [ 30.740640] [ 30.741043] The buggy address belongs to the virtual mapping at [ 30.741043] [ffffa3ab94410000, ffffa3ab962a1000) created by: [ 30.741043] paging_init+0x66c/0x7d0 [ 30.741481] [ 30.742004] The buggy address belongs to the physical page: [ 30.742202] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47bf1 [ 30.742644] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 30.743029] raw: 03fffe0000002000 ffffc1ffc01efc48 ffffc1ffc01efc48 0000000000000000 [ 30.743590] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 30.744163] page dumped because: kasan: bad access detected [ 30.744217] [ 30.744247] Memory state around the buggy address: [ 30.744321] ffffa3ab961f1380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.744472] ffffa3ab961f1400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.744610] >ffffa3ab961f1480: 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 [ 30.744731] ^ [ 30.744849] ffffa3ab961f1500: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 [ 30.744957] ffffa3ab961f1580: f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 [ 30.745237] ==================================================================
[ 14.395949] ================================================================== [ 14.396522] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 14.396841] Read of size 1 at addr ffffffffa50422ad by task kunit_try_catch/264 [ 14.397252] [ 14.397412] CPU: 1 UID: 0 PID: 264 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7 #1 PREEMPT(voluntary) [ 14.397461] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.397474] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.397496] Call Trace: [ 14.397508] <TASK> [ 14.397524] dump_stack_lvl+0x73/0xb0 [ 14.397553] print_report+0xd1/0x650 [ 14.397576] ? __virt_addr_valid+0x1db/0x2d0 [ 14.397599] ? kasan_global_oob_right+0x286/0x2d0 [ 14.397621] ? kasan_addr_to_slab+0x11/0xa0 [ 14.397642] ? kasan_global_oob_right+0x286/0x2d0 [ 14.397665] kasan_report+0x141/0x180 [ 14.397688] ? kasan_global_oob_right+0x286/0x2d0 [ 14.397715] __asan_report_load1_noabort+0x18/0x20 [ 14.397736] kasan_global_oob_right+0x286/0x2d0 [ 14.397758] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.397783] ? __schedule+0x10cc/0x2b30 [ 14.397807] ? __pfx_read_tsc+0x10/0x10 [ 14.397827] ? ktime_get_ts64+0x86/0x230 [ 14.397853] kunit_try_run_case+0x1a5/0x480 [ 14.397931] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.397958] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.397982] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.398005] ? __kthread_parkme+0x82/0x180 [ 14.398027] ? preempt_count_sub+0x50/0x80 [ 14.398053] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.398077] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.398100] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.398123] kthread+0x337/0x6f0 [ 14.398140] ? trace_preempt_on+0x20/0xc0 [ 14.398162] ? __pfx_kthread+0x10/0x10 [ 14.398180] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.398201] ? calculate_sigpending+0x7b/0xa0 [ 14.398222] ? __pfx_kthread+0x10/0x10 [ 14.398240] ret_from_fork+0x41/0x80 [ 14.398262] ? __pfx_kthread+0x10/0x10 [ 14.398280] ret_from_fork_asm+0x1a/0x30 [ 14.398325] </TASK> [ 14.398338] [ 14.406082] The buggy address belongs to the variable: [ 14.406526] global_array+0xd/0x40 [ 14.406692] [ 14.406785] The buggy address belongs to the physical page: [ 14.407042] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x159242 [ 14.407565] flags: 0x200000000002000(reserved|node=0|zone=2) [ 14.407853] raw: 0200000000002000 ffffea0005649088 ffffea0005649088 0000000000000000 [ 14.408209] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.408494] page dumped because: kasan: bad access detected [ 14.408670] [ 14.408741] Memory state around the buggy address: [ 14.408964] ffffffffa5042180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.409286] ffffffffa5042200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.409685] >ffffffffa5042280: 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 [ 14.410002] ^ [ 14.410235] ffffffffa5042300: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 [ 14.410745] ffffffffa5042380: f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 [ 14.411088] ==================================================================