Date
July 22, 2025, 2:40 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 16.907618] ================================================================== [ 16.908210] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 16.908704] Write of size 1 at addr fff00000c788a00a by task kunit_try_catch/148 [ 16.908993] [ 16.909044] CPU: 0 UID: 0 PID: 148 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT [ 16.909226] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.909252] Hardware name: linux,dummy-virt (DT) [ 16.909295] Call trace: [ 16.909318] show_stack+0x20/0x38 (C) [ 16.909371] dump_stack_lvl+0x8c/0xd0 [ 16.909425] print_report+0x118/0x5d0 [ 16.909470] kasan_report+0xdc/0x128 [ 16.909513] __asan_report_store1_noabort+0x20/0x30 [ 16.910047] kmalloc_large_oob_right+0x278/0x2b8 [ 16.910122] kunit_try_run_case+0x170/0x3f0 [ 16.910194] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.910243] kthread+0x328/0x630 [ 16.910465] ret_from_fork+0x10/0x20 [ 16.910926] [ 16.910985] The buggy address belongs to the physical page: [ 16.911386] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107888 [ 16.911735] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.912205] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 16.912337] page_type: f8(unknown) [ 16.912992] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.913072] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.913202] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.913437] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.913528] head: 0bfffe0000000002 ffffc1ffc31e2201 00000000ffffffff 00000000ffffffff [ 16.913741] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 16.913841] page dumped because: kasan: bad access detected [ 16.914066] [ 16.914174] Memory state around the buggy address: [ 16.914320] fff00000c7889f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.914434] fff00000c7889f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.914479] >fff00000c788a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.914794] ^ [ 16.914917] fff00000c788a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.914962] fff00000c788a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.915003] ==================================================================
[ 10.544779] ================================================================== [ 10.545376] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 10.545827] Write of size 1 at addr ffff888102d6600a by task kunit_try_catch/166 [ 10.546219] [ 10.546412] CPU: 0 UID: 0 PID: 166 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT(voluntary) [ 10.546457] Tainted: [B]=BAD_PAGE, [N]=TEST [ 10.546467] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 10.546487] Call Trace: [ 10.546499] <TASK> [ 10.546529] dump_stack_lvl+0x73/0xb0 [ 10.546554] print_report+0xd1/0x610 [ 10.546575] ? __virt_addr_valid+0x1db/0x2d0 [ 10.546596] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.546647] ? kasan_addr_to_slab+0x11/0xa0 [ 10.546668] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.546690] kasan_report+0x141/0x180 [ 10.546750] ? kmalloc_large_oob_right+0x2e9/0x330 [ 10.546778] __asan_report_store1_noabort+0x1b/0x30 [ 10.546798] kmalloc_large_oob_right+0x2e9/0x330 [ 10.546820] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 10.546843] ? __schedule+0x10c6/0x2b60 [ 10.546866] ? __pfx_read_tsc+0x10/0x10 [ 10.546885] ? ktime_get_ts64+0x86/0x230 [ 10.546910] kunit_try_run_case+0x1a5/0x480 [ 10.546931] ? __pfx_kunit_try_run_case+0x10/0x10 [ 10.546948] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 10.546968] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 10.546991] ? __kthread_parkme+0x82/0x180 [ 10.547012] ? preempt_count_sub+0x50/0x80 [ 10.547064] ? __pfx_kunit_try_run_case+0x10/0x10 [ 10.547083] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 10.547105] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 10.547138] kthread+0x337/0x6f0 [ 10.547154] ? trace_preempt_on+0x20/0xc0 [ 10.547177] ? __pfx_kthread+0x10/0x10 [ 10.547195] ? _raw_spin_unlock_irq+0x47/0x80 [ 10.547216] ? calculate_sigpending+0x7b/0xa0 [ 10.547246] ? __pfx_kthread+0x10/0x10 [ 10.547264] ret_from_fork+0x41/0x80 [ 10.547284] ? __pfx_kthread+0x10/0x10 [ 10.547301] ret_from_fork_asm+0x1a/0x30 [ 10.547332] </TASK> [ 10.547342] [ 10.557539] The buggy address belongs to the physical page: [ 10.557898] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102d64 [ 10.558340] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 10.558889] flags: 0x200000000000040(head|node=0|zone=2) [ 10.559283] page_type: f8(unknown) [ 10.559758] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 10.561027] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 10.561955] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 10.562636] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 10.562984] head: 0200000000000002 ffffea00040b5901 00000000ffffffff 00000000ffffffff [ 10.564172] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 10.564798] page dumped because: kasan: bad access detected [ 10.565274] [ 10.565349] Memory state around the buggy address: [ 10.565507] ffff888102d65f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 10.565742] ffff888102d65f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 10.566234] >ffff888102d66000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.566855] ^ [ 10.567034] ffff888102d66080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.567584] ffff888102d66100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 10.568080] ==================================================================