Date
May 15, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 |
[ 34.050991] ================================================================== [ 34.051980] BUG: KASAN: invalid-free in kmem_cache_invalid_free+0x184/0x3c8 [ 34.058923] Free of addr ffff00080241c001 by task kunit_try_catch/256 [ 34.065346] [ 34.066833] CPU: 0 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250515 #1 PREEMPT [ 34.066893] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.066911] Hardware name: WinLink E850-96 board (DT) [ 34.066934] Call trace: [ 34.066948] show_stack+0x20/0x38 (C) [ 34.066988] dump_stack_lvl+0x8c/0xd0 [ 34.067020] print_report+0x118/0x608 [ 34.067054] kasan_report_invalid_free+0xc0/0xe8 [ 34.067088] check_slab_allocation+0xfc/0x108 [ 34.067123] __kasan_slab_pre_free+0x2c/0x48 [ 34.067154] kmem_cache_free+0xf0/0x470 [ 34.067185] kmem_cache_invalid_free+0x184/0x3c8 [ 34.067215] kunit_try_run_case+0x170/0x3f0 [ 34.067249] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.067284] kthread+0x328/0x630 [ 34.067320] ret_from_fork+0x10/0x20 [ 34.067354] [ 34.139999] Allocated by task 256: [ 34.143386] kasan_save_stack+0x3c/0x68 [ 34.147203] kasan_save_track+0x20/0x40 [ 34.151022] kasan_save_alloc_info+0x40/0x58 [ 34.155274] __kasan_slab_alloc+0xa8/0xb0 [ 34.159267] kmem_cache_alloc_noprof+0x10c/0x3a0 [ 34.163868] kmem_cache_invalid_free+0x12c/0x3c8 [ 34.168468] kunit_try_run_case+0x170/0x3f0 [ 34.172635] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.178104] kthread+0x328/0x630 [ 34.181315] ret_from_fork+0x10/0x20 [ 34.184874] [ 34.186353] The buggy address belongs to the object at ffff00080241c000 [ 34.186353] which belongs to the cache test_cache of size 200 [ 34.198765] The buggy address is located 1 bytes inside of [ 34.198765] 200-byte region [ffff00080241c000, ffff00080241c0c8) [ 34.210308] [ 34.211787] The buggy address belongs to the physical page: [ 34.217343] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x88241c [ 34.225327] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 34.232966] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 34.239910] page_type: f5(slab) [ 34.243048] raw: 0bfffe0000000040 ffff000802403180 dead000000000122 0000000000000000 [ 34.250766] raw: 0000000000000000 00000000801f001f 00000000f5000000 0000000000000000 [ 34.258492] head: 0bfffe0000000040 ffff000802403180 dead000000000122 0000000000000000 [ 34.266303] head: 0000000000000000 00000000801f001f 00000000f5000000 0000000000000000 [ 34.274116] head: 0bfffe0000000001 fffffdffe0090701 00000000ffffffff 00000000ffffffff [ 34.281928] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 34.289734] page dumped because: kasan: bad access detected [ 34.295289] [ 34.296765] Memory state around the buggy address: [ 34.301549] ffff00080241bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 34.308748] ffff00080241bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 34.315954] >ffff00080241c000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.323154] ^ [ 34.326369] ffff00080241c080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 34.333575] ffff00080241c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.340778] ==================================================================