Date
July 4, 2025, 3:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 | |
x86 |
[ 19.544345] ================================================================== [ 19.553761] BUG: KASAN: invalid-free in kfree+0x270/0x3c8 [ 19.559143] Free of addr ffff000806088001 by task kunit_try_catch/199 [ 19.565564] [ 19.567050] CPU: 2 UID: 0 PID: 199 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 19.567102] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.567120] Hardware name: WinLink E850-96 board (DT) [ 19.567142] Call trace: [ 19.567155] show_stack+0x20/0x38 (C) [ 19.567189] dump_stack_lvl+0x8c/0xd0 [ 19.567225] print_report+0x118/0x608 [ 19.567255] kasan_report_invalid_free+0xc0/0xe8 [ 19.567286] __kasan_kfree_large+0x5c/0xa8 [ 19.567316] free_large_kmalloc+0x64/0x190 [ 19.567354] kfree+0x270/0x3c8 [ 19.567376] kmalloc_large_invalid_free+0x108/0x270 [ 19.567413] kunit_try_run_case+0x170/0x3f0 [ 19.567449] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.567486] kthread+0x328/0x630 [ 19.567519] ret_from_fork+0x10/0x20 [ 19.567553] [ 19.638047] The buggy address belongs to the physical page: [ 19.643605] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x886088 [ 19.651589] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 19.659227] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 19.666170] page_type: f8(unknown) [ 19.669571] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.677288] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.685015] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 19.692825] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 19.700638] head: 0bfffe0000000002 fffffdffe0182201 00000000ffffffff 00000000ffffffff [ 19.708450] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 19.716259] page dumped because: kasan: bad access detected [ 19.721811] [ 19.723287] Memory state around the buggy address: [ 19.728068] ffff000806087f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.735272] ffff000806087f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.742479] >ffff000806088000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.749676] ^ [ 19.752891] ffff000806088080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.760096] ffff000806088100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.767298] ==================================================================
[ 15.363542] ================================================================== [ 15.363914] BUG: KASAN: invalid-free in kfree+0x270/0x3c8 [ 15.364059] Free of addr fff00000c6560001 by task kunit_try_catch/155 [ 15.364104] [ 15.364136] CPU: 0 UID: 0 PID: 155 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 15.364768] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.364811] Hardware name: linux,dummy-virt (DT) [ 15.364843] Call trace: [ 15.364865] show_stack+0x20/0x38 (C) [ 15.365018] dump_stack_lvl+0x8c/0xd0 [ 15.365087] print_report+0x118/0x608 [ 15.365129] kasan_report_invalid_free+0xc0/0xe8 [ 15.365524] __kasan_kfree_large+0x5c/0xa8 [ 15.365591] free_large_kmalloc+0x64/0x190 [ 15.365972] kfree+0x270/0x3c8 [ 15.366042] kmalloc_large_invalid_free+0x108/0x270 [ 15.366091] kunit_try_run_case+0x170/0x3f0 [ 15.366139] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 15.366190] kthread+0x328/0x630 [ 15.366244] ret_from_fork+0x10/0x20 [ 15.366290] [ 15.366310] The buggy address belongs to the physical page: [ 15.366615] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106560 [ 15.367034] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 15.367163] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 15.367247] page_type: f8(unknown) [ 15.367284] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.367566] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.367615] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.367671] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.367717] head: 0bfffe0000000002 ffffc1ffc3195801 00000000ffffffff 00000000ffffffff [ 15.367764] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 15.367802] page dumped because: kasan: bad access detected [ 15.368041] [ 15.368061] Memory state around the buggy address: [ 15.368093] fff00000c655ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.368134] fff00000c655ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.368177] >fff00000c6560000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.368689] ^ [ 15.368861] fff00000c6560080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.368907] fff00000c6560100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.368956] ==================================================================
[ 13.523754] ================================================================== [ 13.524354] BUG: KASAN: invalid-free in kfree+0x274/0x3f0 [ 13.525099] Free of addr ffff888102b44001 by task kunit_try_catch/171 [ 13.525561] [ 13.525739] CPU: 1 UID: 0 PID: 171 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT(voluntary) [ 13.525980] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.526010] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.526056] Call Trace: [ 13.526086] <TASK> [ 13.526325] dump_stack_lvl+0x73/0xb0 [ 13.526430] print_report+0xd1/0x650 [ 13.526476] ? __virt_addr_valid+0x1db/0x2d0 [ 13.526505] ? kasan_addr_to_slab+0x11/0xa0 [ 13.526527] ? kfree+0x274/0x3f0 [ 13.526548] kasan_report_invalid_free+0x10a/0x130 [ 13.526573] ? kfree+0x274/0x3f0 [ 13.526595] ? kfree+0x274/0x3f0 [ 13.526613] __kasan_kfree_large+0x86/0xd0 [ 13.526636] free_large_kmalloc+0x4b/0x110 [ 13.526657] kfree+0x274/0x3f0 [ 13.526680] kmalloc_large_invalid_free+0x120/0x2b0 [ 13.526704] ? __pfx_kmalloc_large_invalid_free+0x10/0x10 [ 13.526727] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 13.526753] ? trace_hardirqs_on+0x37/0xe0 [ 13.526778] ? __pfx_read_tsc+0x10/0x10 [ 13.526799] ? ktime_get_ts64+0x86/0x230 [ 13.526826] kunit_try_run_case+0x1a5/0x480 [ 13.526852] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.526876] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.526902] ? __kthread_parkme+0x82/0x180 [ 13.526926] ? preempt_count_sub+0x50/0x80 [ 13.526952] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.526975] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.526999] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.527022] kthread+0x337/0x6f0 [ 13.527039] ? trace_preempt_on+0x20/0xc0 [ 13.527062] ? __pfx_kthread+0x10/0x10 [ 13.527208] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.527305] ? calculate_sigpending+0x7b/0xa0 [ 13.527369] ? __pfx_kthread+0x10/0x10 [ 13.527410] ret_from_fork+0x41/0x80 [ 13.527452] ? __pfx_kthread+0x10/0x10 [ 13.527491] ret_from_fork_asm+0x1a/0x30 [ 13.527546] </TASK> [ 13.527560] [ 13.539640] The buggy address belongs to the physical page: [ 13.540155] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b44 [ 13.541135] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 13.541723] flags: 0x200000000000040(head|node=0|zone=2) [ 13.542368] page_type: f8(unknown) [ 13.542645] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.543371] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.543786] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.544105] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.544828] head: 0200000000000002 ffffea00040ad101 00000000ffffffff 00000000ffffffff [ 13.545919] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 13.546381] page dumped because: kasan: bad access detected [ 13.546858] [ 13.547039] Memory state around the buggy address: [ 13.548124] ffff888102b43f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.548791] ffff888102b43f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.549064] >ffff888102b44000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.549395] ^ [ 13.549590] ffff888102b44080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.549832] ffff888102b44100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.550156] ==================================================================
[ 21.242637] ================================================================== [ 21.253618] BUG: KASAN: invalid-free in kfree+0x274/0x3f0 [ 21.259019] Free of addr ffff888102a1c001 by task kunit_try_catch/193 [ 21.265466] [ 21.266995] CPU: 3 UID: 0 PID: 193 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT(voluntary) [ 21.267003] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.267006] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021 [ 21.267009] Call Trace: [ 21.267011] <TASK> [ 21.267013] dump_stack_lvl+0x73/0xb0 [ 21.267017] print_report+0xd1/0x650 [ 21.267021] ? __virt_addr_valid+0x1db/0x2d0 [ 21.267025] ? kasan_addr_to_slab+0x11/0xa0 [ 21.267029] ? kfree+0x274/0x3f0 [ 21.267033] kasan_report_invalid_free+0x10a/0x130 [ 21.267038] ? kfree+0x274/0x3f0 [ 21.267041] ? kfree+0x274/0x3f0 [ 21.267044] __kasan_kfree_large+0x86/0xd0 [ 21.267048] free_large_kmalloc+0x4b/0x110 [ 21.267052] kfree+0x274/0x3f0 [ 21.267056] kmalloc_large_invalid_free+0x120/0x2b0 [ 21.267060] ? __pfx_kmalloc_large_invalid_free+0x10/0x10 [ 21.267065] ? __schedule+0x10cc/0x2b60 [ 21.267070] ? ktime_get_ts64+0x83/0x230 [ 21.267074] kunit_try_run_case+0x1a2/0x480 [ 21.267079] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.267084] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 21.267088] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 21.267093] ? __kthread_parkme+0x82/0x180 [ 21.267097] ? preempt_count_sub+0x50/0x80 [ 21.267102] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.267106] kunit_generic_run_threadfn_adapter+0x82/0xf0 [ 21.267111] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 21.267115] kthread+0x334/0x6f0 [ 21.267118] ? trace_preempt_on+0x20/0xc0 [ 21.267122] ? __pfx_kthread+0x10/0x10 [ 21.267125] ? _raw_spin_unlock_irq+0x47/0x80 [ 21.267129] ? calculate_sigpending+0x7b/0xa0 [ 21.267133] ? __pfx_kthread+0x10/0x10 [ 21.267136] ret_from_fork+0x3e/0x80 [ 21.267140] ? __pfx_kthread+0x10/0x10 [ 21.267143] ret_from_fork_asm+0x1a/0x30 [ 21.267149] </TASK> [ 21.267151] [ 21.434779] The buggy address belongs to the physical page: [ 21.440352] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a1c [ 21.448358] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 21.456011] flags: 0x200000000000040(head|node=0|zone=2) [ 21.461323] page_type: f8(unknown) [ 21.464730] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.472471] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.480218] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.488051] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.495877] head: 0200000000000002 ffffea00040a8701 00000000ffffffff 00000000ffffffff [ 21.503737] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 21.511563] page dumped because: kasan: bad access detected [ 21.517137] [ 21.518635] Memory state around the buggy address: [ 21.523429] ffff888102a1bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.530649] ffff888102a1bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.537877] >ffff888102a1c000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.545128] ^ [ 21.548362] ffff888102a1c080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.555582] ffff888102a1c100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.562801] ==================================================================