Date
July 17, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 16.370946] ================================================================== [ 16.371020] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 16.371350] Write of size 1 at addr fff00000c789a00a by task kunit_try_catch/146 [ 16.371552] [ 16.371601] CPU: 1 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 16.371684] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.372322] Hardware name: linux,dummy-virt (DT) [ 16.372989] Call trace: [ 16.373022] show_stack+0x20/0x38 (C) [ 16.373077] dump_stack_lvl+0x8c/0xd0 [ 16.373125] print_report+0x118/0x5d0 [ 16.373171] kasan_report+0xdc/0x128 [ 16.373216] __asan_report_store1_noabort+0x20/0x30 [ 16.373265] kmalloc_large_oob_right+0x278/0x2b8 [ 16.373312] kunit_try_run_case+0x170/0x3f0 [ 16.373358] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.373408] kthread+0x328/0x630 [ 16.373448] ret_from_fork+0x10/0x20 [ 16.373495] [ 16.373538] The buggy address belongs to the physical page: [ 16.373572] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107898 [ 16.373624] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.373669] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 16.373728] page_type: f8(unknown) [ 16.373767] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.373815] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.373878] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.373924] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.373970] head: 0bfffe0000000002 ffffc1ffc31e2601 00000000ffffffff 00000000ffffffff [ 16.374017] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 16.374054] page dumped because: kasan: bad access detected [ 16.374084] [ 16.374102] Memory state around the buggy address: [ 16.374134] fff00000c7899f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.374177] fff00000c7899f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.374218] >fff00000c789a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.374253] ^ [ 16.374281] fff00000c789a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.374322] fff00000c789a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 16.374359] ==================================================================
[ 11.731338] ================================================================== [ 11.731997] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 11.732470] Write of size 1 at addr ffff888102b2e00a by task kunit_try_catch/163 [ 11.732729] [ 11.732871] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 11.732918] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.732928] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.732950] Call Trace: [ 11.732962] <TASK> [ 11.732979] dump_stack_lvl+0x73/0xb0 [ 11.733008] print_report+0xd1/0x610 [ 11.733030] ? __virt_addr_valid+0x1db/0x2d0 [ 11.733066] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.733088] ? kasan_addr_to_slab+0x11/0xa0 [ 11.733108] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.733130] kasan_report+0x141/0x180 [ 11.733151] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.733179] __asan_report_store1_noabort+0x1b/0x30 [ 11.733203] kmalloc_large_oob_right+0x2e9/0x330 [ 11.733225] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.733247] ? __schedule+0x10cc/0x2b60 [ 11.733270] ? __pfx_read_tsc+0x10/0x10 [ 11.733290] ? ktime_get_ts64+0x86/0x230 [ 11.733315] kunit_try_run_case+0x1a5/0x480 [ 11.733339] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.733360] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.733384] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.733406] ? __kthread_parkme+0x82/0x180 [ 11.733427] ? preempt_count_sub+0x50/0x80 [ 11.733451] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.733474] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.733497] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.733520] kthread+0x337/0x6f0 [ 11.733538] ? trace_preempt_on+0x20/0xc0 [ 11.733561] ? __pfx_kthread+0x10/0x10 [ 11.733580] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.733601] ? calculate_sigpending+0x7b/0xa0 [ 11.733624] ? __pfx_kthread+0x10/0x10 [ 11.733645] ret_from_fork+0x116/0x1d0 [ 11.733673] ? __pfx_kthread+0x10/0x10 [ 11.733693] ret_from_fork_asm+0x1a/0x30 [ 11.733726] </TASK> [ 11.733736] [ 11.741273] The buggy address belongs to the physical page: [ 11.741520] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b2c [ 11.741969] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.742338] flags: 0x200000000000040(head|node=0|zone=2) [ 11.742595] page_type: f8(unknown) [ 11.742762] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.743316] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.743666] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.743902] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.744891] head: 0200000000000002 ffffea00040acb01 00000000ffffffff 00000000ffffffff [ 11.745313] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 11.745921] page dumped because: kasan: bad access detected [ 11.746325] [ 11.746403] Memory state around the buggy address: [ 11.746565] ffff888102b2df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.747316] ffff888102b2df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.747640] >ffff888102b2e000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.747867] ^ [ 11.748083] ffff888102b2e080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.748361] ffff888102b2e100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.748643] ==================================================================