Date
May 15, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 |
[ 27.701457] ================================================================== [ 27.710858] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_memset_4+0x150/0x300 [ 27.718059] Write of size 4 at addr ffff000801ede775 by task kunit_try_catch/219 [ 27.725435] [ 27.726922] CPU: 6 UID: 0 PID: 219 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250515 #1 PREEMPT [ 27.726981] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.726998] Hardware name: WinLink E850-96 board (DT) [ 27.727020] Call trace: [ 27.727033] show_stack+0x20/0x38 (C) [ 27.727070] dump_stack_lvl+0x8c/0xd0 [ 27.727101] print_report+0x118/0x608 [ 27.727135] kasan_report+0xdc/0x128 [ 27.727164] kasan_check_range+0x100/0x1a8 [ 27.727195] __asan_memset+0x34/0x78 [ 27.727225] kmalloc_oob_memset_4+0x150/0x300 [ 27.727252] kunit_try_run_case+0x170/0x3f0 [ 27.727282] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.727317] kthread+0x328/0x630 [ 27.727352] ret_from_fork+0x10/0x20 [ 27.727386] [ 27.794011] Allocated by task 219: [ 27.797398] kasan_save_stack+0x3c/0x68 [ 27.801215] kasan_save_track+0x20/0x40 [ 27.805034] kasan_save_alloc_info+0x40/0x58 [ 27.809288] __kasan_kmalloc+0xd4/0xd8 [ 27.813020] __kmalloc_cache_noprof+0x15c/0x3c0 [ 27.817534] kmalloc_oob_memset_4+0xb0/0x300 [ 27.821789] kunit_try_run_case+0x170/0x3f0 [ 27.825954] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.831423] kthread+0x328/0x630 [ 27.834636] ret_from_fork+0x10/0x20 [ 27.838193] [ 27.839671] The buggy address belongs to the object at ffff000801ede700 [ 27.839671] which belongs to the cache kmalloc-128 of size 128 [ 27.852173] The buggy address is located 117 bytes inside of [ 27.852173] allocated 120-byte region [ffff000801ede700, ffff000801ede778) [ 27.864756] [ 27.866235] The buggy address belongs to the physical page: [ 27.871790] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x881ede [ 27.879775] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 27.887414] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 27.894358] page_type: f5(slab) [ 27.897495] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 27.905213] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 27.912940] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 27.920751] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 27.928564] head: 0bfffe0000000001 fffffdffe007b781 00000000ffffffff 00000000ffffffff [ 27.936376] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 27.944181] page dumped because: kasan: bad access detected [ 27.949738] [ 27.951212] Memory state around the buggy address: [ 27.955995] ffff000801ede600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 27.963195] ffff000801ede680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.970400] >ffff000801ede700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 27.977601] ^ [ 27.984723] ffff000801ede780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.991929] ffff000801ede800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.999130] ==================================================================