Date
July 18, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 15.125962] ================================================================== [ 15.126030] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8 [ 15.126081] Write of size 1 at addr fff00000c775200a by task kunit_try_catch/146 [ 15.126167] [ 15.127207] CPU: 1 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 15.127388] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.127417] Hardware name: linux,dummy-virt (DT) [ 15.127448] Call trace: [ 15.127509] show_stack+0x20/0x38 (C) [ 15.127579] dump_stack_lvl+0x8c/0xd0 [ 15.127818] print_report+0x118/0x5d0 [ 15.127880] kasan_report+0xdc/0x128 [ 15.128026] __asan_report_store1_noabort+0x20/0x30 [ 15.128085] kmalloc_large_oob_right+0x278/0x2b8 [ 15.128131] kunit_try_run_case+0x170/0x3f0 [ 15.128189] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 15.128243] kthread+0x328/0x630 [ 15.128295] ret_from_fork+0x10/0x20 [ 15.128368] [ 15.128412] The buggy address belongs to the physical page: [ 15.128454] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107750 [ 15.128516] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 15.128562] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 15.128620] page_type: f8(unknown) [ 15.128658] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.128706] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.128754] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.128811] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.128864] head: 0bfffe0000000002 ffffc1ffc31dd401 00000000ffffffff 00000000ffffffff [ 15.128919] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 15.128957] page dumped because: kasan: bad access detected [ 15.128996] [ 15.129014] Memory state around the buggy address: [ 15.129054] fff00000c7751f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.129112] fff00000c7751f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.129155] >fff00000c7752000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 15.129191] ^ [ 15.129220] fff00000c7752080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 15.129263] fff00000c7752100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 15.129300] ==================================================================
[ 11.573780] ================================================================== [ 11.574843] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330 [ 11.575671] Write of size 1 at addr ffff8881028a600a by task kunit_try_catch/165 [ 11.576349] [ 11.576696] CPU: 0 UID: 0 PID: 165 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 11.576840] Tainted: [B]=BAD_PAGE, [N]=TEST [ 11.576852] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 11.576872] Call Trace: [ 11.576884] <TASK> [ 11.576899] dump_stack_lvl+0x73/0xb0 [ 11.576941] print_report+0xd1/0x610 [ 11.576962] ? __virt_addr_valid+0x1db/0x2d0 [ 11.576985] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.577006] ? kasan_addr_to_slab+0x11/0xa0 [ 11.577072] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.577094] kasan_report+0x141/0x180 [ 11.577115] ? kmalloc_large_oob_right+0x2e9/0x330 [ 11.577142] __asan_report_store1_noabort+0x1b/0x30 [ 11.577166] kmalloc_large_oob_right+0x2e9/0x330 [ 11.577187] ? __pfx_kmalloc_large_oob_right+0x10/0x10 [ 11.577211] ? __schedule+0x10cc/0x2b60 [ 11.577232] ? __pfx_read_tsc+0x10/0x10 [ 11.577253] ? ktime_get_ts64+0x86/0x230 [ 11.577288] kunit_try_run_case+0x1a5/0x480 [ 11.577313] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.577334] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 11.577357] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 11.577379] ? __kthread_parkme+0x82/0x180 [ 11.577400] ? preempt_count_sub+0x50/0x80 [ 11.577423] ? __pfx_kunit_try_run_case+0x10/0x10 [ 11.577458] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 11.577481] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 11.577504] kthread+0x337/0x6f0 [ 11.577522] ? trace_preempt_on+0x20/0xc0 [ 11.577544] ? __pfx_kthread+0x10/0x10 [ 11.577564] ? _raw_spin_unlock_irq+0x47/0x80 [ 11.577584] ? calculate_sigpending+0x7b/0xa0 [ 11.577607] ? __pfx_kthread+0x10/0x10 [ 11.577627] ret_from_fork+0x116/0x1d0 [ 11.577645] ? __pfx_kthread+0x10/0x10 [ 11.577665] ret_from_fork_asm+0x1a/0x30 [ 11.577695] </TASK> [ 11.577704] [ 11.591248] The buggy address belongs to the physical page: [ 11.591624] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1028a4 [ 11.591957] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 11.592697] flags: 0x200000000000040(head|node=0|zone=2) [ 11.593454] page_type: f8(unknown) [ 11.593589] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.593822] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.594072] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 11.594885] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 11.595781] head: 0200000000000002 ffffea00040a2901 00000000ffffffff 00000000ffffffff [ 11.596592] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 11.597445] page dumped because: kasan: bad access detected [ 11.597899] [ 11.597969] Memory state around the buggy address: [ 11.598188] ffff8881028a5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.598962] ffff8881028a5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 11.599770] >ffff8881028a6000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.600222] ^ [ 11.600552] ffff8881028a6080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.600928] ffff8881028a6100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 11.601434] ==================================================================