Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.708789] ================================================================== [ 34.708868] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 34.708938] Read of size 1 at addr ffffa667f2f8e68d by task kunit_try_catch/276 [ 34.708994] [ 34.709057] CPU: 1 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 34.709156] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.709194] Hardware name: linux,dummy-virt (DT) [ 34.709231] Call trace: [ 34.709267] show_stack+0x20/0x38 (C) [ 34.709322] dump_stack_lvl+0x8c/0xd0 [ 34.709373] print_report+0x310/0x5e8 [ 34.709420] kasan_report+0xdc/0x128 [ 34.709474] __asan_report_load1_noabort+0x20/0x30 [ 34.709525] kasan_global_oob_right+0x230/0x270 [ 34.709574] kunit_try_run_case+0x170/0x3f0 [ 34.709625] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.709687] kthread+0x328/0x630 [ 34.709738] ret_from_fork+0x10/0x20 [ 34.710068] [ 34.710364] The buggy address belongs to the variable: [ 34.710414] global_array+0xd/0x40 [ 34.710474] [ 34.710534] The buggy address belongs to a vmalloc virtual mapping [ 34.712563] The buggy address belongs to the physical page: [ 34.712613] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d8e [ 34.712700] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 34.712806] raw: 03fffe0000002000 ffffc1ffc01f6388 ffffc1ffc01f6388 0000000000000000 [ 34.712859] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.713083] page dumped because: kasan: bad access detected [ 34.713167] [ 34.713207] Memory state around the buggy address: [ 34.713249] ffffa667f2f8e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.713317] ffffa667f2f8e600: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 34.713396] >ffffa667f2f8e680: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 34.713528] ^ [ 34.713592] ffffa667f2f8e700: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 34.713687] ffffa667f2f8e780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.713779] ==================================================================
[ 28.682505] ================================================================== [ 28.683313] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 28.683646] Read of size 1 at addr ffffffffab2cb00d by task kunit_try_catch/293 [ 28.684064] [ 28.684201] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 28.684257] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 28.684271] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 28.684294] Call Trace: [ 28.684308] <TASK> [ 28.684326] dump_stack_lvl+0x73/0xb0 [ 28.684356] print_report+0xd1/0x640 [ 28.684379] ? __virt_addr_valid+0x1db/0x2d0 [ 28.684405] ? kasan_global_oob_right+0x286/0x2d0 [ 28.684425] ? kasan_addr_to_slab+0x11/0xa0 [ 28.684446] ? kasan_global_oob_right+0x286/0x2d0 [ 28.684467] kasan_report+0x141/0x180 [ 28.684489] ? kasan_global_oob_right+0x286/0x2d0 [ 28.684515] __asan_report_load1_noabort+0x18/0x20 [ 28.684538] kasan_global_oob_right+0x286/0x2d0 [ 28.684560] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 28.684597] ? __schedule+0x10da/0x2b60 [ 28.684622] ? __pfx_read_tsc+0x10/0x10 [ 28.684643] ? ktime_get_ts64+0x86/0x230 [ 28.684668] kunit_try_run_case+0x1a5/0x480 [ 28.684694] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.684716] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 28.684740] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 28.684764] ? __kthread_parkme+0x82/0x180 [ 28.684828] ? preempt_count_sub+0x50/0x80 [ 28.684855] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.684879] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.684903] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 28.684927] kthread+0x337/0x6f0 [ 28.684962] ? trace_preempt_on+0x20/0xc0 [ 28.684986] ? __pfx_kthread+0x10/0x10 [ 28.685006] ? _raw_spin_unlock_irq+0x47/0x80 [ 28.685031] ? calculate_sigpending+0x7b/0xa0 [ 28.685054] ? __pfx_kthread+0x10/0x10 [ 28.685075] ret_from_fork+0x116/0x1d0 [ 28.685094] ? __pfx_kthread+0x10/0x10 [ 28.685114] ret_from_fork_asm+0x1a/0x30 [ 28.685145] </TASK> [ 28.685156] [ 28.694741] The buggy address belongs to the variable: [ 28.695337] global_array+0xd/0x40 [ 28.695533] [ 28.695701] The buggy address belongs to the physical page: [ 28.696219] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13e2cb [ 28.696516] flags: 0x200000000002000(reserved|node=0|zone=2) [ 28.696942] raw: 0200000000002000 ffffea0004f8b2c8 ffffea0004f8b2c8 0000000000000000 [ 28.697260] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.697589] page dumped because: kasan: bad access detected [ 28.697819] [ 28.698144] Memory state around the buggy address: [ 28.698322] ffffffffab2caf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.698826] ffffffffab2caf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.699238] >ffffffffab2cb000: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 28.699523] ^ [ 28.699820] ffffffffab2cb080: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 28.700288] ffffffffab2cb100: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 28.700667] ==================================================================