Date
May 12, 2025, 6:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.637179] ================================================================== [ 20.637766] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x230/0x270 [ 20.638366] Read of size 1 at addr ffffac220aa8910d by task kunit_try_catch/234 [ 20.639190] [ 20.639546] CPU: 1 UID: 0 PID: 234 Comm: kunit_try_catch Tainted: G B N 6.14.7-rc1 #1 [ 20.639669] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.639703] Hardware name: linux,dummy-virt (DT) [ 20.639755] Call trace: [ 20.640260] show_stack+0x20/0x38 (C) [ 20.640350] dump_stack_lvl+0x8c/0xd0 [ 20.640424] print_report+0x310/0x608 [ 20.640484] kasan_report+0xdc/0x128 [ 20.640539] __asan_report_load1_noabort+0x20/0x30 [ 20.640592] kasan_global_oob_right+0x230/0x270 [ 20.640646] kunit_try_run_case+0x170/0x3f0 [ 20.640701] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.640777] kthread+0x318/0x620 [ 20.640832] ret_from_fork+0x10/0x20 [ 20.640914] [ 20.643680] The buggy address belongs to the variable: [ 20.643987] global_array+0xd/0x40 [ 20.644288] [ 20.644588] The buggy address belongs to the virtual mapping at [ 20.644588] [ffffac2208d10000, ffffac220ab41000) created by: [ 20.644588] paging_init+0x66c/0x7d0 [ 20.645303] [ 20.645627] The buggy address belongs to the physical page: [ 20.645860] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x47a89 [ 20.646342] flags: 0x3fffe0000002000(reserved|node=0|zone=0|lastcpupid=0x1ffff) [ 20.646957] raw: 03fffe0000002000 ffffc1ffc01ea248 ffffc1ffc01ea248 0000000000000000 [ 20.647375] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.647760] page dumped because: kasan: bad access detected [ 20.648202] [ 20.648361] Memory state around the buggy address: [ 20.648588] ffffac220aa89000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.648957] ffffac220aa89080: 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 f9 [ 20.649362] >ffffac220aa89100: 00 02 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 20.649701] ^ [ 20.650027] ffffac220aa89180: 00 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 20.650355] ffffac220aa89200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.650758] ==================================================================
[ 14.174432] ================================================================== [ 14.176426] BUG: KASAN: global-out-of-bounds in kasan_global_oob_right+0x288/0x2d0 [ 14.177592] Read of size 1 at addr ffffffffa681ed4d by task kunit_try_catch/253 [ 14.177965] [ 14.178402] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.14.7-rc1 #1 [ 14.178556] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.178572] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.178597] Call Trace: [ 14.178618] <TASK> [ 14.178640] dump_stack_lvl+0x73/0xb0 [ 14.178675] print_report+0xd1/0x650 [ 14.178700] ? __virt_addr_valid+0x1db/0x2d0 [ 14.178724] ? kasan_global_oob_right+0x288/0x2d0 [ 14.178745] ? kasan_addr_to_slab+0x11/0xa0 [ 14.178766] ? kasan_global_oob_right+0x288/0x2d0 [ 14.178786] kasan_report+0x140/0x180 [ 14.178808] ? kasan_global_oob_right+0x288/0x2d0 [ 14.178833] __asan_report_load1_noabort+0x18/0x20 [ 14.178871] kasan_global_oob_right+0x288/0x2d0 [ 14.178892] ? __pfx_kasan_global_oob_right+0x10/0x10 [ 14.178916] ? __schedule+0xce8/0x2840 [ 14.178942] ? __pfx_read_tsc+0x10/0x10 [ 14.178965] ? ktime_get_ts64+0x86/0x230 [ 14.178992] kunit_try_run_case+0x1a6/0x480 [ 14.179074] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.179096] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 14.179117] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.179143] ? __kthread_parkme+0x82/0x160 [ 14.179166] ? preempt_count_sub+0x50/0x80 [ 14.179192] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.179214] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.179240] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.179266] kthread+0x324/0x6e0 [ 14.179287] ? trace_preempt_on+0x20/0xc0 [ 14.179311] ? __pfx_kthread+0x10/0x10 [ 14.179332] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.179356] ? calculate_sigpending+0x7b/0xa0 [ 14.179378] ? __pfx_kthread+0x10/0x10 [ 14.179400] ret_from_fork+0x41/0x80 [ 14.179422] ? __pfx_kthread+0x10/0x10 [ 14.179444] ret_from_fork_asm+0x1a/0x30 [ 14.179478] </TASK> [ 14.179490] [ 14.190375] The buggy address belongs to the variable: [ 14.190640] global_array+0xd/0x40 [ 14.190948] [ 14.191325] The buggy address belongs to the physical page: [ 14.191966] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x16a21e [ 14.192382] flags: 0x200000000002000(reserved|node=0|zone=2) [ 14.192716] raw: 0200000000002000 ffffea0005a88788 ffffea0005a88788 0000000000000000 [ 14.193105] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.193414] page dumped because: kasan: bad access detected [ 14.193765] [ 14.193923] Memory state around the buggy address: [ 14.194182] ffffffffa681ec00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.194626] ffffffffa681ec80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.194953] >ffffffffa681ed00: 00 00 00 00 00 00 00 00 00 02 f9 f9 f9 f9 f9 f9 [ 14.195357] ^ [ 14.195688] ffffffffa681ed80: 00 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 [ 14.195965] ffffffffa681ee00: 02 f9 f9 f9 f9 f9 f9 f9 01 f9 f9 f9 f9 f9 f9 f9 [ 14.196381] ==================================================================