Date
July 1, 2025, 11:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.896104] ================================================================== [ 20.896235] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 20.896318] Read of size 1 at addr ffff9bbfe954f5cd by task kunit_try_catch/246 [ 20.896375] [ 20.896429] CPU: 0 UID: 0 PID: 246 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.896935] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.896986] Hardware name: linux,dummy-virt (DT) [ 20.897212] Call trace: [ 20.897366] show_stack+0x20/0x38 (C) [ 20.897460] dump_stack_lvl+0x8c/0xd0 [ 20.897837] print_report+0x310/0x608 [ 20.898060] kasan_report+0xdc/0x128 [ 20.898294] __asan_report_load1_noabort+0x20/0x30 [ 20.898397] kasan_global_oob_right+0x230/0x270 [ 20.898943] kunit_try_run_case+0x170/0x3f0 [ 20.899230] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.899437] kthread+0x328/0x630 [ 20.899620] ret_from_fork+0x10/0x20 [ 20.899857] [ 20.900146] The buggy address belongs to the variable: [ 20.900190] global_array+0xd/0x40 [ 20.900578] [ 20.900874] The buggy address belongs to the virtual mapping at [ 20.900874] [ffff9bbfe7700000, ffff9bbfe9601000) created by: [ 20.900874] paging_init+0x66c/0x7d0 [ 20.901108] [ 20.901661] The buggy address belongs to the physical page: [ 20.901779] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 20.901989] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 20.902126] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 20.902206] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.902620] page dumped because: kasan: bad access detected [ 20.902729] [ 20.902805] Memory state around the buggy address: [ 20.903078] ffff9bbfe954f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.903365] ffff9bbfe954f500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.903530] >ffff9bbfe954f580: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 [ 20.903713] ^ [ 20.903789] ffff9bbfe954f600: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 20.903927] ffff9bbfe954f680: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 20.903973] ==================================================================
[ 13.306107] ================================================================== [ 13.306617] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.307250] Read of size 1 at addr ffffffff8da61e8d by task kunit_try_catch/262 [ 13.307559] [ 13.307763] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.307812] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.307824] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.307846] Call Trace: [ 13.307860] <TASK> [ 13.307878] dump_stack_lvl+0x73/0xb0 [ 13.307909] print_report+0xd1/0x650 [ 13.307946] ? __virt_addr_valid+0x1db/0x2d0 [ 13.307970] ? kasan_global_oob_right+0x286/0x2d0 [ 13.307991] ? kasan_addr_to_slab+0x11/0xa0 [ 13.308011] ? kasan_global_oob_right+0x286/0x2d0 [ 13.308032] kasan_report+0x141/0x180 [ 13.308053] ? kasan_global_oob_right+0x286/0x2d0 [ 13.308078] __asan_report_load1_noabort+0x18/0x20 [ 13.308102] kasan_global_oob_right+0x286/0x2d0 [ 13.308123] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.308147] ? __schedule+0x10cc/0x2b60 [ 13.308168] ? __pfx_read_tsc+0x10/0x10 [ 13.308190] ? ktime_get_ts64+0x86/0x230 [ 13.308214] kunit_try_run_case+0x1a5/0x480 [ 13.308239] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.308261] ? irqentry_exit+0x2a/0x60 [ 13.308285] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.308311] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.308335] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.308357] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.308390] kthread+0x337/0x6f0 [ 13.308417] ? trace_preempt_on+0x20/0xc0 [ 13.308440] ? __pfx_kthread+0x10/0x10 [ 13.308460] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.308483] ? calculate_sigpending+0x7b/0xa0 [ 13.308507] ? __pfx_kthread+0x10/0x10 [ 13.308528] ret_from_fork+0x116/0x1d0 [ 13.308547] ? __pfx_kthread+0x10/0x10 [ 13.308566] ret_from_fork_asm+0x1a/0x30 [ 13.308610] </TASK> [ 13.308621] [ 13.318542] The buggy address belongs to the variable: [ 13.318786] global_array+0xd/0x40 [ 13.319296] [ 13.319499] The buggy address belongs to the physical page: [ 13.319986] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6b061 [ 13.320592] flags: 0x100000000002000(reserved|node=0|zone=1) [ 13.321054] raw: 0100000000002000 ffffea0001ac1848 ffffea0001ac1848 0000000000000000 [ 13.321493] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.321990] page dumped because: kasan: bad access detected [ 13.322240] [ 13.322330] Memory state around the buggy address: [ 13.322546] ffffffff8da61d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.323271] ffffffff8da61e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.323846] >ffffffff8da61e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 13.324300] ^ [ 13.324484] ffffffff8da61f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 13.325096] ffffffff8da61f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 13.325382] ==================================================================