Date
June 25, 2025, 8:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.814688] ================================================================== [ 28.814745] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 28.814955] Read of size 1 at addr ffff9ec8b38c668d by task kunit_try_catch/257 [ 28.815006] [ 28.815042] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT [ 28.815123] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.815280] Hardware name: linux,dummy-virt (DT) [ 28.815322] Call trace: [ 28.815408] show_stack+0x20/0x38 (C) [ 28.815487] dump_stack_lvl+0x8c/0xd0 [ 28.815537] print_report+0x310/0x608 [ 28.815831] kasan_report+0xdc/0x128 [ 28.815928] __asan_report_load1_noabort+0x20/0x30 [ 28.816077] kasan_global_oob_right+0x230/0x270 [ 28.816158] kunit_try_run_case+0x170/0x3f0 [ 28.816210] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.816265] kthread+0x328/0x630 [ 28.816308] ret_from_fork+0x10/0x20 [ 28.816369] [ 28.816840] The buggy address belongs to the variable: [ 28.816880] global_array+0xd/0x40 [ 28.816938] [ 28.817013] The buggy address belongs to the virtual mapping at [ 28.817013] [ffff9ec8b1a60000, ffff9ec8b3981000) created by: [ 28.817013] paging_init+0x66c/0x7d0 [ 28.817262] [ 28.817637] The buggy address belongs to the physical page: [ 28.817724] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47cc6 [ 28.817839] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 28.817938] raw: 03fffe0000002000 ffffc1ffc01f3188 ffffc1ffc01f3188 0000000000000000 [ 28.818122] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.818382] page dumped because: kasan: bad access detected [ 28.818496] [ 28.818574] Memory state around the buggy address: [ 28.818676] ffff9ec8b38c6580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.818742] ffff9ec8b38c6600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 28.818889] >ffff9ec8b38c6680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 28.818969] ^ [ 28.819035] ffff9ec8b38c6700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 28.819129] ffff9ec8b38c6780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.819197] ==================================================================
[ 23.618366] ================================================================== [ 23.618872] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 23.619354] Read of size 1 at addr ffffffffb32a9ecd by task kunit_try_catch/274 [ 23.619613] [ 23.619744] CPU: 1 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) [ 23.619790] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.619802] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.619823] Call Trace: [ 23.619914] <TASK> [ 23.619932] dump_stack_lvl+0x73/0xb0 [ 23.619975] print_report+0xd1/0x650 [ 23.619996] ? __virt_addr_valid+0x1db/0x2d0 [ 23.620018] ? kasan_global_oob_right+0x286/0x2d0 [ 23.620038] ? kasan_addr_to_slab+0x11/0xa0 [ 23.620057] ? kasan_global_oob_right+0x286/0x2d0 [ 23.620077] kasan_report+0x141/0x180 [ 23.620097] ? kasan_global_oob_right+0x286/0x2d0 [ 23.620121] __asan_report_load1_noabort+0x18/0x20 [ 23.620143] kasan_global_oob_right+0x286/0x2d0 [ 23.620163] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 23.620185] ? __schedule+0x10cc/0x2b60 [ 23.620208] ? __pfx_read_tsc+0x10/0x10 [ 23.620229] ? ktime_get_ts64+0x86/0x230 [ 23.620252] kunit_try_run_case+0x1a5/0x480 [ 23.620277] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.620300] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.620319] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.620348] ? __kthread_parkme+0x82/0x180 [ 23.620368] ? preempt_count_sub+0x50/0x80 [ 23.620390] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.620413] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.620435] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.620457] kthread+0x337/0x6f0 [ 23.620476] ? trace_preempt_on+0x20/0xc0 [ 23.620497] ? __pfx_kthread+0x10/0x10 [ 23.620516] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.620538] ? calculate_sigpending+0x7b/0xa0 [ 23.620560] ? __pfx_kthread+0x10/0x10 [ 23.620580] ret_from_fork+0x116/0x1d0 [ 23.620598] ? __pfx_kthread+0x10/0x10 [ 23.620617] ret_from_fork_asm+0x1a/0x30 [ 23.620645] </TASK> [ 23.620655] [ 23.627410] The buggy address belongs to the variable: [ 23.627664] global_array+0xd/0x40 [ 23.627961] [ 23.628080] The buggy address belongs to the physical page: [ 23.628613] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x264a9 [ 23.629020] flags: 0x100000000002000(reserved|node=0|zone=1) [ 23.629214] raw: 0100000000002000 ffffea0000992a48 ffffea0000992a48 0000000000000000 [ 23.629560] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 23.629869] page dumped because: kasan: bad access detected [ 23.630175] [ 23.630240] Memory state around the buggy address: [ 23.630436] ffffffffb32a9d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.630734] ffffffffb32a9e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.631073] >ffffffffb32a9e80: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 23.631380] ^ [ 23.631622] ffffffffb32a9f00: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 23.632102] ffffffffb32a9f80: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 23.632406] ==================================================================