Date
July 13, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 15.661932] ================================================================== [ 15.662017] BUG: KASAN: invalid-free in kfree+0x270/0x3c8 [ 15.662077] Free of addr fff00000c65f8001 by task kunit_try_catch/151 [ 15.662124] [ 15.662472] CPU: 0 UID: 0 PID: 151 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 15.662883] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.662933] Hardware name: linux,dummy-virt (DT) [ 15.662981] Call trace: [ 15.663010] show_stack+0x20/0x38 (C) [ 15.663098] dump_stack_lvl+0x8c/0xd0 [ 15.663143] print_report+0x118/0x5d0 [ 15.663188] kasan_report_invalid_free+0xc0/0xe8 [ 15.663520] __kasan_kfree_large+0x5c/0xa8 [ 15.663594] free_large_kmalloc+0x64/0x190 [ 15.663640] kfree+0x270/0x3c8 [ 15.663724] kmalloc_large_invalid_free+0x108/0x270 [ 15.663911] kunit_try_run_case+0x170/0x3f0 [ 15.664090] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 15.664206] kthread+0x328/0x630 [ 15.664297] ret_from_fork+0x10/0x20 [ 15.664402] [ 15.664461] The buggy address belongs to the physical page: [ 15.664501] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1065f8 [ 15.664606] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 15.664652] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 15.664708] page_type: f8(unknown) [ 15.664746] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.664801] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.664849] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.664897] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.664945] head: 0bfffe0000000002 ffffc1ffc3197e01 00000000ffffffff 00000000ffffffff [ 15.665584] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 15.665827] page dumped because: kasan: bad access detected [ 15.665917] [ 15.665978] Memory state around the buggy address: [ 15.666012] fff00000c65f7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.666312] fff00000c65f7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.666403] >fff00000c65f8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.666624] ^ [ 15.666680] fff00000c65f8080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.666803] fff00000c65f8100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.667029] ==================================================================
[ 16.522996] ================================================================== [ 16.523083] BUG: KASAN: invalid-free in kfree+0x270/0x3c8 [ 16.523240] Free of addr fff00000c7830001 by task kunit_try_catch/151 [ 16.523289] [ 16.523338] CPU: 1 UID: 0 PID: 151 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 16.523431] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.523457] Hardware name: linux,dummy-virt (DT) [ 16.523635] Call trace: [ 16.523657] show_stack+0x20/0x38 (C) [ 16.523706] dump_stack_lvl+0x8c/0xd0 [ 16.523750] print_report+0x118/0x5d0 [ 16.523936] kasan_report_invalid_free+0xc0/0xe8 [ 16.524043] __kasan_kfree_large+0x5c/0xa8 [ 16.524175] free_large_kmalloc+0x64/0x190 [ 16.524269] kfree+0x270/0x3c8 [ 16.524312] kmalloc_large_invalid_free+0x108/0x270 [ 16.524602] kunit_try_run_case+0x170/0x3f0 [ 16.524747] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 16.524853] kthread+0x328/0x630 [ 16.524956] ret_from_fork+0x10/0x20 [ 16.525002] [ 16.525049] The buggy address belongs to the physical page: [ 16.525248] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107830 [ 16.525305] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.525351] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 16.525715] page_type: f8(unknown) [ 16.525761] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.525834] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.525884] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 16.525942] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 16.526015] head: 0bfffe0000000002 ffffc1ffc31e0c01 00000000ffffffff 00000000ffffffff [ 16.526065] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 16.526113] page dumped because: kasan: bad access detected [ 16.526143] [ 16.526161] Memory state around the buggy address: [ 16.526221] fff00000c782ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.526264] fff00000c782ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.526306] >fff00000c7830000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.526342] ^ [ 16.526376] fff00000c7830080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.526418] fff00000c7830100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.526476] ==================================================================
[ 12.077570] ================================================================== [ 12.078225] BUG: KASAN: invalid-free in kfree+0x274/0x3f0 [ 12.078720] Free of addr ffff888103a0c001 by task kunit_try_catch/167 [ 12.079003] [ 12.079107] CPU: 0 UID: 0 PID: 167 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 12.079150] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.079161] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.079180] Call Trace: [ 12.079192] <TASK> [ 12.079207] dump_stack_lvl+0x73/0xb0 [ 12.079237] print_report+0xd1/0x610 [ 12.079259] ? __virt_addr_valid+0x1db/0x2d0 [ 12.079283] ? kasan_addr_to_slab+0x11/0xa0 [ 12.079303] ? kfree+0x274/0x3f0 [ 12.079324] kasan_report_invalid_free+0x10a/0x130 [ 12.079349] ? kfree+0x274/0x3f0 [ 12.079371] ? kfree+0x274/0x3f0 [ 12.079390] __kasan_kfree_large+0x86/0xd0 [ 12.079712] free_large_kmalloc+0x4b/0x110 [ 12.079741] kfree+0x274/0x3f0 [ 12.079766] kmalloc_large_invalid_free+0x120/0x2b0 [ 12.079790] ? __pfx_kmalloc_large_invalid_free+0x10/0x10 [ 12.079815] ? __schedule+0x10cc/0x2b60 [ 12.079838] ? __pfx_read_tsc+0x10/0x10 [ 12.079859] ? ktime_get_ts64+0x86/0x230 [ 12.079884] kunit_try_run_case+0x1a5/0x480 [ 12.079908] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.079931] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.079955] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.079979] ? __kthread_parkme+0x82/0x180 [ 12.080000] ? preempt_count_sub+0x50/0x80 [ 12.080023] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.080048] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.080072] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.080098] kthread+0x337/0x6f0 [ 12.080117] ? trace_preempt_on+0x20/0xc0 [ 12.080140] ? __pfx_kthread+0x10/0x10 [ 12.080161] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.080182] ? calculate_sigpending+0x7b/0xa0 [ 12.080207] ? __pfx_kthread+0x10/0x10 [ 12.080228] ret_from_fork+0x116/0x1d0 [ 12.080247] ? __pfx_kthread+0x10/0x10 [ 12.080267] ret_from_fork_asm+0x1a/0x30 [ 12.080305] </TASK> [ 12.080315] [ 12.089768] The buggy address belongs to the physical page: [ 12.090038] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a0c [ 12.090364] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 12.090833] flags: 0x200000000000040(head|node=0|zone=2) [ 12.091170] page_type: f8(unknown) [ 12.091476] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.091875] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.092195] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.092711] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.093038] head: 0200000000000002 ffffea00040e8301 00000000ffffffff 00000000ffffffff [ 12.093414] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 12.093867] page dumped because: kasan: bad access detected [ 12.094175] [ 12.094274] Memory state around the buggy address: [ 12.095076] ffff888103a0bf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.095299] ffff888103a0bf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.095524] >ffff888103a0c000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.095731] ^ [ 12.095848] ffff888103a0c080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.096053] ffff888103a0c100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.096284] ==================================================================
[ 12.332814] ================================================================== [ 12.334085] BUG: KASAN: invalid-free in kfree+0x274/0x3f0 [ 12.334595] Free of addr ffff888102ca8001 by task kunit_try_catch/168 [ 12.335172] [ 12.335469] CPU: 0 UID: 0 PID: 168 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 12.335516] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.335527] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.335546] Call Trace: [ 12.335559] <TASK> [ 12.335574] dump_stack_lvl+0x73/0xb0 [ 12.335605] print_report+0xd1/0x610 [ 12.335628] ? __virt_addr_valid+0x1db/0x2d0 [ 12.335653] ? kasan_addr_to_slab+0x11/0xa0 [ 12.335673] ? kfree+0x274/0x3f0 [ 12.335694] kasan_report_invalid_free+0x10a/0x130 [ 12.335721] ? kfree+0x274/0x3f0 [ 12.335744] ? kfree+0x274/0x3f0 [ 12.335764] __kasan_kfree_large+0x86/0xd0 [ 12.335787] free_large_kmalloc+0x4b/0x110 [ 12.335811] kfree+0x274/0x3f0 [ 12.335835] kmalloc_large_invalid_free+0x120/0x2b0 [ 12.335859] ? __pfx_kmalloc_large_invalid_free+0x10/0x10 [ 12.335884] ? __schedule+0x10cc/0x2b60 [ 12.335906] ? __pfx_read_tsc+0x10/0x10 [ 12.335927] ? ktime_get_ts64+0x86/0x230 [ 12.335952] kunit_try_run_case+0x1a5/0x480 [ 12.335977] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.336000] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.336024] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.336047] ? __kthread_parkme+0x82/0x180 [ 12.336084] ? preempt_count_sub+0x50/0x80 [ 12.336108] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.336133] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.336157] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.336183] kthread+0x337/0x6f0 [ 12.336201] ? trace_preempt_on+0x20/0xc0 [ 12.336226] ? __pfx_kthread+0x10/0x10 [ 12.336246] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.336268] ? calculate_sigpending+0x7b/0xa0 [ 12.336292] ? __pfx_kthread+0x10/0x10 [ 12.336314] ret_from_fork+0x116/0x1d0 [ 12.336333] ? __pfx_kthread+0x10/0x10 [ 12.336353] ret_from_fork_asm+0x1a/0x30 [ 12.336384] </TASK> [ 12.336394] [ 12.348447] The buggy address belongs to the physical page: [ 12.348631] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102ca8 [ 12.349736] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 12.350699] flags: 0x200000000000040(head|node=0|zone=2) [ 12.351303] page_type: f8(unknown) [ 12.351571] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.352219] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.352500] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.352779] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.353048] head: 0200000000000002 ffffea00040b2a01 00000000ffffffff 00000000ffffffff [ 12.353368] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 12.353650] page dumped because: kasan: bad access detected [ 12.353905] [ 12.354000] Memory state around the buggy address: [ 12.354805] ffff888102ca7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.355275] ffff888102ca7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.355670] >ffff888102ca8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.356162] ^ [ 12.356312] ffff888102ca8080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.357002] ffff888102ca8100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.357494] ==================================================================