Date
July 11, 2025, 10:11 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 37.992072] ================================================================== [ 38.002873] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 38.010155] Write of size 1 at addr ffff000800df1f00 by task kunit_try_catch/228 [ 38.017530] [ 38.019017] CPU: 4 UID: 0 PID: 228 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250711 #1 PREEMPT [ 38.019070] Tainted: [B]=BAD_PAGE, [N]=TEST [ 38.019087] Hardware name: WinLink E850-96 board (DT) [ 38.019109] Call trace: [ 38.019122] show_stack+0x20/0x38 (C) [ 38.019158] dump_stack_lvl+0x8c/0xd0 [ 38.019189] print_report+0x118/0x5d0 [ 38.019219] kasan_report+0xdc/0x128 [ 38.019248] __asan_report_store1_noabort+0x20/0x30 [ 38.019284] kmalloc_big_oob_right+0x2a4/0x2f0 [ 38.019315] kunit_try_run_case+0x170/0x3f0 [ 38.019353] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.019386] kthread+0x328/0x630 [ 38.019415] ret_from_fork+0x10/0x20 [ 38.019452] [ 38.083417] Allocated by task 228: [ 38.086804] kasan_save_stack+0x3c/0x68 [ 38.090620] kasan_save_track+0x20/0x40 [ 38.094439] kasan_save_alloc_info+0x40/0x58 [ 38.098693] __kasan_kmalloc+0xd4/0xd8 [ 38.102427] __kmalloc_cache_noprof+0x16c/0x3c0 [ 38.106939] kmalloc_big_oob_right+0xb8/0x2f0 [ 38.111279] kunit_try_run_case+0x170/0x3f0 [ 38.115446] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.120914] kthread+0x328/0x630 [ 38.124126] ret_from_fork+0x10/0x20 [ 38.127685] [ 38.129162] The buggy address belongs to the object at ffff000800df0000 [ 38.129162] which belongs to the cache kmalloc-8k of size 8192 [ 38.141665] The buggy address is located 0 bytes to the right of [ 38.141665] allocated 7936-byte region [ffff000800df0000, ffff000800df1f00) [ 38.154683] [ 38.156161] The buggy address belongs to the physical page: [ 38.161716] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x880df0 [ 38.169701] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 38.177340] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 38.184283] page_type: f5(slab) [ 38.187419] raw: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 38.195139] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 38.202865] head: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 38.210677] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 38.218490] head: 0bfffe0000000003 fffffdffe0037c01 00000000ffffffff 00000000ffffffff [ 38.226303] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 38.234107] page dumped because: kasan: bad access detected [ 38.239663] [ 38.241138] Memory state around the buggy address: [ 38.245918] ffff000800df1e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.253121] ffff000800df1e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.260327] >ffff000800df1f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.267527] ^ [ 38.270743] ffff000800df1f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.277948] ffff000800df2000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.285150] ==================================================================
[ 30.105280] ================================================================== [ 30.105386] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 30.105571] Write of size 1 at addr fff00000c9a71f00 by task kunit_try_catch/175 [ 30.105677] [ 30.105789] CPU: 1 UID: 0 PID: 175 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250711 #1 PREEMPT [ 30.105914] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.105946] Hardware name: linux,dummy-virt (DT) [ 30.105981] Call trace: [ 30.106005] show_stack+0x20/0x38 (C) [ 30.106058] dump_stack_lvl+0x8c/0xd0 [ 30.106107] print_report+0x118/0x5d0 [ 30.106151] kasan_report+0xdc/0x128 [ 30.106194] __asan_report_store1_noabort+0x20/0x30 [ 30.106244] kmalloc_big_oob_right+0x2a4/0x2f0 [ 30.106292] kunit_try_run_case+0x170/0x3f0 [ 30.106353] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.106449] kthread+0x328/0x630 [ 30.106533] ret_from_fork+0x10/0x20 [ 30.106711] [ 30.106764] Allocated by task 175: [ 30.106831] kasan_save_stack+0x3c/0x68 [ 30.106959] kasan_save_track+0x20/0x40 [ 30.107047] kasan_save_alloc_info+0x40/0x58 [ 30.107145] __kasan_kmalloc+0xd4/0xd8 [ 30.107257] __kmalloc_cache_noprof+0x16c/0x3c0 [ 30.107418] kmalloc_big_oob_right+0xb8/0x2f0 [ 30.107468] kunit_try_run_case+0x170/0x3f0 [ 30.107549] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.107630] kthread+0x328/0x630 [ 30.107943] ret_from_fork+0x10/0x20 [ 30.108082] [ 30.108112] The buggy address belongs to the object at fff00000c9a70000 [ 30.108112] which belongs to the cache kmalloc-8k of size 8192 [ 30.108222] The buggy address is located 0 bytes to the right of [ 30.108222] allocated 7936-byte region [fff00000c9a70000, fff00000c9a71f00) [ 30.108347] [ 30.108402] The buggy address belongs to the physical page: [ 30.108459] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a70 [ 30.108546] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 30.108855] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 30.108962] page_type: f5(slab) [ 30.109419] raw: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 30.109488] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 30.109565] head: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 30.109652] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 30.109737] head: 0bfffe0000000003 ffffc1ffc3269c01 00000000ffffffff 00000000ffffffff [ 30.109784] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 30.109848] page dumped because: kasan: bad access detected [ 30.109879] [ 30.109897] Memory state around the buggy address: [ 30.109930] fff00000c9a71e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.110125] fff00000c9a71e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.110299] >fff00000c9a71f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.110398] ^ [ 30.110467] fff00000c9a71f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.110553] fff00000c9a72000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.110614] ==================================================================
[ 23.194581] ================================================================== [ 23.196139] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x316/0x370 [ 23.197282] Write of size 1 at addr ffff888102c09f00 by task kunit_try_catch/194 [ 23.198084] [ 23.198433] CPU: 0 UID: 0 PID: 194 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) [ 23.198494] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.198508] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.198532] Call Trace: [ 23.198546] <TASK> [ 23.198565] dump_stack_lvl+0x73/0xb0 [ 23.198730] print_report+0xd1/0x610 [ 23.198769] ? __virt_addr_valid+0x1db/0x2d0 [ 23.198795] ? kmalloc_big_oob_right+0x316/0x370 [ 23.198820] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.198846] ? kmalloc_big_oob_right+0x316/0x370 [ 23.198868] kasan_report+0x141/0x180 [ 23.198891] ? kmalloc_big_oob_right+0x316/0x370 [ 23.198917] __asan_report_store1_noabort+0x1b/0x30 [ 23.198940] kmalloc_big_oob_right+0x316/0x370 [ 23.198962] ? __pfx_kmalloc_big_oob_right+0x10/0x10 [ 23.198984] ? __schedule+0x10cc/0x2b60 [ 23.199007] ? __pfx_read_tsc+0x10/0x10 [ 23.199029] ? ktime_get_ts64+0x86/0x230 [ 23.199055] kunit_try_run_case+0x1a5/0x480 [ 23.199079] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.199099] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.199122] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.199144] ? __kthread_parkme+0x82/0x180 [ 23.199166] ? preempt_count_sub+0x50/0x80 [ 23.199190] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.199210] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.199235] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.199259] kthread+0x337/0x6f0 [ 23.199503] ? trace_preempt_on+0x20/0xc0 [ 23.199529] ? __pfx_kthread+0x10/0x10 [ 23.199550] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.199571] ? calculate_sigpending+0x7b/0xa0 [ 23.199596] ? __pfx_kthread+0x10/0x10 [ 23.199617] ret_from_fork+0x116/0x1d0 [ 23.199636] ? __pfx_kthread+0x10/0x10 [ 23.199656] ret_from_fork_asm+0x1a/0x30 [ 23.199687] </TASK> [ 23.199699] [ 23.212708] Allocated by task 194: [ 23.212857] kasan_save_stack+0x45/0x70 [ 23.212999] kasan_save_track+0x18/0x40 [ 23.213127] kasan_save_alloc_info+0x3b/0x50 [ 23.213308] __kasan_kmalloc+0xb7/0xc0 [ 23.213741] __kmalloc_cache_noprof+0x189/0x420 [ 23.214217] kmalloc_big_oob_right+0xa9/0x370 [ 23.214779] kunit_try_run_case+0x1a5/0x480 [ 23.215174] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.216001] kthread+0x337/0x6f0 [ 23.216422] ret_from_fork+0x116/0x1d0 [ 23.216791] ret_from_fork_asm+0x1a/0x30 [ 23.217133] [ 23.217202] The buggy address belongs to the object at ffff888102c08000 [ 23.217202] which belongs to the cache kmalloc-8k of size 8192 [ 23.218224] The buggy address is located 0 bytes to the right of [ 23.218224] allocated 7936-byte region [ffff888102c08000, ffff888102c09f00) [ 23.219187] [ 23.219363] The buggy address belongs to the physical page: [ 23.219857] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102c08 [ 23.220109] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 23.220661] flags: 0x200000000000040(head|node=0|zone=2) [ 23.221161] page_type: f5(slab) [ 23.221551] raw: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 23.222243] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 23.222889] head: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 23.223571] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 23.223825] head: 0200000000000003 ffffea00040b0201 00000000ffffffff 00000000ffffffff [ 23.224047] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 23.224266] page dumped because: kasan: bad access detected [ 23.224869] [ 23.225020] Memory state around the buggy address: [ 23.225494] ffff888102c09e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.226388] ffff888102c09e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.227093] >ffff888102c09f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.227835] ^ [ 23.228054] ffff888102c09f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.228304] ffff888102c0a000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.229019] ==================================================================