Date
July 9, 2025, 12:11 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.815438] ================================================================== [ 21.815510] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 21.815607] Read of size 1 at addr ffffaa561734f58d by task kunit_try_catch/246 [ 21.815660] [ 21.815938] CPU: 1 UID: 0 PID: 246 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.816038] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.816200] Hardware name: linux,dummy-virt (DT) [ 21.816442] Call trace: [ 21.816488] show_stack+0x20/0x38 (C) [ 21.816553] dump_stack_lvl+0x8c/0xd0 [ 21.816868] print_report+0x310/0x608 [ 21.817015] kasan_report+0xdc/0x128 [ 21.817095] __asan_report_load1_noabort+0x20/0x30 [ 21.817324] kasan_global_oob_right+0x230/0x270 [ 21.817494] kunit_try_run_case+0x170/0x3f0 [ 21.817646] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.817718] kthread+0x328/0x630 [ 21.817891] ret_from_fork+0x10/0x20 [ 21.818118] [ 21.818187] The buggy address belongs to the variable: [ 21.818229] global_array+0xd/0x40 [ 21.818333] [ 21.818454] The buggy address belongs to the virtual mapping at [ 21.818454] [ffffaa5615500000, ffffaa5617401000) created by: [ 21.818454] paging_init+0x66c/0x7d0 [ 21.818559] [ 21.818643] The buggy address belongs to the physical page: [ 21.818677] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 21.818750] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 21.818821] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 21.818872] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.818927] page dumped because: kasan: bad access detected [ 21.818959] [ 21.818992] Memory state around the buggy address: [ 21.819043] ffffaa561734f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.819097] ffffaa561734f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 21.819141] >ffffaa561734f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 21.819180] ^ [ 21.819219] ffffaa561734f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 21.819262] ffffaa561734f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.819310] ==================================================================
[ 14.459449] ================================================================== [ 14.459885] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 14.460822] Read of size 1 at addr ffffffff94863e8d by task kunit_try_catch/262 [ 14.461366] [ 14.461839] CPU: 1 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.461891] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.461905] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.461928] Call Trace: [ 14.461956] <TASK> [ 14.461975] dump_stack_lvl+0x73/0xb0 [ 14.462010] print_report+0xd1/0x650 [ 14.462033] ? __virt_addr_valid+0x1db/0x2d0 [ 14.462057] ? kasan_global_oob_right+0x286/0x2d0 [ 14.462079] ? kasan_addr_to_slab+0x11/0xa0 [ 14.462100] ? kasan_global_oob_right+0x286/0x2d0 [ 14.462121] kasan_report+0x141/0x180 [ 14.462143] ? kasan_global_oob_right+0x286/0x2d0 [ 14.462169] __asan_report_load1_noabort+0x18/0x20 [ 14.462194] kasan_global_oob_right+0x286/0x2d0 [ 14.462218] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.462243] ? __schedule+0x10cc/0x2b60 [ 14.462266] ? __pfx_read_tsc+0x10/0x10 [ 14.462288] ? ktime_get_ts64+0x86/0x230 [ 14.462312] kunit_try_run_case+0x1a5/0x480 [ 14.462338] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.462360] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.462384] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.462479] ? __kthread_parkme+0x82/0x180 [ 14.462502] ? preempt_count_sub+0x50/0x80 [ 14.462526] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.462551] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.462576] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.462602] kthread+0x337/0x6f0 [ 14.462620] ? trace_preempt_on+0x20/0xc0 [ 14.462645] ? __pfx_kthread+0x10/0x10 [ 14.462666] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.462688] ? calculate_sigpending+0x7b/0xa0 [ 14.462720] ? __pfx_kthread+0x10/0x10 [ 14.462742] ret_from_fork+0x116/0x1d0 [ 14.462762] ? __pfx_kthread+0x10/0x10 [ 14.462783] ret_from_fork_asm+0x1a/0x30 [ 14.462815] </TASK> [ 14.462825] [ 14.473758] The buggy address belongs to the variable: [ 14.474012] global_array+0xd/0x40 [ 14.474166] [ 14.474259] The buggy address belongs to the physical page: [ 14.474578] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109c63 [ 14.475082] flags: 0x200000000002000(reserved|node=0|zone=2) [ 14.475396] raw: 0200000000002000 ffffea00042718c8 ffffea00042718c8 0000000000000000 [ 14.475660] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.475967] page dumped because: kasan: bad access detected [ 14.476220] [ 14.476319] Memory state around the buggy address: [ 14.476513] ffffffff94863d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.476724] ffffffff94863e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.477006] >ffffffff94863e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 14.477324] ^ [ 14.477554] ffffffff94863f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 14.478190] ffffffff94863f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 14.478459] ==================================================================