Date
June 23, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 35.816332] ================================================================== [ 35.816453] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 35.816570] Read of size 1 at addr ffffa42cff05668d by task kunit_try_catch/257 [ 35.816683] [ 35.816757] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250623 #1 PREEMPT [ 35.816948] Tainted: [B]=BAD_PAGE, [N]=TEST [ 35.817009] Hardware name: linux,dummy-virt (DT) [ 35.821809] Call trace: [ 35.821914] show_stack+0x20/0x38 (C) [ 35.822617] dump_stack_lvl+0x8c/0xd0 [ 35.822799] print_report+0x310/0x608 [ 35.823696] kasan_report+0xdc/0x128 [ 35.823825] __asan_report_load1_noabort+0x20/0x30 [ 35.824460] kasan_global_oob_right+0x230/0x270 [ 35.825166] kunit_try_run_case+0x170/0x3f0 [ 35.825305] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 35.825649] kthread+0x328/0x630 [ 35.825995] ret_from_fork+0x10/0x20 [ 35.826232] [ 35.826717] The buggy address belongs to the variable: [ 35.826818] global_array+0xd/0x40 [ 35.826912] [ 35.827007] The buggy address belongs to the virtual mapping at [ 35.827007] [ffffa42cfd210000, ffffa42cff111000) created by: [ 35.827007] paging_init+0x66c/0x7d0 [ 35.827260] [ 35.827588] The buggy address belongs to the physical page: [ 35.827674] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47c56 [ 35.827859] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 35.828046] raw: 03fffe0000002000 ffffc1ffc01f1588 ffffc1ffc01f1588 0000000000000000 [ 35.828196] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 35.828294] page dumped because: kasan: bad access detected [ 35.828366] [ 35.828416] Memory state around the buggy address: [ 35.828509] ffffa42cff056580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.828616] ffffa42cff056600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 35.828721] >ffffa42cff056680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 35.828812] ^ [ 35.828892] ffffa42cff056700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 35.828997] ffffa42cff056780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.829128] ==================================================================
[ 23.677579] ================================================================== [ 23.678466] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 23.678906] Read of size 1 at addr ffffffffbbc82ecd by task kunit_try_catch/274 [ 23.679621] [ 23.679817] CPU: 0 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) [ 23.679880] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.679893] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.679912] Call Trace: [ 23.679926] <TASK> [ 23.679942] dump_stack_lvl+0x73/0xb0 [ 23.679972] print_report+0xd1/0x650 [ 23.679992] ? __virt_addr_valid+0x1db/0x2d0 [ 23.680012] ? kasan_global_oob_right+0x286/0x2d0 [ 23.680030] ? kasan_addr_to_slab+0x11/0xa0 [ 23.680051] ? kasan_global_oob_right+0x286/0x2d0 [ 23.680079] kasan_report+0x141/0x180 [ 23.680108] ? kasan_global_oob_right+0x286/0x2d0 [ 23.680143] __asan_report_load1_noabort+0x18/0x20 [ 23.680174] kasan_global_oob_right+0x286/0x2d0 [ 23.680203] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 23.680225] ? __schedule+0x10cc/0x2b60 [ 23.680245] ? __pfx_read_tsc+0x10/0x10 [ 23.680264] ? ktime_get_ts64+0x86/0x230 [ 23.680285] kunit_try_run_case+0x1a5/0x480 [ 23.680307] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.680327] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.680346] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.680366] ? __kthread_parkme+0x82/0x180 [ 23.680404] ? preempt_count_sub+0x50/0x80 [ 23.680438] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.680474] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.680511] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.680544] kthread+0x337/0x6f0 [ 23.680768] ? trace_preempt_on+0x20/0xc0 [ 23.680861] ? __pfx_kthread+0x10/0x10 [ 23.680924] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.680967] ? calculate_sigpending+0x7b/0xa0 [ 23.681010] ? __pfx_kthread+0x10/0x10 [ 23.681043] ret_from_fork+0x116/0x1d0 [ 23.681082] ? __pfx_kthread+0x10/0x10 [ 23.681113] ret_from_fork_asm+0x1a/0x30 [ 23.681153] </TASK> [ 23.681170] [ 23.690998] The buggy address belongs to the variable: [ 23.691694] global_array+0xd/0x40 [ 23.692024] [ 23.692418] The buggy address belongs to the physical page: [ 23.692798] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14682 [ 23.693320] flags: 0x100000000002000(reserved|node=0|zone=1) [ 23.693699] raw: 0100000000002000 ffffea000051a088 ffffea000051a088 0000000000000000 [ 23.694105] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 23.694535] page dumped because: kasan: bad access detected [ 23.694849] [ 23.694955] Memory state around the buggy address: [ 23.695115] ffffffffbbc82d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.695859] ffffffffbbc82e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.696399] >ffffffffbbc82e80: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 23.696672] ^ [ 23.697062] ffffffffbbc82f00: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 23.697660] ffffffffbbc82f80: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 23.698259] ==================================================================