Date
July 14, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 37.949707] ================================================================== [ 37.960547] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 37.967826] Write of size 1 at addr ffff000807751f00 by task kunit_try_catch/228 [ 37.975205] [ 37.976692] CPU: 2 UID: 0 PID: 228 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 37.976750] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.976767] Hardware name: WinLink E850-96 board (DT) [ 37.976788] Call trace: [ 37.976801] show_stack+0x20/0x38 (C) [ 37.976836] dump_stack_lvl+0x8c/0xd0 [ 37.976868] print_report+0x118/0x5d0 [ 37.976896] kasan_report+0xdc/0x128 [ 37.976922] __asan_report_store1_noabort+0x20/0x30 [ 37.976956] kmalloc_big_oob_right+0x2a4/0x2f0 [ 37.976987] kunit_try_run_case+0x170/0x3f0 [ 37.977024] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.977056] kthread+0x328/0x630 [ 37.977087] ret_from_fork+0x10/0x20 [ 37.977122] [ 38.041091] Allocated by task 228: [ 38.044477] kasan_save_stack+0x3c/0x68 [ 38.048294] kasan_save_track+0x20/0x40 [ 38.052113] kasan_save_alloc_info+0x40/0x58 [ 38.056367] __kasan_kmalloc+0xd4/0xd8 [ 38.060099] __kmalloc_cache_noprof+0x16c/0x3c0 [ 38.064613] kmalloc_big_oob_right+0xb8/0x2f0 [ 38.068953] kunit_try_run_case+0x170/0x3f0 [ 38.073120] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.078589] kthread+0x328/0x630 [ 38.081800] ret_from_fork+0x10/0x20 [ 38.085359] [ 38.086838] The buggy address belongs to the object at ffff000807750000 [ 38.086838] which belongs to the cache kmalloc-8k of size 8192 [ 38.099338] The buggy address is located 0 bytes to the right of [ 38.099338] allocated 7936-byte region [ffff000807750000, ffff000807751f00) [ 38.112355] [ 38.113835] The buggy address belongs to the physical page: [ 38.119392] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x887750 [ 38.127377] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 38.135013] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 38.141959] page_type: f5(slab) [ 38.145094] raw: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 38.152814] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 38.160539] head: 0bfffe0000000040 ffff000800003180 dead000000000122 0000000000000000 [ 38.168351] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 38.176164] head: 0bfffe0000000003 fffffdffe01dd401 00000000ffffffff 00000000ffffffff [ 38.183976] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 38.191783] page dumped because: kasan: bad access detected [ 38.197336] [ 38.198812] Memory state around the buggy address: [ 38.203594] ffff000807751e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.210795] ffff000807751e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.218001] >ffff000807751f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.225201] ^ [ 38.228416] ffff000807751f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.235622] ffff000807752000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 38.242824] ==================================================================
[ 29.339594] ================================================================== [ 29.339676] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x2a4/0x2f0 [ 29.339760] Write of size 1 at addr fff00000c659df00 by task kunit_try_catch/175 [ 29.339826] [ 29.339883] CPU: 0 UID: 0 PID: 175 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 29.340175] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.340286] Hardware name: linux,dummy-virt (DT) [ 29.340457] Call trace: [ 29.340574] show_stack+0x20/0x38 (C) [ 29.340682] dump_stack_lvl+0x8c/0xd0 [ 29.340793] print_report+0x118/0x5d0 [ 29.340878] kasan_report+0xdc/0x128 [ 29.340918] __asan_report_store1_noabort+0x20/0x30 [ 29.340965] kmalloc_big_oob_right+0x2a4/0x2f0 [ 29.341033] kunit_try_run_case+0x170/0x3f0 [ 29.341091] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.341139] kthread+0x328/0x630 [ 29.341180] ret_from_fork+0x10/0x20 [ 29.341228] [ 29.341247] Allocated by task 175: [ 29.341275] kasan_save_stack+0x3c/0x68 [ 29.341316] kasan_save_track+0x20/0x40 [ 29.341496] kasan_save_alloc_info+0x40/0x58 [ 29.341608] __kasan_kmalloc+0xd4/0xd8 [ 29.341729] __kmalloc_cache_noprof+0x16c/0x3c0 [ 29.341827] kmalloc_big_oob_right+0xb8/0x2f0 [ 29.341884] kunit_try_run_case+0x170/0x3f0 [ 29.342185] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.342325] kthread+0x328/0x630 [ 29.342409] ret_from_fork+0x10/0x20 [ 29.342542] [ 29.342563] The buggy address belongs to the object at fff00000c659c000 [ 29.342563] which belongs to the cache kmalloc-8k of size 8192 [ 29.342638] The buggy address is located 0 bytes to the right of [ 29.342638] allocated 7936-byte region [fff00000c659c000, fff00000c659df00) [ 29.342722] [ 29.342745] The buggy address belongs to the physical page: [ 29.342777] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106598 [ 29.342845] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 29.342910] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 29.342980] page_type: f5(slab) [ 29.343021] raw: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 29.343079] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 29.343127] head: 0bfffe0000000040 fff00000c0002280 dead000000000122 0000000000000000 [ 29.343174] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 29.343220] head: 0bfffe0000000003 ffffc1ffc3196601 00000000ffffffff 00000000ffffffff [ 29.343266] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 29.343304] page dumped because: kasan: bad access detected [ 29.343342] [ 29.343360] Memory state around the buggy address: [ 29.343400] fff00000c659de00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.343448] fff00000c659de80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.343498] >fff00000c659df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.343533] ^ [ 29.343559] fff00000c659df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.343614] fff00000c659e000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.343658] ==================================================================
[ 23.693626] ================================================================== [ 23.694506] BUG: KASAN: slab-out-of-bounds in kmalloc_big_oob_right+0x316/0x370 [ 23.695720] Write of size 1 at addr ffff888105891f00 by task kunit_try_catch/193 [ 23.696310] [ 23.696410] CPU: 0 UID: 0 PID: 193 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) [ 23.696466] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 23.696480] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.696504] Call Trace: [ 23.696516] <TASK> [ 23.696535] dump_stack_lvl+0x73/0xb0 [ 23.696573] print_report+0xd1/0x610 [ 23.696596] ? __virt_addr_valid+0x1db/0x2d0 [ 23.696619] ? kmalloc_big_oob_right+0x316/0x370 [ 23.696641] ? kasan_complete_mode_report_info+0x2a/0x200 [ 23.696680] ? kmalloc_big_oob_right+0x316/0x370 [ 23.696702] kasan_report+0x141/0x180 [ 23.696722] ? kmalloc_big_oob_right+0x316/0x370 [ 23.696748] __asan_report_store1_noabort+0x1b/0x30 [ 23.696771] kmalloc_big_oob_right+0x316/0x370 [ 23.696809] ? __pfx_kmalloc_big_oob_right+0x10/0x10 [ 23.696831] ? __schedule+0x10cc/0x2b60 [ 23.696854] ? __pfx_read_tsc+0x10/0x10 [ 23.696876] ? ktime_get_ts64+0x86/0x230 [ 23.696902] kunit_try_run_case+0x1a5/0x480 [ 23.696925] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.696944] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.696978] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.697001] ? __kthread_parkme+0x82/0x180 [ 23.697022] ? preempt_count_sub+0x50/0x80 [ 23.697045] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.697066] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.697091] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.697115] kthread+0x337/0x6f0 [ 23.697135] ? trace_preempt_on+0x20/0xc0 [ 23.697157] ? __pfx_kthread+0x10/0x10 [ 23.697178] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.697198] ? calculate_sigpending+0x7b/0xa0 [ 23.697223] ? __pfx_kthread+0x10/0x10 [ 23.697243] ret_from_fork+0x116/0x1d0 [ 23.697262] ? __pfx_kthread+0x10/0x10 [ 23.697282] ret_from_fork_asm+0x1a/0x30 [ 23.697312] </TASK> [ 23.697323] [ 23.706318] Allocated by task 193: [ 23.706507] kasan_save_stack+0x45/0x70 [ 23.706702] kasan_save_track+0x18/0x40 [ 23.706882] kasan_save_alloc_info+0x3b/0x50 [ 23.707089] __kasan_kmalloc+0xb7/0xc0 [ 23.707619] __kmalloc_cache_noprof+0x189/0x420 [ 23.707894] kmalloc_big_oob_right+0xa9/0x370 [ 23.708241] kunit_try_run_case+0x1a5/0x480 [ 23.708401] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.708622] kthread+0x337/0x6f0 [ 23.708930] ret_from_fork+0x116/0x1d0 [ 23.709119] ret_from_fork_asm+0x1a/0x30 [ 23.709292] [ 23.709383] The buggy address belongs to the object at ffff888105890000 [ 23.709383] which belongs to the cache kmalloc-8k of size 8192 [ 23.710228] The buggy address is located 0 bytes to the right of [ 23.710228] allocated 7936-byte region [ffff888105890000, ffff888105891f00) [ 23.710904] [ 23.711082] The buggy address belongs to the physical page: [ 23.711368] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105890 [ 23.711863] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 23.712149] flags: 0x200000000000040(head|node=0|zone=2) [ 23.712431] page_type: f5(slab) [ 23.712558] raw: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 23.712926] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 23.713392] head: 0200000000000040 ffff888100042280 dead000000000122 0000000000000000 [ 23.713939] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 23.714388] head: 0200000000000003 ffffea0004162401 00000000ffffffff 00000000ffffffff [ 23.714913] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 23.715410] page dumped because: kasan: bad access detected [ 23.715590] [ 23.715760] Memory state around the buggy address: [ 23.716196] ffff888105891e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.716412] ffff888105891e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.716734] >ffff888105891f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.717074] ^ [ 23.717207] ffff888105891f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.717862] ffff888105892000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.718459] ==================================================================