Date
July 20, 2025, 8:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 14.938838] ================================================================== [ 14.939200] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 14.939328] Write of size 1 at addr fff00000c769a00a by task kunit_try_catch/147 [ 14.939382] [ 14.939442] CPU: 1 UID: 0 PID: 147 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 14.939553] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.939579] Hardware name: linux,dummy-virt (DT) [ 14.939609] Call trace: [ 14.939648] show_stack+0x20/0x38 (C) [ 14.939829] dump_stack_lvl+0x8c/0xd0 [ 14.939895] print_report+0x118/0x5d0 [ 14.940030] kasan_report+0xdc/0x128 [ 14.940124] __asan_report_store1_noabort+0x20/0x30 [ 14.940184] kmalloc_large_oob_right+0x278/0x2b8 [ 14.940242] kunit_try_run_case+0x170/0x3f0 [ 14.940287] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 14.940348] kthread+0x328/0x630 [ 14.940398] ret_from_fork+0x10/0x20 [ 14.940445] [ 14.940491] The buggy address belongs to the physical page: [ 14.940523] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107698 [ 14.940584] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 14.940629] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 14.940684] page_type: f8(unknown) [ 14.940721] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 14.940775] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 14.940824] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 14.940870] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 14.941373] head: 0bfffe0000000002 ffffc1ffc31da601 00000000ffffffff 00000000ffffffff [ 14.941422] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 14.941719] page dumped because: kasan: bad access detected [ 14.942155] [ 14.942201] Memory state around the buggy address: [ 14.942254] fff00000c7699f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.942323] fff00000c7699f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.942375] >fff00000c769a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 14.942483] ^ [ 14.942549] fff00000c769a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 14.942858] fff00000c769a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 14.942922] ==================================================================
[ 12.443377] ================================================================== [ 12.443929] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 12.444423] Write of size 1 at addr ffff88810280e00a by task kunit_try_catch/164 [ 12.444790] [ 12.445011] CPU: 0 UID: 0 PID: 164 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 12.445080] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.445090] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.445130] Call Trace: [ 12.445143] <TASK> [ 12.445160] dump_stack_lvl+0x73/0xb0 [ 12.445217] print_report+0xd1/0x610 [ 12.445239] ? __virt_addr_valid+0x1db/0x2d0 [ 12.445262] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.445283] ? kasan_addr_to_slab+0x11/0xa0 [ 12.445302] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.445323] kasan_report+0x141/0x180 [ 12.445344] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.445369] __asan_report_store1_noabort+0x1b/0x30 [ 12.445393] kmalloc_large_oob_right+0x2e9/0x330 [ 12.445414] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 12.445437] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 12.445463] kunit_try_run_case+0x1a5/0x480 [ 12.445499] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.445521] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.445547] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.445569] ? __kthread_parkme+0x82/0x180 [ 12.445589] ? preempt_count_sub+0x50/0x80 [ 12.445613] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.445635] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.445658] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.445680] kthread+0x337/0x6f0 [ 12.445699] ? trace_preempt_on+0x20/0xc0 [ 12.445722] ? __pfx_kthread+0x10/0x10 [ 12.445741] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.445762] ? calculate_sigpending+0x7b/0xa0 [ 12.445799] ? __pfx_kthread+0x10/0x10 [ 12.445820] ret_from_fork+0x116/0x1d0 [ 12.445839] ? __pfx_kthread+0x10/0x10 [ 12.445858] ret_from_fork_asm+0x1a/0x30 [ 12.445888] </TASK> [ 12.445897] [ 12.458379] The buggy address belongs to the physical page: [ 12.458593] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10280c [ 12.458972] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 12.459740] flags: 0x200000000000040(head|node=0|zone=2) [ 12.460249] page_type: f8(unknown) [ 12.460577] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.461354] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.461922] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.462526] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.463288] head: 0200000000000002 ffffea00040a0301 00000000ffffffff 00000000ffffffff [ 12.463659] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 12.464424] page dumped because: kasan: bad access detected [ 12.465025] [ 12.465192] Memory state around the buggy address: [ 12.465465] ffff88810280df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.465698] ffff88810280df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.466281] >ffff88810280e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.466916] ^ [ 12.467319] ffff88810280e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.468094] ffff88810280e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.468444] ==================================================================