Date
July 3, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.289121] ================================================================== [ 19.289302] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 19.289440] Write of size 1 at addr fff00000c656600a by task kunit_try_catch/146 [ 19.289549] [ 19.289637] CPU: 0 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 19.290492] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.290623] Hardware name: linux,dummy-virt (DT) [ 19.290902] Call trace: [ 19.290979] show_stack+0x20/0x38 (C) [ 19.291165] dump_stack_lvl+0x8c/0xd0 [ 19.291263] print_report+0x118/0x608 [ 19.291429] kasan_report+0xdc/0x128 [ 19.291653] __asan_report_store1_noabort+0x20/0x30 [ 19.292150] kmalloc_large_oob_right+0x278/0x2b8 [ 19.292356] kunit_try_run_case+0x170/0x3f0 [ 19.292712] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.292950] kthread+0x328/0x630 [ 19.293168] ret_from_fork+0x10/0x20 [ 19.293371] [ 19.293855] The buggy address belongs to the physical page: [ 19.293923] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106564 [ 19.293989] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 19.294056] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 19.294134] page_type: f8(unknown) [ 19.294180] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.294229] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.294276] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.294323] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.294369] head: 0bfffe0000000002 ffffc1ffc3195901 00000000ffffffff 00000000ffffffff [ 19.294415] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 19.294453] page dumped because: kasan: bad access detected [ 19.294483] [ 19.294502] Memory state around the buggy address: [ 19.294536] fff00000c6565f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.294578] fff00000c6565f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.294618] >fff00000c6566000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.294654] ^ [ 19.294683] fff00000c6566080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.294722] fff00000c6566100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 19.294758] ==================================================================
[ 10.999748] ================================================================== [ 11.000321] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 11.000677] Write of size 1 at addr ffff88810394a00a by task kunit_try_catch/163 [ 11.001114] [ 11.001256] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 11.001298] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.001309] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.001328] Call Trace: [ 11.001340] <TASK> [ 11.001354] dump_stack_lvl+0x73/0xb0 [ 11.001383] print_report+0xd1/0x650 [ 11.001404] ? __virt_addr_valid+0x1db/0x2d0 [ 11.001427] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.001447] ? kasan_addr_to_slab+0x11/0xa0 [ 11.001466] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.001487] kasan_report+0x141/0x180 [ 11.001508] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.001533] __asan_report_store1_noabort+0x1b/0x30 [ 11.001552] kmalloc_large_oob_right+0x2e9/0x330 [ 11.001573] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.001594] ? __schedule+0x10cc/0x2b60 [ 11.001615] ? __pfx_read_tsc+0x10/0x10 [ 11.001636] ? ktime_get_ts64+0x86/0x230 [ 11.001659] kunit_try_run_case+0x1a5/0x480 [ 11.001683] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.001704] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.001726] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.001747] ? __kthread_parkme+0x82/0x180 [ 11.001767] ? preempt_count_sub+0x50/0x80 [ 11.001790] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.001812] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.001833] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.001855] kthread+0x337/0x6f0 [ 11.001873] ? trace_preempt_on+0x20/0xc0 [ 11.001896] ? __pfx_kthread+0x10/0x10 [ 11.001915] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.001934] ? calculate_sigpending+0x7b/0xa0 [ 11.001957] ? __pfx_kthread+0x10/0x10 [ 11.001977] ret_from_fork+0x116/0x1d0 [ 11.001995] ? __pfx_kthread+0x10/0x10 [ 11.002014] ret_from_fork_asm+0x1a/0x30 [ 11.002044] </TASK> [ 11.002054] [ 11.009471] The buggy address belongs to the physical page: [ 11.009737] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103948 [ 11.010011] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.010552] flags: 0x200000000000040(head|node=0|zone=2) [ 11.010815] page_type: f8(unknown) [ 11.010967] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.011408] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.011715] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.012020] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.012313] head: 0200000000000002 ffffea00040e5201 00000000ffffffff 00000000ffffffff [ 11.012741] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 11.013001] page dumped because: kasan: bad access detected [ 11.013517] [ 11.013604] Memory state around the buggy address: [ 11.013805] ffff888103949f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.014024] ffff888103949f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.014255] >ffff88810394a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.014574] ^ [ 11.014752] ffff88810394a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.015066] ffff88810394a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.015479] ==================================================================