Date
June 19, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 29.915346] ================================================================== [ 29.915547] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 29.915703] Write of size 1 at addr fff00000c754200a by task kunit_try_catch/157 [ 29.915827] [ 29.916628] CPU: 1 UID: 0 PID: 157 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT [ 29.916884] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.916949] Hardware name: linux,dummy-virt (DT) [ 29.917029] Call trace: [ 29.917095] show_stack+0x20/0x38 (C) [ 29.917239] dump_stack_lvl+0x8c/0xd0 [ 29.917310] print_report+0x118/0x608 [ 29.917364] kasan_report+0xdc/0x128 [ 29.917425] __asan_report_store1_noabort+0x20/0x30 [ 29.917646] kmalloc_large_oob_right+0x278/0x2b8 [ 29.917760] kunit_try_run_case+0x170/0x3f0 [ 29.917910] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.918167] kthread+0x328/0x630 [ 29.918302] ret_from_fork+0x10/0x20 [ 29.918438] [ 29.918537] The buggy address belongs to the physical page: [ 29.918623] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xfff00000c7546600 pfn:0x107540 [ 29.918804] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 29.918919] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 29.919077] page_type: f8(unknown) [ 29.919166] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 29.919259] raw: fff00000c7546600 0000000000000000 00000000f8000000 0000000000000000 [ 29.919360] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 29.919452] head: fff00000c7546600 0000000000000000 00000000f8000000 0000000000000000 [ 29.919545] head: 0bfffe0000000002 ffffc1ffc31d5001 00000000ffffffff 00000000ffffffff [ 29.919654] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 29.919787] page dumped because: kasan: bad access detected [ 29.919900] [ 29.920052] Memory state around the buggy address: [ 29.920134] fff00000c7541f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.920239] fff00000c7541f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.920345] >fff00000c7542000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 29.920442] ^ [ 29.920512] fff00000c7542080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 29.921340] fff00000c7542100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 29.921461] ==================================================================
[ 26.090828] ================================================================== [ 26.091662] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 26.091994] Write of size 1 at addr ffff888102aea00a by task kunit_try_catch/175 [ 26.092705] [ 26.092983] CPU: 1 UID: 0 PID: 175 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) [ 26.093097] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.093136] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.093176] Call Trace: [ 26.093204] <TASK> [ 26.093241] dump_stack_lvl+0x73/0xb0 [ 26.093327] print_report+0xd1/0x650 [ 26.093392] ? __virt_addr_valid+0x1db/0x2d0 [ 26.093443] ? kmalloc_large_oob_right+0x2e9/0x330 [ 26.093492] ? kasan_addr_to_slab+0x11/0xa0 [ 26.093548] ? kmalloc_large_oob_right+0x2e9/0x330 [ 26.093591] kasan_report+0x141/0x180 [ 26.093639] ? kmalloc_large_oob_right+0x2e9/0x330 [ 26.093697] __asan_report_store1_noabort+0x1b/0x30 [ 26.093751] kmalloc_large_oob_right+0x2e9/0x330 [ 26.093792] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 26.093836] ? __schedule+0x10cc/0x2b60 [ 26.093884] ? __pfx_read_tsc+0x10/0x10 [ 26.093922] ? ktime_get_ts64+0x86/0x230 [ 26.093984] kunit_try_run_case+0x1a5/0x480 [ 26.094046] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.094084] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.094138] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.094175] ? __kthread_parkme+0x82/0x180 [ 26.094213] ? preempt_count_sub+0x50/0x80 [ 26.094252] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.094290] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.094329] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.094368] kthread+0x337/0x6f0 [ 26.094400] ? trace_preempt_on+0x20/0xc0 [ 26.094442] ? __pfx_kthread+0x10/0x10 [ 26.094481] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.094516] ? calculate_sigpending+0x7b/0xa0 [ 26.094560] ? __pfx_kthread+0x10/0x10 [ 26.094603] ret_from_fork+0x116/0x1d0 [ 26.094641] ? __pfx_kthread+0x10/0x10 [ 26.094682] ret_from_fork_asm+0x1a/0x30 [ 26.094737] </TASK> [ 26.094757] [ 26.106886] The buggy address belongs to the physical page: [ 26.107761] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102ae8 [ 26.108695] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 26.109470] flags: 0x200000000000040(head|node=0|zone=2) [ 26.110211] page_type: f8(unknown) [ 26.110582] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 26.110994] raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 26.111949] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 26.112557] head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000 [ 26.113148] head: 0200000000000002 ffffea00040aba01 00000000ffffffff 00000000ffffffff [ 26.113531] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 26.113885] page dumped because: kasan: bad access detected [ 26.114486] [ 26.114670] Memory state around the buggy address: [ 26.115579] ffff888102ae9f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.116282] ffff888102ae9f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.116603] >ffff888102aea000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.117260] ^ [ 26.117574] ffff888102aea080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.118124] ffff888102aea100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 26.118586] ==================================================================