Date
July 14, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 55.693497] ================================================================== [ 55.703798] BUG: KASAN: slab-out-of-bounds in memcmp+0x198/0x1d8 [ 55.709787] Read of size 1 at addr ffff000805f39f58 by task kunit_try_catch/341 [ 55.717077] [ 55.718564] CPU: 7 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 55.718622] Tainted: [B]=BAD_PAGE, [N]=TEST [ 55.718643] Hardware name: WinLink E850-96 board (DT) [ 55.718664] Call trace: [ 55.718678] show_stack+0x20/0x38 (C) [ 55.718717] dump_stack_lvl+0x8c/0xd0 [ 55.718750] print_report+0x118/0x5d0 [ 55.718784] kasan_report+0xdc/0x128 [ 55.718814] __asan_report_load1_noabort+0x20/0x30 [ 55.718852] memcmp+0x198/0x1d8 [ 55.718886] kasan_memcmp+0x16c/0x300 [ 55.718919] kunit_try_run_case+0x170/0x3f0 [ 55.718962] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 55.718995] kthread+0x328/0x630 [ 55.719026] ret_from_fork+0x10/0x20 [ 55.719067] [ 55.785220] Allocated by task 341: [ 55.788605] kasan_save_stack+0x3c/0x68 [ 55.792422] kasan_save_track+0x20/0x40 [ 55.796242] kasan_save_alloc_info+0x40/0x58 [ 55.800495] __kasan_kmalloc+0xd4/0xd8 [ 55.804228] __kmalloc_cache_noprof+0x16c/0x3c0 [ 55.808742] kasan_memcmp+0xbc/0x300 [ 55.812301] kunit_try_run_case+0x170/0x3f0 [ 55.816467] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 55.821936] kthread+0x328/0x630 [ 55.825148] ret_from_fork+0x10/0x20 [ 55.828710] [ 55.830184] The buggy address belongs to the object at ffff000805f39f40 [ 55.830184] which belongs to the cache kmalloc-32 of size 32 [ 55.842512] The buggy address is located 0 bytes to the right of [ 55.842512] allocated 24-byte region [ffff000805f39f40, ffff000805f39f58) [ 55.855356] [ 55.856835] The buggy address belongs to the physical page: [ 55.862391] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x885f39 [ 55.870377] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 55.876886] page_type: f5(slab) [ 55.880022] raw: 0bfffe0000000000 ffff000800002780 dead000000000122 0000000000000000 [ 55.887741] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 55.895461] page dumped because: kasan: bad access detected [ 55.901015] [ 55.902492] Memory state around the buggy address: [ 55.907274] ffff000805f39e00: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 55.914475] ffff000805f39e80: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 55.921679] >ffff000805f39f00: fa fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 55.928880] ^ [ 55.934959] ffff000805f39f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.942165] ffff000805f3a000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.949366] ==================================================================
[ 31.947794] ================================================================== [ 31.948011] BUG: KASAN: slab-out-of-bounds in memcmp+0x198/0x1d8 [ 31.948125] Read of size 1 at addr fff00000c6534218 by task kunit_try_catch/288 [ 31.948283] [ 31.948327] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 31.948435] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.948465] Hardware name: linux,dummy-virt (DT) [ 31.948509] Call trace: [ 31.948536] show_stack+0x20/0x38 (C) [ 31.948941] dump_stack_lvl+0x8c/0xd0 [ 31.949120] print_report+0x118/0x5d0 [ 31.949237] kasan_report+0xdc/0x128 [ 31.949381] __asan_report_load1_noabort+0x20/0x30 [ 31.949494] memcmp+0x198/0x1d8 [ 31.949584] kasan_memcmp+0x16c/0x300 [ 31.949852] kunit_try_run_case+0x170/0x3f0 [ 31.950029] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.950165] kthread+0x328/0x630 [ 31.950212] ret_from_fork+0x10/0x20 [ 31.950274] [ 31.950303] Allocated by task 288: [ 31.950343] kasan_save_stack+0x3c/0x68 [ 31.950390] kasan_save_track+0x20/0x40 [ 31.950439] kasan_save_alloc_info+0x40/0x58 [ 31.950477] __kasan_kmalloc+0xd4/0xd8 [ 31.950526] __kmalloc_cache_noprof+0x16c/0x3c0 [ 31.950573] kasan_memcmp+0xbc/0x300 [ 31.950619] kunit_try_run_case+0x170/0x3f0 [ 31.950659] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.950726] kthread+0x328/0x630 [ 31.950760] ret_from_fork+0x10/0x20 [ 31.950798] [ 31.950828] The buggy address belongs to the object at fff00000c6534200 [ 31.950828] which belongs to the cache kmalloc-32 of size 32 [ 31.950897] The buggy address is located 0 bytes to the right of [ 31.950897] allocated 24-byte region [fff00000c6534200, fff00000c6534218) [ 31.950968] [ 31.951008] The buggy address belongs to the physical page: [ 31.951069] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106534 [ 31.951401] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.951732] page_type: f5(slab) [ 31.951852] raw: 0bfffe0000000000 fff00000c0001780 dead000000000122 0000000000000000 [ 31.951967] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 31.952198] page dumped because: kasan: bad access detected [ 31.952600] [ 31.952665] Memory state around the buggy address: [ 31.952794] fff00000c6534100: 00 00 00 fc fc fc fc fc 00 00 00 04 fc fc fc fc [ 31.952871] fff00000c6534180: 00 00 07 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 31.952937] >fff00000c6534200: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.953128] ^ [ 31.953315] fff00000c6534280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.953367] fff00000c6534300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.953499] ==================================================================
[ 26.234472] ================================================================== [ 26.235029] BUG: KASAN: slab-out-of-bounds in memcmp+0x1b4/0x1d0 [ 26.235344] Read of size 1 at addr ffff888103eba018 by task kunit_try_catch/306 [ 26.235670] [ 26.235798] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) [ 26.235886] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.235901] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.235937] Call Trace: [ 26.235949] <TASK> [ 26.235968] dump_stack_lvl+0x73/0xb0 [ 26.236000] print_report+0xd1/0x610 [ 26.236043] ? __virt_addr_valid+0x1db/0x2d0 [ 26.236088] ? memcmp+0x1b4/0x1d0 [ 26.236106] ? kasan_complete_mode_report_info+0x2a/0x200 [ 26.236161] ? memcmp+0x1b4/0x1d0 [ 26.236180] kasan_report+0x141/0x180 [ 26.236218] ? memcmp+0x1b4/0x1d0 [ 26.236247] __asan_report_load1_noabort+0x18/0x20 [ 26.236271] memcmp+0x1b4/0x1d0 [ 26.236290] kasan_memcmp+0x18f/0x390 [ 26.236310] ? trace_hardirqs_on+0x37/0xe0 [ 26.236333] ? __pfx_kasan_memcmp+0x10/0x10 [ 26.236352] ? finish_task_switch.isra.0+0x153/0x700 [ 26.236374] ? __switch_to+0x47/0xf80 [ 26.236402] ? __pfx_read_tsc+0x10/0x10 [ 26.236424] ? ktime_get_ts64+0x86/0x230 [ 26.236457] kunit_try_run_case+0x1a5/0x480 [ 26.236480] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.236500] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.236524] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.236547] ? __kthread_parkme+0x82/0x180 [ 26.236593] ? preempt_count_sub+0x50/0x80 [ 26.236615] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.236636] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.236694] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.236719] kthread+0x337/0x6f0 [ 26.236738] ? trace_preempt_on+0x20/0xc0 [ 26.236779] ? __pfx_kthread+0x10/0x10 [ 26.236799] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.236820] ? calculate_sigpending+0x7b/0xa0 [ 26.236844] ? __pfx_kthread+0x10/0x10 [ 26.236866] ret_from_fork+0x116/0x1d0 [ 26.236885] ? __pfx_kthread+0x10/0x10 [ 26.236905] ret_from_fork_asm+0x1a/0x30 [ 26.236935] </TASK> [ 26.237009] [ 26.249062] Allocated by task 306: [ 26.249481] kasan_save_stack+0x45/0x70 [ 26.249701] kasan_save_track+0x18/0x40 [ 26.250037] kasan_save_alloc_info+0x3b/0x50 [ 26.250233] __kasan_kmalloc+0xb7/0xc0 [ 26.250398] __kmalloc_cache_noprof+0x189/0x420 [ 26.250597] kasan_memcmp+0xb7/0x390 [ 26.251354] kunit_try_run_case+0x1a5/0x480 [ 26.251739] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.252448] kthread+0x337/0x6f0 [ 26.252811] ret_from_fork+0x116/0x1d0 [ 26.253053] ret_from_fork_asm+0x1a/0x30 [ 26.253235] [ 26.253321] The buggy address belongs to the object at ffff888103eba000 [ 26.253321] which belongs to the cache kmalloc-32 of size 32 [ 26.253903] The buggy address is located 0 bytes to the right of [ 26.253903] allocated 24-byte region [ffff888103eba000, ffff888103eba018) [ 26.254408] [ 26.254495] The buggy address belongs to the physical page: [ 26.255318] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103eba [ 26.255785] flags: 0x200000000000000(node=0|zone=2) [ 26.256411] page_type: f5(slab) [ 26.256634] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 26.257585] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 26.258369] page dumped because: kasan: bad access detected [ 26.258708] [ 26.259041] Memory state around the buggy address: [ 26.259265] ffff888103eb9f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.259550] ffff888103eb9f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.260279] >ffff888103eba000: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.260726] ^ [ 26.261082] ffff888103eba080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.261378] ffff888103eba100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.261668] ==================================================================