Date
July 3, 2025, 10:10 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-arm64 | |
qemu-x86_64 |
[ 45.568117] ================================================================== [ 45.579078] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x344/0x430 [ 45.585872] Read of size 1 at addr ffff000095dfa0c8 by task kunit_try_catch/316 [ 45.593278] [ 45.594807] CPU: 5 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT [ 45.594838] Tainted: [B]=BAD_PAGE, [N]=TEST [ 45.594846] Hardware name: Thundercomm Dragonboard 845c (DT) [ 45.594857] Call trace: [ 45.594864] show_stack+0x20/0x38 (C) [ 45.594882] dump_stack_lvl+0x8c/0xd0 [ 45.594903] print_report+0x118/0x608 [ 45.594924] kasan_report+0xdc/0x128 [ 45.594941] __asan_report_load1_noabort+0x20/0x30 [ 45.594957] kmem_cache_oob+0x344/0x430 [ 45.594972] kunit_try_run_case+0x170/0x3f0 [ 45.594989] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 45.595010] kthread+0x328/0x630 [ 45.595025] ret_from_fork+0x10/0x20 [ 45.595041] [ 45.660372] Allocated by task 316: [ 45.663826] kasan_save_stack+0x3c/0x68 [ 45.667734] kasan_save_track+0x20/0x40 [ 45.671638] kasan_save_alloc_info+0x40/0x58 [ 45.675975] __kasan_slab_alloc+0xa8/0xb0 [ 45.680052] kmem_cache_alloc_noprof+0x10c/0x398 [ 45.684739] kmem_cache_oob+0x12c/0x430 [ 45.688641] kunit_try_run_case+0x170/0x3f0 [ 45.692892] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 45.698458] kthread+0x328/0x630 [ 45.701740] ret_from_fork+0x10/0x20 [ 45.705381] [ 45.706904] The buggy address belongs to the object at ffff000095dfa000 [ 45.706904] which belongs to the cache test_cache of size 200 [ 45.719467] The buggy address is located 0 bytes to the right of [ 45.719467] allocated 200-byte region [ffff000095dfa000, ffff000095dfa0c8) [ 45.732563] [ 45.734087] The buggy address belongs to the physical page: [ 45.739735] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x115dfa [ 45.747836] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 45.755587] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 45.762638] page_type: f5(slab) [ 45.765835] raw: 0bfffe0000000040 ffff0000812c6a00 dead000000000122 0000000000000000 [ 45.773676] raw: 0000000000000000 00000000801f001f 00000000f5000000 0000000000000000 [ 45.781515] head: 0bfffe0000000040 ffff0000812c6a00 dead000000000122 0000000000000000 [ 45.789442] head: 0000000000000000 00000000801f001f 00000000f5000000 0000000000000000 [ 45.797366] head: 0bfffe0000000001 fffffdffc2577e81 00000000ffffffff 00000000ffffffff [ 45.805288] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 45.813207] page dumped because: kasan: bad access detected [ 45.818848] [ 45.820376] Memory state around the buggy address: [ 45.825237] ffff000095df9f80: fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc [ 45.832548] ffff000095dfa000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.839861] >ffff000095dfa080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 45.847165] ^ [ 45.852804] ffff000095dfa100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.860114] ffff000095dfa180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.867426] ==================================================================
[ 31.651082] ================================================================== [ 31.651150] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x344/0x430 [ 31.651215] Read of size 1 at addr fff00000c9b440c8 by task kunit_try_catch/239 [ 31.651527] [ 31.652066] CPU: 0 UID: 0 PID: 239 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT [ 31.652789] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.652823] Hardware name: linux,dummy-virt (DT) [ 31.652968] Call trace: [ 31.653300] show_stack+0x20/0x38 (C) [ 31.653456] dump_stack_lvl+0x8c/0xd0 [ 31.653556] print_report+0x118/0x608 [ 31.653606] kasan_report+0xdc/0x128 [ 31.653652] __asan_report_load1_noabort+0x20/0x30 [ 31.653732] kmem_cache_oob+0x344/0x430 [ 31.653780] kunit_try_run_case+0x170/0x3f0 [ 31.653889] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.653945] kthread+0x328/0x630 [ 31.653994] ret_from_fork+0x10/0x20 [ 31.654099] [ 31.654119] Allocated by task 239: [ 31.654148] kasan_save_stack+0x3c/0x68 [ 31.654210] kasan_save_track+0x20/0x40 [ 31.654316] kasan_save_alloc_info+0x40/0x58 [ 31.654434] __kasan_slab_alloc+0xa8/0xb0 [ 31.654593] kmem_cache_alloc_noprof+0x10c/0x398 [ 31.654655] kmem_cache_oob+0x12c/0x430 [ 31.654699] kunit_try_run_case+0x170/0x3f0 [ 31.654844] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.654891] kthread+0x328/0x630 [ 31.654923] ret_from_fork+0x10/0x20 [ 31.654994] [ 31.655014] The buggy address belongs to the object at fff00000c9b44000 [ 31.655014] which belongs to the cache test_cache of size 200 [ 31.655074] The buggy address is located 0 bytes to the right of [ 31.655074] allocated 200-byte region [fff00000c9b44000, fff00000c9b440c8) [ 31.655140] [ 31.655712] The buggy address belongs to the physical page: [ 31.655760] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109b44 [ 31.656128] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.656340] page_type: f5(slab) [ 31.656576] raw: 0bfffe0000000000 fff00000c1c3c8c0 dead000000000122 0000000000000000 [ 31.656646] raw: 0000000000000000 00000000800f000f 00000000f5000000 0000000000000000 [ 31.656744] page dumped because: kasan: bad access detected [ 31.656858] [ 31.656876] Memory state around the buggy address: [ 31.656911] fff00000c9b43f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.656967] fff00000c9b44000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.657011] >fff00000c9b44080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 31.657051] ^ [ 31.657482] fff00000c9b44100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.657552] fff00000c9b44180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.657591] ==================================================================
[ 23.798195] ================================================================== [ 23.798820] BUG: KASAN: slab-out-of-bounds in kmem_cache_oob+0x402/0x530 [ 23.799054] Read of size 1 at addr ffff888105ac30c8 by task kunit_try_catch/256 [ 23.799599] [ 23.799707] CPU: 0 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) [ 23.799755] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.799767] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.799789] Call Trace: [ 23.799802] <TASK> [ 23.799819] dump_stack_lvl+0x73/0xb0 [ 23.799850] print_report+0xd1/0x650 [ 23.799874] ? __virt_addr_valid+0x1db/0x2d0 [ 23.799898] ? kmem_cache_oob+0x402/0x530 [ 23.799919] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.799944] ? kmem_cache_oob+0x402/0x530 [ 23.799966] kasan_report+0x141/0x180 [ 23.799987] ? kmem_cache_oob+0x402/0x530 [ 23.800014] __asan_report_load1_noabort+0x18/0x20 [ 23.800037] kmem_cache_oob+0x402/0x530 [ 23.800058] ? trace_hardirqs_on+0x37/0xe0 [ 23.800082] ? __pfx_kmem_cache_oob+0x10/0x10 [ 23.800103] ? finish_task_switch.isra.0+0x153/0x700 [ 23.800125] ? __switch_to+0x47/0xf50 [ 23.800466] ? __pfx_read_tsc+0x10/0x10 [ 23.800500] ? ktime_get_ts64+0x86/0x230 [ 23.800526] kunit_try_run_case+0x1a5/0x480 [ 23.800553] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.800576] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.800598] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.800623] ? __kthread_parkme+0x82/0x180 [ 23.800644] ? preempt_count_sub+0x50/0x80 [ 23.800666] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.800690] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.800713] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.800737] kthread+0x337/0x6f0 [ 23.800757] ? trace_preempt_on+0x20/0xc0 [ 23.800778] ? __pfx_kthread+0x10/0x10 [ 23.800799] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.800822] ? calculate_sigpending+0x7b/0xa0 [ 23.800845] ? __pfx_kthread+0x10/0x10 [ 23.800866] ret_from_fork+0x116/0x1d0 [ 23.800885] ? __pfx_kthread+0x10/0x10 [ 23.800906] ret_from_fork_asm+0x1a/0x30 [ 23.800936] </TASK> [ 23.800948] [ 23.808807] Allocated by task 256: [ 23.808961] kasan_save_stack+0x45/0x70 [ 23.809158] kasan_save_track+0x18/0x40 [ 23.809385] kasan_save_alloc_info+0x3b/0x50 [ 23.809939] __kasan_slab_alloc+0x91/0xa0 [ 23.810371] kmem_cache_alloc_noprof+0x123/0x3f0 [ 23.811468] kmem_cache_oob+0x157/0x530 [ 23.811702] kunit_try_run_case+0x1a5/0x480 [ 23.811905] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.812123] kthread+0x337/0x6f0 [ 23.812493] ret_from_fork+0x116/0x1d0 [ 23.812696] ret_from_fork_asm+0x1a/0x30 [ 23.813004] [ 23.813093] The buggy address belongs to the object at ffff888105ac3000 [ 23.813093] which belongs to the cache test_cache of size 200 [ 23.813662] The buggy address is located 0 bytes to the right of [ 23.813662] allocated 200-byte region [ffff888105ac3000, ffff888105ac30c8) [ 23.814182] [ 23.814269] The buggy address belongs to the physical page: [ 23.814920] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105ac3 [ 23.815233] flags: 0x200000000000000(node=0|zone=2) [ 23.815541] page_type: f5(slab) [ 23.815811] raw: 0200000000000000 ffff8881010c2dc0 dead000000000122 0000000000000000 [ 23.816400] raw: 0000000000000000 00000000800f000f 00000000f5000000 0000000000000000 [ 23.816780] page dumped because: kasan: bad access detected [ 23.816998] [ 23.817090] Memory state around the buggy address: [ 23.817275] ffff888105ac2f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.817584] ffff888105ac3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.817878] >ffff888105ac3080: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc [ 23.818173] ^ [ 23.818392] ffff888105ac3100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.819154] ffff888105ac3180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.819654] ==================================================================