Date
July 1, 2025, 3:08 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 16.744992] ================================================================== [ 16.745071] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 16.745130] Write of size 1 at addr fff00000c692e00a by task kunit_try_catch/147 [ 16.745179] [ 16.745217] CPU: 1 UID: 0 PID: 147 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 16.745985] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.746021] Hardware name: linux,dummy-virt (DT) [ 16.746054] Call trace: [ 16.746077] show_stack+0x20/0x38 (C) [ 16.746193] dump_stack_lvl+0x8c/0xd0 [ 16.746268] print_report+0x118/0x608 [ 16.746314] kasan_report+0xdc/0x128 [ 16.746359] __asan_report_store1_noabort+0x20/0x30 [ 16.746408] kmalloc_large_oob_right+0x278/0x2b8 [ 16.746454] kunit_try_run_case+0x170/0x3f0 [ 16.747346] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.747611] kthread+0x328/0x630 [ 16.747677] ret_from_fork+0x10/0x20 [ 16.747726] [ 16.748112] The buggy address belongs to the physical page: [ 16.748155] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10692c [ 16.748736] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.748805] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 16.749291] page_type: f8(unknown) [ 16.749384] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.749436] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.749668] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.749718] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.749945] head: 0bfffe0000000002 ffffc1ffc31a4b01 00000000ffffffff 00000000ffffffff [ 16.749995] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 16.750448] page dumped because: kasan: bad access detected [ 16.750484] [ 16.750502] Memory state around the buggy address: [ 16.750778] fff00000c692df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.750833] fff00000c692df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.751077] >fff00000c692e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.751412] ^ [ 16.751629] fff00000c692e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.751950] fff00000c692e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.751991] ==================================================================
[ 11.018996] ================================================================== [ 11.019507] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 11.019877] Write of size 1 at addr ffff88810291600a by task kunit_try_catch/163 [ 11.020240] [ 11.020364] CPU: 0 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 11.020410] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.020422] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.020443] Call Trace: [ 11.020456] <TASK> [ 11.020475] dump_stack_lvl+0x73/0xb0 [ 11.020505] print_report+0xd1/0x650 [ 11.020528] ? __virt_addr_valid+0x1db/0x2d0 [ 11.020552] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.020572] ? kasan_addr_to_slab+0x11/0xa0 [ 11.020592] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.020613] kasan_report+0x141/0x180 [ 11.020634] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.020762] __asan_report_store1_noabort+0x1b/0x30 [ 11.020789] kmalloc_large_oob_right+0x2e9/0x330 [ 11.020811] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.020833] ? __schedule+0x10cc/0x2b60 [ 11.020855] ? __pfx_read_tsc+0x10/0x10 [ 11.020876] ? ktime_get_ts64+0x86/0x230 [ 11.020900] kunit_try_run_case+0x1a5/0x480 [ 11.020924] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.020945] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.020968] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.020989] ? __kthread_parkme+0x82/0x180 [ 11.021010] ? preempt_count_sub+0x50/0x80 [ 11.021049] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.021071] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.021093] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.021114] kthread+0x337/0x6f0 [ 11.021132] ? trace_preempt_on+0x20/0xc0 [ 11.021156] ? __pfx_kthread+0x10/0x10 [ 11.021175] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.021195] ? calculate_sigpending+0x7b/0xa0 [ 11.021218] ? __pfx_kthread+0x10/0x10 [ 11.021238] ret_from_fork+0x116/0x1d0 [ 11.021255] ? __pfx_kthread+0x10/0x10 [ 11.021275] ret_from_fork_asm+0x1a/0x30 [ 11.021305] </TASK> [ 11.021316] [ 11.031274] The buggy address belongs to the physical page: [ 11.031539] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102914 [ 11.032399] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.032935] flags: 0x200000000000040(head|node=0|zone=2) [ 11.033220] page_type: f8(unknown) [ 11.033388] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.034003] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.034456] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.034860] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.035341] head: 0200000000000002 ffffea00040a4501 00000000ffffffff 00000000ffffffff [ 11.035961] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 11.036434] page dumped because: kasan: bad access detected [ 11.036656] [ 11.036934] Memory state around the buggy address: [ 11.037121] ffff888102915f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.037618] ffff888102915f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.038276] >ffff888102916000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.038635] ^ [ 11.038917] ffff888102916080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.039235] ffff888102916100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.039563] ==================================================================