Date
April 20, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 26.197294] ================================================================== [ 26.197427] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 26.197742] Read of size 1 at addr ffffa1875ad3e48d by task kunit_try_catch/247 [ 26.197995] [ 26.198089] CPU: 0 UID: 0 PID: 247 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 26.198376] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.198470] Hardware name: linux,dummy-virt (DT) [ 26.198555] Call trace: [ 26.198614] show_stack+0x20/0x38 (C) [ 26.198778] dump_stack_lvl+0x8c/0xd0 [ 26.198963] print_report+0x310/0x608 [ 26.199090] kasan_report+0xdc/0x128 [ 26.199213] __asan_report_load1_noabort+0x20/0x30 [ 26.199469] kasan_global_oob_right+0x230/0x270 [ 26.199637] kunit_try_run_case+0x170/0x3f0 [ 26.199818] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.200046] kthread+0x328/0x630 [ 26.200304] ret_from_fork+0x10/0x20 [ 26.200589] [ 26.200799] The buggy address belongs to the variable: [ 26.200875] global_array+0xd/0x40 [ 26.201012] [ 26.201353] The buggy address belongs to the virtual mapping at [ 26.201353] [ffffa18758f10000, ffffa1875adf1000) created by: [ 26.201353] paging_init+0x670/0x7d0 [ 26.201622] [ 26.202001] The buggy address belongs to the physical page: [ 26.202093] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d3e [ 26.202238] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 26.202404] raw: 03fffe0000002000 ffffc1ffc01f4f88 ffffc1ffc01f4f88 0000000000000000 [ 26.202530] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 26.202697] page dumped because: kasan: bad access detected [ 26.202813] [ 26.202865] Memory state around the buggy address: [ 26.202967] ffffa1875ad3e380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.203080] ffffa1875ad3e400: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 26.203313] >ffffa1875ad3e480: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 26.203408] ^ [ 26.203493] ffffa1875ad3e500: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 26.203714] ffffa1875ad3e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.203819] ==================================================================
[ 13.269821] ================================================================== [ 13.270292] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.270934] Read of size 1 at addr ffffffff8d09a28d by task kunit_try_catch/265 [ 13.271290] [ 13.271736] CPU: 0 UID: 0 PID: 265 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 13.271887] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.271902] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.271923] Call Trace: [ 13.271936] <TASK> [ 13.271951] dump_stack_lvl+0x73/0xb0 [ 13.271976] print_report+0xd1/0x650 [ 13.271999] ? __virt_addr_valid+0x1db/0x2d0 [ 13.272022] ? kasan_global_oob_right+0x286/0x2d0 [ 13.272044] ? kasan_addr_to_slab+0x11/0xa0 [ 13.272067] ? kasan_global_oob_right+0x286/0x2d0 [ 13.272091] kasan_report+0x141/0x180 [ 13.272115] ? kasan_global_oob_right+0x286/0x2d0 [ 13.272154] __asan_report_load1_noabort+0x18/0x20 [ 13.272176] kasan_global_oob_right+0x286/0x2d0 [ 13.272198] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.272223] ? __schedule+0x10cc/0x2b30 [ 13.272247] ? __pfx_read_tsc+0x10/0x10 [ 13.272267] ? ktime_get_ts64+0x86/0x230 [ 13.272292] kunit_try_run_case+0x1a5/0x480 [ 13.272315] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.272350] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.272374] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.272408] ? __kthread_parkme+0x82/0x180 [ 13.272429] ? preempt_count_sub+0x50/0x80 [ 13.272454] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.272477] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.272499] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.272521] kthread+0x337/0x6f0 [ 13.272541] ? trace_preempt_on+0x20/0xc0 [ 13.272564] ? __pfx_kthread+0x10/0x10 [ 13.272586] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.272607] ? calculate_sigpending+0x7b/0xa0 [ 13.272628] ? __pfx_kthread+0x10/0x10 [ 13.272650] ret_from_fork+0x41/0x80 [ 13.272670] ? __pfx_kthread+0x10/0x10 [ 13.272691] ret_from_fork_asm+0x1a/0x30 [ 13.272723] </TASK> [ 13.272733] [ 13.283837] The buggy address belongs to the variable: [ 13.284101] global_array+0xd/0x40 [ 13.284570] [ 13.284667] The buggy address belongs to the physical page: [ 13.285088] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14009a [ 13.285559] flags: 0x200000000002000(reserved|node=0|zone=2) [ 13.285794] raw: 0200000000002000 ffffea0005002688 ffffea0005002688 0000000000000000 [ 13.286066] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.286484] page dumped because: kasan: bad access detected [ 13.286926] [ 13.287007] Memory state around the buggy address: [ 13.287297] ffffffff8d09a180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.287794] ffffffff8d09a200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.288048] >ffffffff8d09a280: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 13.288592] ^ [ 13.288773] ffffffff8d09a300: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 13.289065] ffffffff8d09a380: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 13.289622] ==================================================================
[ 23.348348] ================================================================== [ 23.349505] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 23.350219] Read of size 1 at addr ffff800087b3e48d by task kunit_try_catch/299 [ 23.350923] [ 23.351098] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 23.351164] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.351183] Hardware name: Radxa ROCK Pi 4B (DT) [ 23.351206] Call trace: [ 23.351222] show_stack+0x20/0x38 (C) [ 23.351267] dump_stack_lvl+0x8c/0xd0 [ 23.351307] print_report+0x310/0x608 [ 23.351345] kasan_report+0xdc/0x128 [ 23.351381] __asan_report_load1_noabort+0x20/0x30 [ 23.351424] kasan_global_oob_right+0x230/0x270 [ 23.351468] kunit_try_run_case+0x170/0x3f0 [ 23.351513] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 23.351563] kthread+0x328/0x630 [ 23.351606] ret_from_fork+0x10/0x20 [ 23.351648] [ 23.357302] The buggy address belongs to the variable: [ 23.357786] global_array+0xd/0x40 [ 23.358132] [ 23.358305] The buggy address belongs to the virtual mapping at [ 23.358305] [ffff800085d10000, ffff800087bf1000) created by: [ 23.358305] paging_init+0x670/0x7d0 [ 23.359708] [ 23.359871] The buggy address belongs to the physical page: [ 23.360397] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa33e [ 23.361134] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 23.361844] raw: 03fffe0000002000 fffffdffc028cf88 fffffdffc028cf88 0000000000000000 [ 23.362572] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 23.363292] page dumped because: kasan: bad access detected [ 23.363817] [ 23.363978] Memory state around the buggy address: [ 23.364436] ffff800087b3e380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.365114] ffff800087b3e400: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 23.365791] >ffff800087b3e480: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 23.366465] ^ [ 23.366808] ffff800087b3e500: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 23.367486] ffff800087b3e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.368158] ==================================================================