Date
June 2, 2025, 2:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 64.664735] ================================================================== [ 64.671730] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 64.678670] Write of size 1 at addr ffff000801c16178 by task kunit_try_catch/332 [ 64.686049] [ 64.687533] CPU: 6 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 64.687579] Tainted: [B]=BAD_PAGE, [N]=TEST [ 64.687596] Hardware name: WinLink E850-96 board (DT) [ 64.687616] Call trace: [ 64.687631] show_stack+0x20/0x38 (C) [ 64.687665] dump_stack_lvl+0x8c/0xd0 [ 64.687700] print_report+0x118/0x608 [ 64.687731] kasan_report+0xdc/0x128 [ 64.687758] __asan_report_store1_noabort+0x20/0x30 [ 64.687792] strncpy_from_user+0x270/0x2a0 [ 64.687821] copy_user_test_oob+0x5c0/0xec8 [ 64.687849] kunit_try_run_case+0x170/0x3f0 [ 64.687883] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.687920] kthread+0x328/0x630 [ 64.687953] ret_from_fork+0x10/0x20 [ 64.687988] [ 64.754538] Allocated by task 332: [ 64.757924] kasan_save_stack+0x3c/0x68 [ 64.761742] kasan_save_track+0x20/0x40 [ 64.765561] kasan_save_alloc_info+0x40/0x58 [ 64.769815] __kasan_kmalloc+0xd4/0xd8 [ 64.773547] __kmalloc_noprof+0x198/0x4c8 [ 64.777540] kunit_kmalloc_array+0x34/0x88 [ 64.781620] copy_user_test_oob+0xac/0xec8 [ 64.785700] kunit_try_run_case+0x170/0x3f0 [ 64.789866] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.795335] kthread+0x328/0x630 [ 64.798547] ret_from_fork+0x10/0x20 [ 64.802106] [ 64.803583] The buggy address belongs to the object at ffff000801c16100 [ 64.803583] which belongs to the cache kmalloc-128 of size 128 [ 64.816083] The buggy address is located 0 bytes to the right of [ 64.816083] allocated 120-byte region [ffff000801c16100, ffff000801c16178) [ 64.829015] [ 64.830492] The buggy address belongs to the physical page: [ 64.836050] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x881c16 [ 64.844032] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 64.851671] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 64.858617] page_type: f5(slab) [ 64.861748] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.869473] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.877199] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.885010] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.892823] head: 0bfffe0000000001 fffffdffe0070581 00000000ffffffff 00000000ffffffff [ 64.900635] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 64.908441] page dumped because: kasan: bad access detected [ 64.913996] [ 64.915472] Memory state around the buggy address: [ 64.920250] ffff000801c16000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.927455] ffff000801c16080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.934660] >ffff000801c16100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 64.941861] ^ [ 64.948982] ffff000801c16180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.956187] ffff000801c16200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.963388] ================================================================== [ 64.355858] ================================================================== [ 64.362881] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 64.369734] Write of size 121 at addr ffff000801c16100 by task kunit_try_catch/332 [ 64.377286] [ 64.378770] CPU: 6 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 64.378822] Tainted: [B]=BAD_PAGE, [N]=TEST [ 64.378838] Hardware name: WinLink E850-96 board (DT) [ 64.378860] Call trace: [ 64.378874] show_stack+0x20/0x38 (C) [ 64.378910] dump_stack_lvl+0x8c/0xd0 [ 64.378944] print_report+0x118/0x608 [ 64.378977] kasan_report+0xdc/0x128 [ 64.379005] kasan_check_range+0x100/0x1a8 [ 64.379037] __kasan_check_write+0x20/0x30 [ 64.379070] strncpy_from_user+0x3c/0x2a0 [ 64.379101] copy_user_test_oob+0x5c0/0xec8 [ 64.379133] kunit_try_run_case+0x170/0x3f0 [ 64.379168] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.379207] kthread+0x328/0x630 [ 64.379240] ret_from_fork+0x10/0x20 [ 64.379276] [ 64.448986] Allocated by task 332: [ 64.452373] kasan_save_stack+0x3c/0x68 [ 64.456191] kasan_save_track+0x20/0x40 [ 64.460010] kasan_save_alloc_info+0x40/0x58 [ 64.464264] __kasan_kmalloc+0xd4/0xd8 [ 64.467998] __kmalloc_noprof+0x198/0x4c8 [ 64.471989] kunit_kmalloc_array+0x34/0x88 [ 64.476069] copy_user_test_oob+0xac/0xec8 [ 64.480149] kunit_try_run_case+0x170/0x3f0 [ 64.484315] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.489784] kthread+0x328/0x630 [ 64.492996] ret_from_fork+0x10/0x20 [ 64.496555] [ 64.498033] The buggy address belongs to the object at ffff000801c16100 [ 64.498033] which belongs to the cache kmalloc-128 of size 128 [ 64.510531] The buggy address is located 0 bytes inside of [ 64.510531] allocated 120-byte region [ffff000801c16100, ffff000801c16178) [ 64.522943] [ 64.524419] The buggy address belongs to the physical page: [ 64.529979] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x881c16 [ 64.537962] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 64.545600] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 64.552545] page_type: f5(slab) [ 64.555676] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.563401] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.571127] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.578938] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.586751] head: 0bfffe0000000001 fffffdffe0070581 00000000ffffffff 00000000ffffffff [ 64.594563] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 64.602369] page dumped because: kasan: bad access detected [ 64.607925] [ 64.609400] Memory state around the buggy address: [ 64.614181] ffff000801c16000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.621383] ffff000801c16080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.628588] >ffff000801c16100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 64.635789] ^ [ 64.642910] ffff000801c16180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.650117] ffff000801c16200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.657316] ==================================================================
[ 21.449277] ================================================================== [ 21.449412] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 21.449479] Write of size 121 at addr fff00000c3f9e800 by task kunit_try_catch/288 [ 21.449884] [ 21.450011] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G B W N 6.15.1-rc1 #1 PREEMPT [ 21.450185] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 21.450271] Hardware name: linux,dummy-virt (DT) [ 21.450447] Call trace: [ 21.450571] show_stack+0x20/0x38 (C) [ 21.450627] dump_stack_lvl+0x8c/0xd0 [ 21.450681] print_report+0x118/0x608 [ 21.450732] kasan_report+0xdc/0x128 [ 21.450780] kasan_check_range+0x100/0x1a8 [ 21.451066] __kasan_check_write+0x20/0x30 [ 21.451238] strncpy_from_user+0x3c/0x2a0 [ 21.451366] copy_user_test_oob+0x5c0/0xec8 [ 21.451474] kunit_try_run_case+0x170/0x3f0 [ 21.451644] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.451771] kthread+0x328/0x630 [ 21.451920] ret_from_fork+0x10/0x20 [ 21.451972] [ 21.452006] Allocated by task 288: [ 21.452090] kasan_save_stack+0x3c/0x68 [ 21.452207] kasan_save_track+0x20/0x40 [ 21.452291] kasan_save_alloc_info+0x40/0x58 [ 21.452861] __kasan_kmalloc+0xd4/0xd8 [ 21.452949] __kmalloc_noprof+0x198/0x4c8 [ 21.453006] kunit_kmalloc_array+0x34/0x88 [ 21.453050] copy_user_test_oob+0xac/0xec8 [ 21.453089] kunit_try_run_case+0x170/0x3f0 [ 21.453133] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.453578] kthread+0x328/0x630 [ 21.453829] ret_from_fork+0x10/0x20 [ 21.454081] [ 21.454389] The buggy address belongs to the object at fff00000c3f9e800 [ 21.454389] which belongs to the cache kmalloc-128 of size 128 [ 21.454482] The buggy address is located 0 bytes inside of [ 21.454482] allocated 120-byte region [fff00000c3f9e800, fff00000c3f9e878) [ 21.454730] [ 21.454779] The buggy address belongs to the physical page: [ 21.454864] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f9e [ 21.454928] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.455147] page_type: f5(slab) [ 21.455227] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.455282] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.455902] page dumped because: kasan: bad access detected [ 21.456009] [ 21.456031] Memory state around the buggy address: [ 21.456144] fff00000c3f9e700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.456196] fff00000c3f9e780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.456447] >fff00000c3f9e800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 21.456494] ^ [ 21.456590] fff00000c3f9e880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.456908] fff00000c3f9e900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.456966] ================================================================== [ 21.458405] ================================================================== [ 21.458456] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 21.458509] Write of size 1 at addr fff00000c3f9e878 by task kunit_try_catch/288 [ 21.458563] [ 21.458596] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G B W N 6.15.1-rc1 #1 PREEMPT [ 21.458686] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 21.458727] Hardware name: linux,dummy-virt (DT) [ 21.458896] Call trace: [ 21.459017] show_stack+0x20/0x38 (C) [ 21.459103] dump_stack_lvl+0x8c/0xd0 [ 21.459343] print_report+0x118/0x608 [ 21.459862] kasan_report+0xdc/0x128 [ 21.460390] __asan_report_store1_noabort+0x20/0x30 [ 21.460641] strncpy_from_user+0x270/0x2a0 [ 21.460722] copy_user_test_oob+0x5c0/0xec8 [ 21.460773] kunit_try_run_case+0x170/0x3f0 [ 21.460827] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.460886] kthread+0x328/0x630 [ 21.460934] ret_from_fork+0x10/0x20 [ 21.461265] [ 21.461506] Allocated by task 288: [ 21.461989] kasan_save_stack+0x3c/0x68 [ 21.462135] kasan_save_track+0x20/0x40 [ 21.462285] kasan_save_alloc_info+0x40/0x58 [ 21.462419] __kasan_kmalloc+0xd4/0xd8 [ 21.462467] __kmalloc_noprof+0x198/0x4c8 [ 21.462507] kunit_kmalloc_array+0x34/0x88 [ 21.462603] copy_user_test_oob+0xac/0xec8 [ 21.462643] kunit_try_run_case+0x170/0x3f0 [ 21.462685] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.462968] kthread+0x328/0x630 [ 21.463016] ret_from_fork+0x10/0x20 [ 21.463057] [ 21.463080] The buggy address belongs to the object at fff00000c3f9e800 [ 21.463080] which belongs to the cache kmalloc-128 of size 128 [ 21.463154] The buggy address is located 0 bytes to the right of [ 21.463154] allocated 120-byte region [fff00000c3f9e800, fff00000c3f9e878) [ 21.463542] [ 21.463617] The buggy address belongs to the physical page: [ 21.463654] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f9e [ 21.464159] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.464455] page_type: f5(slab) [ 21.464622] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.464718] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.464788] page dumped because: kasan: bad access detected [ 21.464928] [ 21.464986] Memory state around the buggy address: [ 21.465022] fff00000c3f9e700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.465102] fff00000c3f9e780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.465191] >fff00000c3f9e800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 21.465333] ^ [ 21.465384] fff00000c3f9e880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.465429] fff00000c3f9e900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.465509] ==================================================================
[ 22.208479] ================================================================== [ 22.208905] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x2e/0x1d0 [ 22.209404] Write of size 121 at addr ffff888101e0b000 by task kunit_try_catch/306 [ 22.209993] [ 22.210245] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT(voluntary) [ 22.210368] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.210402] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.210452] Call Trace: [ 22.210499] <TASK> [ 22.210544] dump_stack_lvl+0x73/0xb0 [ 22.210649] print_report+0xd1/0x650 [ 22.210704] ? __virt_addr_valid+0x1db/0x2d0 [ 22.210768] ? strncpy_from_user+0x2e/0x1d0 [ 22.210835] ? kasan_complete_mode_report_info+0x2a/0x200 [ 22.210885] ? strncpy_from_user+0x2e/0x1d0 [ 22.210934] kasan_report+0x141/0x180 [ 22.210991] ? strncpy_from_user+0x2e/0x1d0 [ 22.211052] kasan_check_range+0x10c/0x1c0 [ 22.211132] __kasan_check_write+0x18/0x20 [ 22.211172] strncpy_from_user+0x2e/0x1d0 [ 22.211202] copy_user_test_oob+0x760/0x10f0 [ 22.211231] ? __pfx_copy_user_test_oob+0x10/0x10 [ 22.211253] ? finish_task_switch.isra.0+0x153/0x700 [ 22.211283] ? __switch_to+0x5d9/0xf60 [ 22.211307] ? dequeue_task_fair+0x166/0x4e0 [ 22.211335] ? __schedule+0x10cc/0x2b30 [ 22.211361] ? __pfx_read_tsc+0x10/0x10 [ 22.211385] ? ktime_get_ts64+0x86/0x230 [ 22.211416] kunit_try_run_case+0x1a5/0x480 [ 22.211446] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.211471] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 22.211498] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 22.211524] ? __kthread_parkme+0x82/0x180 [ 22.211550] ? preempt_count_sub+0x50/0x80 [ 22.211578] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.211605] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.211644] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 22.211672] kthread+0x337/0x6f0 [ 22.211693] ? trace_preempt_on+0x20/0xc0 [ 22.211721] ? __pfx_kthread+0x10/0x10 [ 22.211743] ? _raw_spin_unlock_irq+0x47/0x80 [ 22.211794] ? calculate_sigpending+0x7b/0xa0 [ 22.211820] ? __pfx_kthread+0x10/0x10 [ 22.211842] ret_from_fork+0x41/0x80 [ 22.211867] ? __pfx_kthread+0x10/0x10 [ 22.211888] ret_from_fork_asm+0x1a/0x30 [ 22.211925] </TASK> [ 22.211942] [ 22.226289] Allocated by task 306: [ 22.226619] kasan_save_stack+0x45/0x70 [ 22.227102] kasan_save_track+0x18/0x40 [ 22.227477] kasan_save_alloc_info+0x3b/0x50 [ 22.227791] __kasan_kmalloc+0xb7/0xc0 [ 22.228321] __kmalloc_noprof+0x1c9/0x500 [ 22.228727] kunit_kmalloc_array+0x25/0x60 [ 22.229024] copy_user_test_oob+0xab/0x10f0 [ 22.229464] kunit_try_run_case+0x1a5/0x480 [ 22.230395] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.230873] kthread+0x337/0x6f0 [ 22.231146] ret_from_fork+0x41/0x80 [ 22.231845] ret_from_fork_asm+0x1a/0x30 [ 22.232094] [ 22.232330] The buggy address belongs to the object at ffff888101e0b000 [ 22.232330] which belongs to the cache kmalloc-128 of size 128 [ 22.233580] The buggy address is located 0 bytes inside of [ 22.233580] allocated 120-byte region [ffff888101e0b000, ffff888101e0b078) [ 22.234701] [ 22.235106] The buggy address belongs to the physical page: [ 22.235589] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101e0b [ 22.236032] flags: 0x200000000000000(node=0|zone=2) [ 22.236418] page_type: f5(slab) [ 22.236670] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 22.237293] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 22.238107] page dumped because: kasan: bad access detected [ 22.239015] [ 22.239433] Memory state around the buggy address: [ 22.239827] ffff888101e0af00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.240556] ffff888101e0af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.241135] >ffff888101e0b000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 22.241834] ^ [ 22.242444] ffff888101e0b080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.242721] ffff888101e0b100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.243293] ================================================================== [ 22.244932] ================================================================== [ 22.245326] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x1a5/0x1d0 [ 22.245865] Write of size 1 at addr ffff888101e0b078 by task kunit_try_catch/306 [ 22.246566] [ 22.246883] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT(voluntary) [ 22.247015] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.247050] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.247135] Call Trace: [ 22.247184] <TASK> [ 22.247232] dump_stack_lvl+0x73/0xb0 [ 22.247310] print_report+0xd1/0x650 [ 22.247409] ? __virt_addr_valid+0x1db/0x2d0 [ 22.247465] ? strncpy_from_user+0x1a5/0x1d0 [ 22.247516] ? kasan_complete_mode_report_info+0x2a/0x200 [ 22.247567] ? strncpy_from_user+0x1a5/0x1d0 [ 22.247608] kasan_report+0x141/0x180 [ 22.247655] ? strncpy_from_user+0x1a5/0x1d0 [ 22.247688] __asan_report_store1_noabort+0x1b/0x30 [ 22.247713] strncpy_from_user+0x1a5/0x1d0 [ 22.247741] copy_user_test_oob+0x760/0x10f0 [ 22.247794] ? __pfx_copy_user_test_oob+0x10/0x10 [ 22.247818] ? finish_task_switch.isra.0+0x153/0x700 [ 22.247847] ? __switch_to+0x5d9/0xf60 [ 22.247871] ? dequeue_task_fair+0x166/0x4e0 [ 22.247900] ? __schedule+0x10cc/0x2b30 [ 22.247927] ? __pfx_read_tsc+0x10/0x10 [ 22.247951] ? ktime_get_ts64+0x86/0x230 [ 22.247982] kunit_try_run_case+0x1a5/0x480 [ 22.248010] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.248035] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 22.248063] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 22.248089] ? __kthread_parkme+0x82/0x180 [ 22.248143] ? preempt_count_sub+0x50/0x80 [ 22.248178] ? __pfx_kunit_try_run_case+0x10/0x10 [ 22.248205] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.248231] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 22.248257] kthread+0x337/0x6f0 [ 22.248278] ? trace_preempt_on+0x20/0xc0 [ 22.248306] ? __pfx_kthread+0x10/0x10 [ 22.248327] ? _raw_spin_unlock_irq+0x47/0x80 [ 22.248352] ? calculate_sigpending+0x7b/0xa0 [ 22.248378] ? __pfx_kthread+0x10/0x10 [ 22.248400] ret_from_fork+0x41/0x80 [ 22.248424] ? __pfx_kthread+0x10/0x10 [ 22.248445] ret_from_fork_asm+0x1a/0x30 [ 22.248481] </TASK> [ 22.248499] [ 22.261023] Allocated by task 306: [ 22.261501] kasan_save_stack+0x45/0x70 [ 22.261854] kasan_save_track+0x18/0x40 [ 22.262069] kasan_save_alloc_info+0x3b/0x50 [ 22.262528] __kasan_kmalloc+0xb7/0xc0 [ 22.262965] __kmalloc_noprof+0x1c9/0x500 [ 22.263415] kunit_kmalloc_array+0x25/0x60 [ 22.263849] copy_user_test_oob+0xab/0x10f0 [ 22.264171] kunit_try_run_case+0x1a5/0x480 [ 22.264574] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.265002] kthread+0x337/0x6f0 [ 22.265380] ret_from_fork+0x41/0x80 [ 22.265642] ret_from_fork_asm+0x1a/0x30 [ 22.266068] [ 22.266248] The buggy address belongs to the object at ffff888101e0b000 [ 22.266248] which belongs to the cache kmalloc-128 of size 128 [ 22.266849] The buggy address is located 0 bytes to the right of [ 22.266849] allocated 120-byte region [ffff888101e0b000, ffff888101e0b078) [ 22.267884] [ 22.268129] The buggy address belongs to the physical page: [ 22.268471] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x101e0b [ 22.269146] flags: 0x200000000000000(node=0|zone=2) [ 22.269452] page_type: f5(slab) [ 22.269665] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 22.270047] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 22.270710] page dumped because: kasan: bad access detected [ 22.271245] [ 22.271481] Memory state around the buggy address: [ 22.271923] ffff888101e0af00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.272254] ffff888101e0af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.272874] >ffff888101e0b000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 22.273350] ^ [ 22.273990] ffff888101e0b080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.274365] ffff888101e0b100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.274965] ==================================================================