Date
July 8, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.909359] ================================================================== [ 30.909434] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 30.909494] Write of size 1 at addr fff00000c9a2600a by task kunit_try_catch/177 [ 30.909543] [ 30.909583] CPU: 0 UID: 0 PID: 177 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250708 #1 PREEMPT [ 30.909668] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.909702] Hardware name: linux,dummy-virt (DT) [ 30.909740] Call trace: [ 30.909769] show_stack+0x20/0x38 (C) [ 30.909816] dump_stack_lvl+0x8c/0xd0 [ 30.909868] print_report+0x118/0x5d0 [ 30.909925] kasan_report+0xdc/0x128 [ 30.909971] __asan_report_store1_noabort+0x20/0x30 [ 30.910032] kmalloc_large_oob_right+0x278/0x2b8 [ 30.910080] kunit_try_run_case+0x170/0x3f0 [ 30.910128] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.910180] kthread+0x328/0x630 [ 30.910234] ret_from_fork+0x10/0x20 [ 30.910281] [ 30.910314] The buggy address belongs to the physical page: [ 30.910345] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a24 [ 30.910395] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 30.910439] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 30.910494] page_type: f8(unknown) [ 30.910532] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 30.910579] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 30.910626] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 30.910817] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 30.910886] head: 0bfffe0000000002 ffffc1ffc3268901 00000000ffffffff 00000000ffffffff [ 30.910944] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 30.910992] page dumped because: kasan: bad access detected [ 30.911047] [ 30.911066] Memory state around the buggy address: [ 30.911107] fff00000c9a25f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.911155] fff00000c9a25f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.911196] >fff00000c9a26000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 30.911256] ^ [ 30.911293] fff00000c9a26080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 30.911333] fff00000c9a26100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 30.911586] ==================================================================
[ 22.856934] ================================================================== [ 22.858618] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 22.859624] Write of size 1 at addr ffff88810631600a by task kunit_try_catch/194 [ 22.860491] [ 22.860615] CPU: 0 UID: 0 PID: 194 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) [ 22.860672] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.860685] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.860708] Call Trace: [ 22.860723] <TASK> [ 22.860751] dump_stack_lvl+0x73/0xb0 [ 22.860786] print_report+0xd1/0x610 [ 22.860811] ? __virt_addr_valid+0x1db/0x2d0 [ 22.860838] ? kmalloc_large_oob_right+0x2e9/0x330 [ 22.860859] ? kasan_addr_to_slab+0x11/0xa0 [ 22.860879] ? kmalloc_large_oob_right+0x2e9/0x330 [ 22.860901] kasan_report+0x141/0x180 [ 22.860924] ? kmalloc_large_oob_right+0x2e9/0x330 [ 22.860950] __asan_report_store1_noabort+0x1b/0x30 [ 22.860977] kmalloc_large_oob_right+0x2e9/0x330 [ 22.860999] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 22.861021] ? __schedule+0x10cc/0x2b60 [ 22.861052] ? __pfx_read_tsc+0x10/0x10 [ 22.861077] ? ktime_get_ts64+0x86/0x230 [ 22.861105] kunit_try_run_case+0x1a5/0x480 [ 22.861130] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.861150] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 22.861172] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 22.861206] ? __kthread_parkme+0x82/0x180 [ 22.861228] ? preempt_count_sub+0x50/0x80 [ 22.861261] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.861283] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.861310] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 22.861336] kthread+0x337/0x6f0 [ 22.861358] ? trace_preempt_on+0x20/0xc0 [ 22.861383] ? __pfx_kthread+0x10/0x10 [ 22.861406] ? _raw_spin_unlock_irq+0x47/0x80 [ 22.861433] ? calculate_sigpending+0x7b/0xa0 [ 22.861462] ? __pfx_kthread+0x10/0x10 [ 22.861486] ret_from_fork+0x116/0x1d0 [ 22.861506] ? __pfx_kthread+0x10/0x10 [ 22.861528] ret_from_fork_asm+0x1a/0x30 [ 22.861563] </TASK> [ 22.861574] [ 22.869505] The buggy address belongs to the physical page: [ 22.869710] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106314 [ 22.870284] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 22.870616] flags: 0x200000000000040(head|node=0|zone=2) [ 22.871009] page_type: f8(unknown) [ 22.871196] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 22.871488] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 22.871899] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 22.872250] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 22.872591] head: 0200000000000002 ffffea000418c501 00000000ffffffff 00000000ffffffff [ 22.873019] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 22.873359] page dumped because: kasan: bad access detected [ 22.873587] [ 22.873668] Memory state around the buggy address: [ 22.874074] ffff888106315f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.874384] ffff888106315f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.874675] >ffff888106316000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 22.875069] ^ [ 22.875260] ffff888106316080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 22.875496] ffff888106316100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 22.875734] ==================================================================