Date
July 12, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.649989] ================================================================== [ 18.650159] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 18.650272] Read of size 1 at addr ffff9433e934f58d by task kunit_try_catch/245 [ 18.650364] [ 18.650406] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.650496] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.650524] Hardware name: linux,dummy-virt (DT) [ 18.650674] Call trace: [ 18.650828] show_stack+0x20/0x38 (C) [ 18.650891] dump_stack_lvl+0x8c/0xd0 [ 18.651057] print_report+0x310/0x5d0 [ 18.651278] kasan_report+0xdc/0x128 [ 18.651370] __asan_report_load1_noabort+0x20/0x30 [ 18.651536] kasan_global_oob_right+0x230/0x270 [ 18.651593] kunit_try_run_case+0x170/0x3f0 [ 18.651786] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.651977] kthread+0x328/0x630 [ 18.652126] ret_from_fork+0x10/0x20 [ 18.652307] [ 18.652505] The buggy address belongs to the variable: [ 18.652540] global_array+0xd/0x40 [ 18.652899] [ 18.653015] The buggy address ffff9433e934f58d belongs to a vmalloc virtual mapping [ 18.653127] The buggy address belongs to the physical page: [ 18.653167] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 18.653257] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 18.653340] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 18.653400] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.653442] page dumped because: kasan: bad access detected [ 18.653473] [ 18.653490] Memory state around the buggy address: [ 18.653542] ffff9433e934f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.653596] ffff9433e934f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 18.653650] >ffff9433e934f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 18.653688] ^ [ 18.653717] ffff9433e934f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 18.653767] ffff9433e934f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.653815] ==================================================================
[ 14.798174] ================================================================== [ 14.798727] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 14.799059] Read of size 1 at addr ffffffff8fa63e8d by task kunit_try_catch/262 [ 14.799497] [ 14.799635] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.799679] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.799691] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.799712] Call Trace: [ 14.799724] <TASK> [ 14.799738] dump_stack_lvl+0x73/0xb0 [ 14.799791] print_report+0xd1/0x610 [ 14.799813] ? __virt_addr_valid+0x1db/0x2d0 [ 14.799838] ? kasan_global_oob_right+0x286/0x2d0 [ 14.799860] ? kasan_addr_to_slab+0x11/0xa0 [ 14.799881] ? kasan_global_oob_right+0x286/0x2d0 [ 14.799904] kasan_report+0x141/0x180 [ 14.799926] ? kasan_global_oob_right+0x286/0x2d0 [ 14.799953] __asan_report_load1_noabort+0x18/0x20 [ 14.800042] kasan_global_oob_right+0x286/0x2d0 [ 14.800070] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.800096] ? __schedule+0x10cc/0x2b60 [ 14.800119] ? __pfx_read_tsc+0x10/0x10 [ 14.800139] ? ktime_get_ts64+0x86/0x230 [ 14.800164] kunit_try_run_case+0x1a5/0x480 [ 14.800189] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.800257] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.800294] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.800319] ? __kthread_parkme+0x82/0x180 [ 14.800341] ? preempt_count_sub+0x50/0x80 [ 14.800366] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.800391] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.800416] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.800442] kthread+0x337/0x6f0 [ 14.800461] ? trace_preempt_on+0x20/0xc0 [ 14.800486] ? __pfx_kthread+0x10/0x10 [ 14.800507] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.800528] ? calculate_sigpending+0x7b/0xa0 [ 14.800553] ? __pfx_kthread+0x10/0x10 [ 14.800574] ret_from_fork+0x116/0x1d0 [ 14.800593] ? __pfx_kthread+0x10/0x10 [ 14.800613] ret_from_fork_asm+0x1a/0x30 [ 14.800643] </TASK> [ 14.800653] [ 14.811161] The buggy address belongs to the variable: [ 14.811700] global_array+0xd/0x40 [ 14.811856] [ 14.811949] The buggy address belongs to the physical page: [ 14.812726] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x122863 [ 14.813731] flags: 0x200000000002000(reserved|node=0|zone=2) [ 14.814548] raw: 0200000000002000 ffffea00048a18c8 ffffea00048a18c8 0000000000000000 [ 14.815544] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.815860] page dumped because: kasan: bad access detected [ 14.816390] [ 14.816621] Memory state around the buggy address: [ 14.817281] ffffffff8fa63d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.818113] ffffffff8fa63e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.818859] >ffffffff8fa63e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 14.819332] ^ [ 14.819467] ffffffff8fa63f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 14.819685] ffffffff8fa63f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 14.819899] ==================================================================