Date
May 15, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 |
[ 19.864318] ================================================================== [ 19.873477] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_left+0x2ec/0x320 [ 19.880329] Read of size 1 at addr ffff000800e2001f by task kunit_try_catch/183 [ 19.887620] [ 19.889106] CPU: 7 UID: 0 PID: 183 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250515 #1 PREEMPT [ 19.889162] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.889178] Hardware name: WinLink E850-96 board (DT) [ 19.889202] Call trace: [ 19.889215] show_stack+0x20/0x38 (C) [ 19.889253] dump_stack_lvl+0x8c/0xd0 [ 19.889285] print_report+0x118/0x608 [ 19.889317] kasan_report+0xdc/0x128 [ 19.889349] __asan_report_load1_noabort+0x20/0x30 [ 19.889385] kmalloc_oob_left+0x2ec/0x320 [ 19.889411] kunit_try_run_case+0x170/0x3f0 [ 19.889443] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.889479] kthread+0x328/0x630 [ 19.889513] ret_from_fork+0x10/0x20 [ 19.889548] [ 19.952984] Allocated by task 54: [ 19.956284] kasan_save_stack+0x3c/0x68 [ 19.960099] kasan_save_track+0x20/0x40 [ 19.963919] kasan_save_alloc_info+0x40/0x58 [ 19.968174] __kasan_kmalloc+0xd4/0xd8 [ 19.971905] __kmalloc_node_track_caller_noprof+0x18c/0x4c0 [ 19.977461] kvasprintf+0xe0/0x180 [ 19.980846] __kthread_create_on_node+0x16c/0x350 [ 19.985534] kthread_create_on_node+0xe4/0x130 [ 19.989962] create_worker+0x380/0x6b8 [ 19.993693] worker_thread+0x5dc/0xf28 [ 19.997426] kthread+0x328/0x630 [ 20.000637] ret_from_fork+0x10/0x20 [ 20.004196] [ 20.005674] The buggy address belongs to the object at ffff000800e20000 [ 20.005674] which belongs to the cache kmalloc-16 of size 16 [ 20.018001] The buggy address is located 19 bytes to the right of [ 20.018001] allocated 12-byte region [ffff000800e20000, ffff000800e2000c) [ 20.030932] [ 20.032412] The buggy address belongs to the physical page: [ 20.037967] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x880e20 [ 20.045953] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.052462] page_type: f5(slab) [ 20.055599] raw: 0bfffe0000000000 ffff000800002640 dead000000000122 0000000000000000 [ 20.063317] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000 [ 20.071036] page dumped because: kasan: bad access detected [ 20.076591] [ 20.078067] Memory state around the buggy address: [ 20.082849] ffff000800e1ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.090050] ffff000800e1ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.097256] >ffff000800e20000: 00 04 fc fc 00 07 fc fc fc fc fc fc fc fc fc fc [ 20.104455] ^ [ 20.108452] ffff000800e20080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.115657] ffff000800e20100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.122859] ==================================================================