Date
July 3, 2025, 3:13 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.721078] ================================================================== [ 17.721139] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 17.721192] Read of size 1 at addr ffffa3b0e8e035ad by task kunit_try_catch/248 [ 17.721280] [ 17.721317] CPU: 0 UID: 0 PID: 248 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc1 #1 PREEMPT [ 17.721396] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.721423] Hardware name: linux,dummy-virt (DT) [ 17.721453] Call trace: [ 17.721473] show_stack+0x20/0x38 (C) [ 17.721619] dump_stack_lvl+0x8c/0xd0 [ 17.721775] print_report+0x310/0x608 [ 17.721840] kasan_report+0xdc/0x128 [ 17.721893] __asan_report_load1_noabort+0x20/0x30 [ 17.722140] kasan_global_oob_right+0x230/0x270 [ 17.722548] kunit_try_run_case+0x170/0x3f0 [ 17.722607] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.722660] kthread+0x328/0x630 [ 17.722705] ret_from_fork+0x10/0x20 [ 17.722763] [ 17.722816] The buggy address belongs to the variable: [ 17.723201] global_array+0xd/0x40 [ 17.723321] [ 17.723448] The buggy address belongs to the virtual mapping at [ 17.723448] [ffffa3b0e7020000, ffffa3b0e8ec1000) created by: [ 17.723448] paging_init+0x66c/0x7d0 [ 17.723555] [ 17.723723] The buggy address belongs to the physical page: [ 17.723759] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47c03 [ 17.723812] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 17.723887] raw: 03fffe0000002000 ffffc1ffc01f00c8 ffffc1ffc01f00c8 0000000000000000 [ 17.723966] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.724008] page dumped because: kasan: bad access detected [ 17.724040] [ 17.724085] Memory state around the buggy address: [ 17.724140] ffffa3b0e8e03480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.724190] ffffa3b0e8e03500: 00 00 00 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 [ 17.724233] >ffffa3b0e8e03580: f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 [ 17.724270] ^ [ 17.724301] ffffa3b0e8e03600: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 [ 17.724343] ffffa3b0e8e03680: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.724382] ==================================================================
[ 12.956944] ================================================================== [ 12.957847] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 12.958109] Read of size 1 at addr ffffffff9764332d by task kunit_try_catch/264 [ 12.958349] [ 12.958470] CPU: 0 UID: 0 PID: 264 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc1 #1 PREEMPT(voluntary) [ 12.958520] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.958534] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.958558] Call Trace: [ 12.958572] <TASK> [ 12.958592] dump_stack_lvl+0x73/0xb0 [ 12.958620] print_report+0xd1/0x650 [ 12.958644] ? __virt_addr_valid+0x1db/0x2d0 [ 12.958667] ? kasan_global_oob_right+0x286/0x2d0 [ 12.958688] ? kasan_addr_to_slab+0x11/0xa0 [ 12.958710] ? kasan_global_oob_right+0x286/0x2d0 [ 12.958732] kasan_report+0x141/0x180 [ 12.958755] ? kasan_global_oob_right+0x286/0x2d0 [ 12.958782] __asan_report_load1_noabort+0x18/0x20 [ 12.958803] kasan_global_oob_right+0x286/0x2d0 [ 12.958825] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 12.958851] ? __schedule+0x10cc/0x2b60 [ 12.958874] ? __pfx_read_tsc+0x10/0x10 [ 12.958894] ? ktime_get_ts64+0x86/0x230 [ 12.958921] kunit_try_run_case+0x1a5/0x480 [ 12.958945] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.958967] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.958992] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.959015] ? __kthread_parkme+0x82/0x180 [ 12.959037] ? preempt_count_sub+0x50/0x80 [ 12.959063] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.959086] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.959109] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.959133] kthread+0x337/0x6f0 [ 12.959149] ? trace_preempt_on+0x20/0xc0 [ 12.959173] ? __pfx_kthread+0x10/0x10 [ 12.959190] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.959212] ? calculate_sigpending+0x7b/0xa0 [ 12.959260] ? __pfx_kthread+0x10/0x10 [ 12.959279] ret_from_fork+0x41/0x80 [ 12.959299] ? __pfx_kthread+0x10/0x10 [ 12.959317] ret_from_fork_asm+0x1a/0x30 [ 12.959348] </TASK> [ 12.959360] [ 12.974964] The buggy address belongs to the variable: [ 12.975221] global_array+0xd/0x40 [ 12.975997] [ 12.976446] The buggy address belongs to the physical page: [ 12.976819] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12bc43 [ 12.977448] flags: 0x200000000002000(reserved|node=0|zone=2) [ 12.977887] raw: 0200000000002000 ffffea0004af10c8 ffffea0004af10c8 0000000000000000 [ 12.978216] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 12.978894] page dumped because: kasan: bad access detected [ 12.979244] [ 12.979410] Memory state around the buggy address: [ 12.979625] ffffffff97643200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.980189] ffffffff97643280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.980734] >ffffffff97643300: 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 [ 12.981499] ^ [ 12.981805] ffffffff97643380: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 [ 12.982107] ffffffff97643400: f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 [ 12.982713] ==================================================================