Date
July 20, 2025, 11:12 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.482977] ================================================================== [ 17.483953] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 17.484111] Read of size 1 at addr ffff9f28a9b4f58d by task kunit_try_catch/245 [ 17.484162] [ 17.484710] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.485255] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.485291] Hardware name: linux,dummy-virt (DT) [ 17.485323] Call trace: [ 17.485346] show_stack+0x20/0x38 (C) [ 17.485479] dump_stack_lvl+0x8c/0xd0 [ 17.486182] print_report+0x310/0x5d0 [ 17.486370] kasan_report+0xdc/0x128 [ 17.486558] __asan_report_load1_noabort+0x20/0x30 [ 17.486722] kasan_global_oob_right+0x230/0x270 [ 17.487017] kunit_try_run_case+0x170/0x3f0 [ 17.487250] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.487358] kthread+0x328/0x630 [ 17.487403] ret_from_fork+0x10/0x20 [ 17.487462] [ 17.487599] The buggy address belongs to the variable: [ 17.487640] global_array+0xd/0x40 [ 17.487706] [ 17.487761] The buggy address ffff9f28a9b4f58d belongs to a vmalloc virtual mapping [ 17.488094] The buggy address belongs to the physical page: [ 17.488203] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 17.488277] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 17.488370] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 17.488492] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.488821] page dumped because: kasan: bad access detected [ 17.488883] [ 17.488946] Memory state around the buggy address: [ 17.488990] ffff9f28a9b4f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.489041] ffff9f28a9b4f500: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 17.489365] >ffff9f28a9b4f580: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 17.489403] ^ [ 17.489433] ffff9f28a9b4f600: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 17.489475] ffff9f28a9b4f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.489864] ==================================================================
[ 14.073621] ================================================================== [ 14.074627] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 14.075679] Read of size 1 at addr ffffffff97063e8d by task kunit_try_catch/262 [ 14.076325] [ 14.076589] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.076637] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.076649] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.076669] Call Trace: [ 14.076684] <TASK> [ 14.076698] dump_stack_lvl+0x73/0xb0 [ 14.076728] print_report+0xd1/0x610 [ 14.076749] ? __virt_addr_valid+0x1db/0x2d0 [ 14.076771] ? kasan_global_oob_right+0x286/0x2d0 [ 14.076791] ? kasan_addr_to_slab+0x11/0xa0 [ 14.076810] ? kasan_global_oob_right+0x286/0x2d0 [ 14.076831] kasan_report+0x141/0x180 [ 14.076852] ? kasan_global_oob_right+0x286/0x2d0 [ 14.076877] __asan_report_load1_noabort+0x18/0x20 [ 14.076901] kasan_global_oob_right+0x286/0x2d0 [ 14.076935] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.076959] ? __schedule+0x10cc/0x2b60 [ 14.076980] ? __pfx_read_tsc+0x10/0x10 [ 14.077000] ? ktime_get_ts64+0x86/0x230 [ 14.077023] kunit_try_run_case+0x1a5/0x480 [ 14.077047] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.077068] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.077090] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.077112] ? __kthread_parkme+0x82/0x180 [ 14.077132] ? preempt_count_sub+0x50/0x80 [ 14.077154] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.077177] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.077200] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.077223] kthread+0x337/0x6f0 [ 14.077241] ? trace_preempt_on+0x20/0xc0 [ 14.077264] ? __pfx_kthread+0x10/0x10 [ 14.077283] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.077303] ? calculate_sigpending+0x7b/0xa0 [ 14.077326] ? __pfx_kthread+0x10/0x10 [ 14.077452] ret_from_fork+0x116/0x1d0 [ 14.077474] ? __pfx_kthread+0x10/0x10 [ 14.077494] ret_from_fork_asm+0x1a/0x30 [ 14.077537] </TASK> [ 14.077547] [ 14.092471] The buggy address belongs to the variable: [ 14.092802] global_array+0xd/0x40 [ 14.092974] [ 14.093098] The buggy address belongs to the physical page: [ 14.093399] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x51e63 [ 14.093648] flags: 0x100000000002000(reserved|node=0|zone=1) [ 14.093935] raw: 0100000000002000 ffffea00014798c8 ffffea00014798c8 0000000000000000 [ 14.094285] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.094713] page dumped because: kasan: bad access detected [ 14.094979] [ 14.095074] Memory state around the buggy address: [ 14.095266] ffffffff97063d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.095693] ffffffff97063e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.096061] >ffffffff97063e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 14.096297] ^ [ 14.096553] ffffffff97063f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 14.096856] ffffffff97063f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 14.097102] ==================================================================