Hay
Date
May 15, 2025, 10:38 a.m.

Environment
e850-96

[   21.204636] ==================================================================
[   21.214255] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8
[   21.221716] Write of size 1 at addr ffff00080349a00a by task kunit_try_catch/191
[   21.229093] 
[   21.230580] CPU: 6 UID: 0 PID: 191 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.230637] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.230654] Hardware name: WinLink E850-96 board (DT)
[   21.230675] Call trace:
[   21.230688]  show_stack+0x20/0x38 (C)
[   21.230727]  dump_stack_lvl+0x8c/0xd0
[   21.230759]  print_report+0x118/0x608
[   21.230792]  kasan_report+0xdc/0x128
[   21.230822]  __asan_report_store1_noabort+0x20/0x30
[   21.230859]  kmalloc_large_oob_right+0x278/0x2b8
[   21.230887]  kunit_try_run_case+0x170/0x3f0
[   21.230918]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.230953]  kthread+0x328/0x630
[   21.230987]  ret_from_fork+0x10/0x20
[   21.231023] 
[   21.295153] The buggy address belongs to the physical page:
[   21.300709] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x883498
[   21.308693] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   21.316333] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   21.323275] page_type: f8(unknown)
[   21.326673] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   21.334391] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   21.342118] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   21.349929] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   21.357742] head: 0bfffe0000000002 fffffdffe00d2601 00000000ffffffff 00000000ffffffff
[   21.365554] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   21.373360] page dumped because: kasan: bad access detected
[   21.378915] 
[   21.380391] Memory state around the buggy address:
[   21.385172]  ffff000803499f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.392374]  ffff000803499f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.399580] >ffff00080349a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   21.406780]                       ^
[   21.410256]  ffff00080349a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   21.417460]  ffff00080349a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   21.424663] ==================================================================