Date
July 12, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 16.472988] ================================================================== [ 16.473311] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 16.473867] Write of size 1 at addr fff00000c665600a by task kunit_try_catch/146 [ 16.474040] [ 16.474116] CPU: 1 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 16.474513] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.474793] Hardware name: linux,dummy-virt (DT) [ 16.474826] Call trace: [ 16.474847] show_stack+0x20/0x38 (C) [ 16.475294] dump_stack_lvl+0x8c/0xd0 [ 16.475540] print_report+0x118/0x5d0 [ 16.475588] kasan_report+0xdc/0x128 [ 16.475903] __asan_report_store1_noabort+0x20/0x30 [ 16.476226] kmalloc_large_oob_right+0x278/0x2b8 [ 16.476457] kunit_try_run_case+0x170/0x3f0 [ 16.476510] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.476982] kthread+0x328/0x630 [ 16.477032] ret_from_fork+0x10/0x20 [ 16.477221] [ 16.477260] The buggy address belongs to the physical page: [ 16.477339] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106654 [ 16.477450] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.477844] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 16.478377] page_type: f8(unknown) [ 16.478484] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.478551] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.478697] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.478838] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.478916] head: 0bfffe0000000002 ffffc1ffc3199501 00000000ffffffff 00000000ffffffff [ 16.478965] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 16.479005] page dumped because: kasan: bad access detected [ 16.479037] [ 16.479559] Memory state around the buggy address: [ 16.479629] fff00000c6655f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.479673] fff00000c6655f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.479716] >fff00000c6656000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.479904] ^ [ 16.479941] fff00000c6656080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.479986] fff00000c6656100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.480486] ==================================================================
[ 12.409297] ================================================================== [ 12.409730] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 12.409985] Write of size 1 at addr ffff88810272e00a by task kunit_try_catch/163 [ 12.410209] [ 12.410310] CPU: 0 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 12.410354] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.410365] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.410385] Call Trace: [ 12.410397] <TASK> [ 12.410413] dump_stack_lvl+0x73/0xb0 [ 12.410440] print_report+0xd1/0x610 [ 12.410461] ? __virt_addr_valid+0x1db/0x2d0 [ 12.410484] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.410504] ? kasan_addr_to_slab+0x11/0xa0 [ 12.410523] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.410544] kasan_report+0x141/0x180 [ 12.410564] ? kmalloc_large_oob_right+0x2e9/0x330 [ 12.410590] __asan_report_store1_noabort+0x1b/0x30 [ 12.410613] kmalloc_large_oob_right+0x2e9/0x330 [ 12.410634] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 12.410657] ? __schedule+0x10cc/0x2b60 [ 12.410678] ? __pfx_read_tsc+0x10/0x10 [ 12.410697] ? ktime_get_ts64+0x86/0x230 [ 12.410728] kunit_try_run_case+0x1a5/0x480 [ 12.410751] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.410772] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.410794] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.410816] ? __kthread_parkme+0x82/0x180 [ 12.410835] ? preempt_count_sub+0x50/0x80 [ 12.410858] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.410881] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.410903] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.410926] kthread+0x337/0x6f0 [ 12.410943] ? trace_preempt_on+0x20/0xc0 [ 12.410966] ? __pfx_kthread+0x10/0x10 [ 12.410985] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.411004] ? calculate_sigpending+0x7b/0xa0 [ 12.411028] ? __pfx_kthread+0x10/0x10 [ 12.411047] ret_from_fork+0x116/0x1d0 [ 12.411065] ? __pfx_kthread+0x10/0x10 [ 12.411085] ret_from_fork_asm+0x1a/0x30 [ 12.411114] </TASK> [ 12.411124] [ 12.426933] The buggy address belongs to the physical page: [ 12.427319] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10272c [ 12.428193] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 12.428778] flags: 0x200000000000040(head|node=0|zone=2) [ 12.428977] page_type: f8(unknown) [ 12.429417] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.430211] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.431192] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.431697] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.431932] head: 0200000000000002 ffffea000409cb01 00000000ffffffff 00000000ffffffff [ 12.432205] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 12.432911] page dumped because: kasan: bad access detected [ 12.433330] [ 12.433489] Memory state around the buggy address: [ 12.433969] ffff88810272df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.434556] ffff88810272df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.435035] >ffff88810272e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.435243] ^ [ 12.435373] ffff88810272e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.436106] ffff88810272e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 12.436757] ==================================================================