Date
July 15, 2025, 11:35 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 37.120237] ================================================================== [ 37.129501] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 37.136872] Read of size 1 at addr ffff0008080fd000 by task kunit_try_catch/221 [ 37.144162] [ 37.145649] CPU: 2 UID: 0 PID: 221 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 37.145706] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.145723] Hardware name: WinLink E850-96 board (DT) [ 37.145743] Call trace: [ 37.145757] show_stack+0x20/0x38 (C) [ 37.145794] dump_stack_lvl+0x8c/0xd0 [ 37.145826] print_report+0x118/0x5d0 [ 37.145854] kasan_report+0xdc/0x128 [ 37.145880] __asan_report_load1_noabort+0x20/0x30 [ 37.145913] kmalloc_node_oob_right+0x2f4/0x330 [ 37.145944] kunit_try_run_case+0x170/0x3f0 [ 37.145974] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.146009] kthread+0x328/0x630 [ 37.146037] ret_from_fork+0x10/0x20 [ 37.146070] [ 37.210047] Allocated by task 221: [ 37.213435] kasan_save_stack+0x3c/0x68 [ 37.217251] kasan_save_track+0x20/0x40 [ 37.221071] kasan_save_alloc_info+0x40/0x58 [ 37.225324] __kasan_kmalloc+0xd4/0xd8 [ 37.229056] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 37.234004] kmalloc_node_oob_right+0xbc/0x330 [ 37.238431] kunit_try_run_case+0x170/0x3f0 [ 37.242598] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.248066] kthread+0x328/0x630 [ 37.251278] ret_from_fork+0x10/0x20 [ 37.254837] [ 37.256315] The buggy address belongs to the object at ffff0008080fc000 [ 37.256315] which belongs to the cache kmalloc-4k of size 4096 [ 37.268816] The buggy address is located 0 bytes to the right of [ 37.268816] allocated 4096-byte region [ffff0008080fc000, ffff0008080fd000) [ 37.281833] [ 37.283312] The buggy address belongs to the physical page: [ 37.288870] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8880f8 [ 37.296852] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 37.304493] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 37.311435] page_type: f5(slab) [ 37.314572] raw: 0bfffe0000000040 ffff000800003040 dead000000000122 0000000000000000 [ 37.322291] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 37.330019] head: 0bfffe0000000040 ffff000800003040 dead000000000122 0000000000000000 [ 37.337828] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 37.345642] head: 0bfffe0000000003 fffffdffe0203e01 00000000ffffffff 00000000ffffffff [ 37.353453] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 37.361260] page dumped because: kasan: bad access detected [ 37.366815] [ 37.368290] Memory state around the buggy address: [ 37.373072] ffff0008080fcf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.380273] ffff0008080fcf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.387479] >ffff0008080fd000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.394679] ^ [ 37.397894] ffff0008080fd080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.405099] ffff0008080fd100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.412301] ==================================================================
[ 30.296498] ================================================================== [ 30.296629] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 30.296699] Read of size 1 at addr fff00000c9a07000 by task kunit_try_catch/172 [ 30.296813] [ 30.297196] CPU: 0 UID: 0 PID: 172 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 30.297287] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.297313] Hardware name: linux,dummy-virt (DT) [ 30.297413] Call trace: [ 30.297456] show_stack+0x20/0x38 (C) [ 30.297509] dump_stack_lvl+0x8c/0xd0 [ 30.297558] print_report+0x118/0x5d0 [ 30.297601] kasan_report+0xdc/0x128 [ 30.297765] __asan_report_load1_noabort+0x20/0x30 [ 30.297991] kmalloc_node_oob_right+0x2f4/0x330 [ 30.298099] kunit_try_run_case+0x170/0x3f0 [ 30.298188] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.298269] kthread+0x328/0x630 [ 30.298366] ret_from_fork+0x10/0x20 [ 30.298502] [ 30.298550] Allocated by task 172: [ 30.298615] kasan_save_stack+0x3c/0x68 [ 30.298669] kasan_save_track+0x20/0x40 [ 30.298708] kasan_save_alloc_info+0x40/0x58 [ 30.298744] __kasan_kmalloc+0xd4/0xd8 [ 30.298781] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 30.298830] kmalloc_node_oob_right+0xbc/0x330 [ 30.298869] kunit_try_run_case+0x170/0x3f0 [ 30.298904] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.298945] kthread+0x328/0x630 [ 30.298976] ret_from_fork+0x10/0x20 [ 30.299012] [ 30.299032] The buggy address belongs to the object at fff00000c9a06000 [ 30.299032] which belongs to the cache kmalloc-4k of size 4096 [ 30.299088] The buggy address is located 0 bytes to the right of [ 30.299088] allocated 4096-byte region [fff00000c9a06000, fff00000c9a07000) [ 30.299307] [ 30.299353] The buggy address belongs to the physical page: [ 30.299472] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a00 [ 30.299753] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 30.299831] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 30.299955] page_type: f5(slab) [ 30.300014] raw: 0bfffe0000000040 fff00000c0002140 dead000000000100 dead000000000122 [ 30.300086] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 30.300142] head: 0bfffe0000000040 fff00000c0002140 dead000000000100 dead000000000122 [ 30.300201] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 30.300702] head: 0bfffe0000000003 ffffc1ffc3268001 00000000ffffffff 00000000ffffffff [ 30.300759] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 30.300808] page dumped because: kasan: bad access detected [ 30.300838] [ 30.300855] Memory state around the buggy address: [ 30.301063] fff00000c9a06f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.301138] fff00000c9a06f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.301181] >fff00000c9a07000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.301262] ^ [ 30.301345] fff00000c9a07080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.301428] fff00000c9a07100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.301494] ==================================================================
[ 23.477106] ================================================================== [ 23.477562] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x369/0x3c0 [ 23.478424] Read of size 1 at addr ffff8881054d7000 by task kunit_try_catch/188 [ 23.479293] [ 23.479430] CPU: 0 UID: 0 PID: 188 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) [ 23.479489] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.479505] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.479539] Call Trace: [ 23.479557] <TASK> [ 23.479576] dump_stack_lvl+0x73/0xb0 [ 23.479632] print_report+0xd1/0x610 [ 23.479660] ? __virt_addr_valid+0x1db/0x2d0 [ 23.479691] ? kmalloc_node_oob_right+0x369/0x3c0 [ 23.479719] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.479749] ? kmalloc_node_oob_right+0x369/0x3c0 [ 23.479778] kasan_report+0x141/0x180 [ 23.479863] ? kmalloc_node_oob_right+0x369/0x3c0 [ 23.479913] __asan_report_load1_noabort+0x18/0x20 [ 23.479943] kmalloc_node_oob_right+0x369/0x3c0 [ 23.479972] ? __pfx_kmalloc_node_oob_right+0x10/0x10 [ 23.480001] ? __schedule+0x10cc/0x2b60 [ 23.480028] ? __pfx_read_tsc+0x10/0x10 [ 23.480055] ? ktime_get_ts64+0x86/0x230 [ 23.480087] kunit_try_run_case+0x1a5/0x480 [ 23.480117] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.480144] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.480172] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.480200] ? __kthread_parkme+0x82/0x180 [ 23.480226] ? preempt_count_sub+0x50/0x80 [ 23.480255] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.480283] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.480314] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.480345] kthread+0x337/0x6f0 [ 23.480369] ? trace_preempt_on+0x20/0xc0 [ 23.480399] ? __pfx_kthread+0x10/0x10 [ 23.480424] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.480453] ? calculate_sigpending+0x7b/0xa0 [ 23.480482] ? __pfx_kthread+0x10/0x10 [ 23.480509] ret_from_fork+0x116/0x1d0 [ 23.480553] ? __pfx_kthread+0x10/0x10 [ 23.480579] ret_from_fork_asm+0x1a/0x30 [ 23.480620] </TASK> [ 23.480633] [ 23.490338] Allocated by task 188: [ 23.490480] kasan_save_stack+0x45/0x70 [ 23.490684] kasan_save_track+0x18/0x40 [ 23.490942] kasan_save_alloc_info+0x3b/0x50 [ 23.491160] __kasan_kmalloc+0xb7/0xc0 [ 23.491305] __kmalloc_cache_node_noprof+0x188/0x420 [ 23.491730] kmalloc_node_oob_right+0xab/0x3c0 [ 23.492012] kunit_try_run_case+0x1a5/0x480 [ 23.492158] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.492363] kthread+0x337/0x6f0 [ 23.492591] ret_from_fork+0x116/0x1d0 [ 23.493068] ret_from_fork_asm+0x1a/0x30 [ 23.493274] [ 23.493416] The buggy address belongs to the object at ffff8881054d6000 [ 23.493416] which belongs to the cache kmalloc-4k of size 4096 [ 23.494038] The buggy address is located 0 bytes to the right of [ 23.494038] allocated 4096-byte region [ffff8881054d6000, ffff8881054d7000) [ 23.494789] [ 23.494882] The buggy address belongs to the physical page: [ 23.495247] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1054d0 [ 23.495967] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 23.496293] flags: 0x200000000000040(head|node=0|zone=2) [ 23.496664] page_type: f5(slab) [ 23.496850] raw: 0200000000000040 ffff888100042140 dead000000000100 dead000000000122 [ 23.497180] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 23.497534] head: 0200000000000040 ffff888100042140 dead000000000100 dead000000000122 [ 23.497974] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 23.498319] head: 0200000000000003 ffffea0004153401 00000000ffffffff 00000000ffffffff [ 23.498819] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 23.499139] page dumped because: kasan: bad access detected [ 23.499411] [ 23.499528] Memory state around the buggy address: [ 23.499812] ffff8881054d6f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.500140] ffff8881054d6f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.500499] >ffff8881054d7000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.500811] ^ [ 23.501022] ffff8881054d7080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.501376] ffff8881054d7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.501773] ==================================================================