Date
July 2, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.295723] ================================================================== [ 20.295835] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 20.295895] Read of size 1 at addr ffff9689b754f5cd by task kunit_try_catch/245 [ 20.295946] [ 20.295992] CPU: 0 UID: 0 PID: 245 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.296079] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.296107] Hardware name: linux,dummy-virt (DT) [ 20.296141] Call trace: [ 20.296666] show_stack+0x20/0x38 (C) [ 20.296929] dump_stack_lvl+0x8c/0xd0 [ 20.297107] print_report+0x310/0x608 [ 20.297268] kasan_report+0xdc/0x128 [ 20.297319] __asan_report_load1_noabort+0x20/0x30 [ 20.297607] kasan_global_oob_right+0x230/0x270 [ 20.297811] kunit_try_run_case+0x170/0x3f0 [ 20.297945] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.298114] kthread+0x328/0x630 [ 20.298209] ret_from_fork+0x10/0x20 [ 20.298697] [ 20.298950] The buggy address belongs to the variable: [ 20.299188] global_array+0xd/0x40 [ 20.299341] [ 20.299901] The buggy address belongs to the virtual mapping at [ 20.299901] [ffff9689b5700000, ffff9689b7601000) created by: [ 20.299901] paging_init+0x66c/0x7d0 [ 20.300170] [ 20.300565] The buggy address belongs to the physical page: [ 20.300769] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47d4f [ 20.300917] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 20.301114] raw: 03fffe0000002000 ffffc1ffc01f53c8 ffffc1ffc01f53c8 0000000000000000 [ 20.301298] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.301341] page dumped because: kasan: bad access detected [ 20.301383] [ 20.301402] Memory state around the buggy address: [ 20.301657] ffff9689b754f480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.301850] ffff9689b754f500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.301997] >ffff9689b754f580: 02 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9 [ 20.302083] ^ [ 20.302260] ffff9689b754f600: 04 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 20.302339] ffff9689b754f680: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 20.302378] ==================================================================
[ 13.213682] ================================================================== [ 13.214294] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x286/0x2d0 [ 13.214845] Read of size 1 at addr ffffffff8ce61e8d by task kunit_try_catch/264 [ 13.215196] [ 13.215586] CPU: 0 UID: 0 PID: 264 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.215640] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.215653] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.215681] Call Trace: [ 13.215693] <TASK> [ 13.215711] dump_stack_lvl+0x73/0xb0 [ 13.215741] print_report+0xd1/0x650 [ 13.215765] ? __virt_addr_valid+0x1db/0x2d0 [ 13.215788] ? kasan_global_oob_right+0x286/0x2d0 [ 13.215808] ? kasan_addr_to_slab+0x11/0xa0 [ 13.215828] ? kasan_global_oob_right+0x286/0x2d0 [ 13.215849] kasan_report+0x141/0x180 [ 13.215871] ? kasan_global_oob_right+0x286/0x2d0 [ 13.215896] __asan_report_load1_noabort+0x18/0x20 [ 13.215920] kasan_global_oob_right+0x286/0x2d0 [ 13.215941] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 13.215964] ? __schedule+0x10cc/0x2b60 [ 13.215986] ? __pfx_read_tsc+0x10/0x10 [ 13.216007] ? ktime_get_ts64+0x86/0x230 [ 13.216030] kunit_try_run_case+0x1a5/0x480 [ 13.216055] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.216076] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.216099] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.216120] ? __kthread_parkme+0x82/0x180 [ 13.216141] ? preempt_count_sub+0x50/0x80 [ 13.216165] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.216187] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.216210] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.216232] kthread+0x337/0x6f0 [ 13.216251] ? trace_preempt_on+0x20/0xc0 [ 13.216274] ? __pfx_kthread+0x10/0x10 [ 13.216295] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.216315] ? calculate_sigpending+0x7b/0xa0 [ 13.216338] ? __pfx_kthread+0x10/0x10 [ 13.216371] ret_from_fork+0x116/0x1d0 [ 13.216389] ? __pfx_kthread+0x10/0x10 [ 13.216409] ret_from_fork_asm+0x1a/0x30 [ 13.216439] </TASK> [ 13.216451] [ 13.228723] The buggy address belongs to the variable: [ 13.229165] global_array+0xd/0x40 [ 13.229516] [ 13.229895] The buggy address belongs to the physical page: [ 13.230143] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x136a61 [ 13.230482] flags: 0x200000000002000(reserved|node=0|zone=2) [ 13.230750] raw: 0200000000002000 ffffea0004da9848 ffffea0004da9848 0000000000000000 [ 13.231333] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.231743] page dumped because: kasan: bad access detected [ 13.232165] [ 13.232247] Memory state around the buggy address: [ 13.232663] ffffffff8ce61d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.233175] ffffffff8ce61e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.233650] >ffffffff8ce61e80: 00 02 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 [ 13.234091] ^ [ 13.234225] ffffffff8ce61f00: 04 f9 f9 f9 f9 f9 f9 f9 02 f9 f9 f9 f9 f9 f9 f9 [ 13.234691] ffffffff8ce61f80: 01 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 [ 13.235160] ==================================================================