Date
July 4, 2025, 3:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 64.686326] ================================================================== [ 64.693434] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 64.700376] Write of size 1 at addr ffff0008018e7578 by task kunit_try_catch/334 [ 64.707754] [ 64.709238] CPU: 6 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 64.709287] Tainted: [B]=BAD_PAGE, [N]=TEST [ 64.709306] Hardware name: WinLink E850-96 board (DT) [ 64.709328] Call trace: [ 64.709340] show_stack+0x20/0x38 (C) [ 64.709376] dump_stack_lvl+0x8c/0xd0 [ 64.709412] print_report+0x118/0x608 [ 64.709444] kasan_report+0xdc/0x128 [ 64.709472] __asan_report_store1_noabort+0x20/0x30 [ 64.709507] strncpy_from_user+0x270/0x2a0 [ 64.709536] copy_user_test_oob+0x5c0/0xec8 [ 64.709566] kunit_try_run_case+0x170/0x3f0 [ 64.709599] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.709638] kthread+0x328/0x630 [ 64.709671] ret_from_fork+0x10/0x20 [ 64.709707] [ 64.776242] Allocated by task 334: [ 64.779629] kasan_save_stack+0x3c/0x68 [ 64.783447] kasan_save_track+0x20/0x40 [ 64.787267] kasan_save_alloc_info+0x40/0x58 [ 64.791520] __kasan_kmalloc+0xd4/0xd8 [ 64.795253] __kmalloc_noprof+0x198/0x4c8 [ 64.799246] kunit_kmalloc_array+0x34/0x88 [ 64.803326] copy_user_test_oob+0xac/0xec8 [ 64.807405] kunit_try_run_case+0x170/0x3f0 [ 64.811572] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.817040] kthread+0x328/0x630 [ 64.820252] ret_from_fork+0x10/0x20 [ 64.823811] [ 64.825287] The buggy address belongs to the object at ffff0008018e7500 [ 64.825287] which belongs to the cache kmalloc-128 of size 128 [ 64.837787] The buggy address is located 0 bytes to the right of [ 64.837787] allocated 120-byte region [ffff0008018e7500, ffff0008018e7578) [ 64.850721] [ 64.852197] The buggy address belongs to the physical page: [ 64.857753] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8818e6 [ 64.865738] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 64.873376] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 64.880321] page_type: f5(slab) [ 64.883454] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.891178] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.898905] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.906716] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.914529] head: 0bfffe0000000001 fffffdffe0063981 00000000ffffffff 00000000ffffffff [ 64.922342] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 64.930147] page dumped because: kasan: bad access detected [ 64.935702] [ 64.937177] Memory state around the buggy address: [ 64.941956] ffff0008018e7400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.949162] ffff0008018e7480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.956365] >ffff0008018e7500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 64.963566] ^ [ 64.970688] ffff0008018e7580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.977893] ffff0008018e7600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.985094] ================================================================== [ 64.377489] ================================================================== [ 64.384586] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 64.391440] Write of size 121 at addr ffff0008018e7500 by task kunit_try_catch/334 [ 64.398991] [ 64.400475] CPU: 6 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 64.400525] Tainted: [B]=BAD_PAGE, [N]=TEST [ 64.400543] Hardware name: WinLink E850-96 board (DT) [ 64.400562] Call trace: [ 64.400573] show_stack+0x20/0x38 (C) [ 64.400606] dump_stack_lvl+0x8c/0xd0 [ 64.400640] print_report+0x118/0x608 [ 64.400672] kasan_report+0xdc/0x128 [ 64.400698] kasan_check_range+0x100/0x1a8 [ 64.400730] __kasan_check_write+0x20/0x30 [ 64.400760] strncpy_from_user+0x3c/0x2a0 [ 64.400790] copy_user_test_oob+0x5c0/0xec8 [ 64.400818] kunit_try_run_case+0x170/0x3f0 [ 64.400855] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.400891] kthread+0x328/0x630 [ 64.400924] ret_from_fork+0x10/0x20 [ 64.400957] [ 64.470691] Allocated by task 334: [ 64.474079] kasan_save_stack+0x3c/0x68 [ 64.477896] kasan_save_track+0x20/0x40 [ 64.481716] kasan_save_alloc_info+0x40/0x58 [ 64.485969] __kasan_kmalloc+0xd4/0xd8 [ 64.489702] __kmalloc_noprof+0x198/0x4c8 [ 64.493695] kunit_kmalloc_array+0x34/0x88 [ 64.497775] copy_user_test_oob+0xac/0xec8 [ 64.501854] kunit_try_run_case+0x170/0x3f0 [ 64.506021] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 64.511490] kthread+0x328/0x630 [ 64.514701] ret_from_fork+0x10/0x20 [ 64.518260] [ 64.519736] The buggy address belongs to the object at ffff0008018e7500 [ 64.519736] which belongs to the cache kmalloc-128 of size 128 [ 64.532236] The buggy address is located 0 bytes inside of [ 64.532236] allocated 120-byte region [ffff0008018e7500, ffff0008018e7578) [ 64.544649] [ 64.546125] The buggy address belongs to the physical page: [ 64.551683] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8818e6 [ 64.559668] head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 64.567306] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 64.574250] page_type: f5(slab) [ 64.577384] raw: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.585106] raw: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.592833] head: 0bfffe0000000040 ffff000800002a00 dead000000000122 0000000000000000 [ 64.600644] head: 0000000000000000 0000000080200020 00000000f5000000 0000000000000000 [ 64.608457] head: 0bfffe0000000001 fffffdffe0063981 00000000ffffffff 00000000ffffffff [ 64.616271] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002 [ 64.624075] page dumped because: kasan: bad access detected [ 64.629630] [ 64.631106] Memory state around the buggy address: [ 64.635887] ffff0008018e7400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.643088] ffff0008018e7480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.650294] >ffff0008018e7500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 64.657494] ^ [ 64.664616] ffff0008018e7580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.671821] ffff0008018e7600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 64.679022] ==================================================================
[ 18.774837] ================================================================== [ 18.775159] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 18.775287] Write of size 1 at addr fff00000c793a578 by task kunit_try_catch/290 [ 18.775482] [ 18.775845] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 18.775943] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.776408] Hardware name: linux,dummy-virt (DT) [ 18.776456] Call trace: [ 18.776480] show_stack+0x20/0x38 (C) [ 18.776531] dump_stack_lvl+0x8c/0xd0 [ 18.776588] print_report+0x118/0x608 [ 18.776643] kasan_report+0xdc/0x128 [ 18.776995] __asan_report_store1_noabort+0x20/0x30 [ 18.777337] strncpy_from_user+0x270/0x2a0 [ 18.777589] copy_user_test_oob+0x5c0/0xec8 [ 18.778021] kunit_try_run_case+0x170/0x3f0 [ 18.778253] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.778338] kthread+0x328/0x630 [ 18.778386] ret_from_fork+0x10/0x20 [ 18.778719] [ 18.778772] Allocated by task 290: [ 18.779199] kasan_save_stack+0x3c/0x68 [ 18.779584] kasan_save_track+0x20/0x40 [ 18.779643] kasan_save_alloc_info+0x40/0x58 [ 18.779863] __kasan_kmalloc+0xd4/0xd8 [ 18.780171] __kmalloc_noprof+0x198/0x4c8 [ 18.780281] kunit_kmalloc_array+0x34/0x88 [ 18.780525] copy_user_test_oob+0xac/0xec8 [ 18.780654] kunit_try_run_case+0x170/0x3f0 [ 18.780946] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.781010] kthread+0x328/0x630 [ 18.781048] ret_from_fork+0x10/0x20 [ 18.781086] [ 18.781268] The buggy address belongs to the object at fff00000c793a500 [ 18.781268] which belongs to the cache kmalloc-128 of size 128 [ 18.781570] The buggy address is located 0 bytes to the right of [ 18.781570] allocated 120-byte region [fff00000c793a500, fff00000c793a578) [ 18.781966] [ 18.782061] The buggy address belongs to the physical page: [ 18.782187] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10793a [ 18.782524] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.783123] page_type: f5(slab) [ 18.783188] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 18.783411] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 18.783725] page dumped because: kasan: bad access detected [ 18.783772] [ 18.783906] Memory state around the buggy address: [ 18.784081] fff00000c793a400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.784132] fff00000c793a480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.784357] >fff00000c793a500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 18.784815] ^ [ 18.785190] fff00000c793a580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.785449] fff00000c793a600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.785571] ================================================================== [ 18.765586] ================================================================== [ 18.765808] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 18.765877] Write of size 121 at addr fff00000c793a500 by task kunit_try_catch/290 [ 18.766208] [ 18.766466] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 18.766727] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.767019] Hardware name: linux,dummy-virt (DT) [ 18.767067] Call trace: [ 18.767094] show_stack+0x20/0x38 (C) [ 18.767148] dump_stack_lvl+0x8c/0xd0 [ 18.767552] print_report+0x118/0x608 [ 18.767736] kasan_report+0xdc/0x128 [ 18.767798] kasan_check_range+0x100/0x1a8 [ 18.768270] __kasan_check_write+0x20/0x30 [ 18.768517] strncpy_from_user+0x3c/0x2a0 [ 18.768769] copy_user_test_oob+0x5c0/0xec8 [ 18.769049] kunit_try_run_case+0x170/0x3f0 [ 18.769190] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.769359] kthread+0x328/0x630 [ 18.769530] ret_from_fork+0x10/0x20 [ 18.769815] [ 18.769837] Allocated by task 290: [ 18.770019] kasan_save_stack+0x3c/0x68 [ 18.770216] kasan_save_track+0x20/0x40 [ 18.770298] kasan_save_alloc_info+0x40/0x58 [ 18.770530] __kasan_kmalloc+0xd4/0xd8 [ 18.770742] __kmalloc_noprof+0x198/0x4c8 [ 18.770804] kunit_kmalloc_array+0x34/0x88 [ 18.770930] copy_user_test_oob+0xac/0xec8 [ 18.770979] kunit_try_run_case+0x170/0x3f0 [ 18.771018] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.771115] kthread+0x328/0x630 [ 18.771171] ret_from_fork+0x10/0x20 [ 18.771212] [ 18.771242] The buggy address belongs to the object at fff00000c793a500 [ 18.771242] which belongs to the cache kmalloc-128 of size 128 [ 18.771313] The buggy address is located 0 bytes inside of [ 18.771313] allocated 120-byte region [fff00000c793a500, fff00000c793a578) [ 18.771376] [ 18.771416] The buggy address belongs to the physical page: [ 18.771455] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10793a [ 18.771525] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.771582] page_type: f5(slab) [ 18.771621] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 18.771687] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 18.771741] page dumped because: kasan: bad access detected [ 18.771783] [ 18.771803] Memory state around the buggy address: [ 18.771838] fff00000c793a400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.771882] fff00000c793a480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.771927] >fff00000c793a500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 18.772013] ^ [ 18.772315] fff00000c793a580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.772362] fff00000c793a600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.772433] ==================================================================
[ 19.888249] ================================================================== [ 19.888874] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x2e/0x1d0 [ 19.889297] Write of size 121 at addr ffff888102b20500 by task kunit_try_catch/306 [ 19.890008] [ 19.890289] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT(voluntary) [ 19.890411] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.890441] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.890524] Call Trace: [ 19.890590] <TASK> [ 19.890639] dump_stack_lvl+0x73/0xb0 [ 19.890736] print_report+0xd1/0x650 [ 19.890811] ? __virt_addr_valid+0x1db/0x2d0 [ 19.890860] ? strncpy_from_user+0x2e/0x1d0 [ 19.890909] ? kasan_complete_mode_report_info+0x2a/0x200 [ 19.890989] ? strncpy_from_user+0x2e/0x1d0 [ 19.891044] kasan_report+0x141/0x180 [ 19.891142] ? strncpy_from_user+0x2e/0x1d0 [ 19.891232] kasan_check_range+0x10c/0x1c0 [ 19.891299] __kasan_check_write+0x18/0x20 [ 19.891359] strncpy_from_user+0x2e/0x1d0 [ 19.891405] ? __kasan_check_read+0x15/0x20 [ 19.891442] copy_user_test_oob+0x760/0x10f0 [ 19.891477] ? __pfx_copy_user_test_oob+0x10/0x10 [ 19.891501] ? finish_task_switch.isra.0+0x153/0x700 [ 19.891530] ? __switch_to+0x5d9/0xf60 [ 19.891567] ? dequeue_task_fair+0x166/0x4e0 [ 19.891606] ? __schedule+0x10cc/0x2b60 [ 19.891633] ? __pfx_read_tsc+0x10/0x10 [ 19.891656] ? ktime_get_ts64+0x86/0x230 [ 19.891685] kunit_try_run_case+0x1a5/0x480 [ 19.891714] ? __pfx_kunit_try_run_case+0x10/0x10 [ 19.891739] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 19.891767] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 19.891793] ? __kthread_parkme+0x82/0x180 [ 19.891818] ? preempt_count_sub+0x50/0x80 [ 19.891845] ? __pfx_kunit_try_run_case+0x10/0x10 [ 19.891870] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.891897] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 19.891922] kthread+0x337/0x6f0 [ 19.891941] ? trace_preempt_on+0x20/0xc0 [ 19.891968] ? __pfx_kthread+0x10/0x10 [ 19.891988] ? _raw_spin_unlock_irq+0x47/0x80 [ 19.892011] ? calculate_sigpending+0x7b/0xa0 [ 19.892037] ? __pfx_kthread+0x10/0x10 [ 19.892058] ret_from_fork+0x41/0x80 [ 19.892107] ? __pfx_kthread+0x10/0x10 [ 19.892129] ret_from_fork_asm+0x1a/0x30 [ 19.892167] </TASK> [ 19.892182] [ 19.905897] Allocated by task 306: [ 19.906320] kasan_save_stack+0x45/0x70 [ 19.906652] kasan_save_track+0x18/0x40 [ 19.906919] kasan_save_alloc_info+0x3b/0x50 [ 19.907401] __kasan_kmalloc+0xb7/0xc0 [ 19.907646] __kmalloc_noprof+0x1c9/0x500 [ 19.907877] kunit_kmalloc_array+0x25/0x60 [ 19.908559] copy_user_test_oob+0xab/0x10f0 [ 19.908853] kunit_try_run_case+0x1a5/0x480 [ 19.909145] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.909470] kthread+0x337/0x6f0 [ 19.909663] ret_from_fork+0x41/0x80 [ 19.909878] ret_from_fork_asm+0x1a/0x30 [ 19.910707] [ 19.910923] The buggy address belongs to the object at ffff888102b20500 [ 19.910923] which belongs to the cache kmalloc-128 of size 128 [ 19.912167] The buggy address is located 0 bytes inside of [ 19.912167] allocated 120-byte region [ffff888102b20500, ffff888102b20578) [ 19.912802] [ 19.912936] The buggy address belongs to the physical page: [ 19.913405] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b20 [ 19.913726] flags: 0x200000000000000(node=0|zone=2) [ 19.914283] page_type: f5(slab) [ 19.914772] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 19.915280] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 19.915753] page dumped because: kasan: bad access detected [ 19.916105] [ 19.916554] Memory state around the buggy address: [ 19.916891] ffff888102b20400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.917651] ffff888102b20480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.918652] >ffff888102b20500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 19.919114] ^ [ 19.919504] ffff888102b20580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.919975] ffff888102b20600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.920501] ================================================================== [ 19.922182] ================================================================== [ 19.923759] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x1a5/0x1d0 [ 19.924117] Write of size 1 at addr ffff888102b20578 by task kunit_try_catch/306 [ 19.924641] [ 19.924813] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT(voluntary) [ 19.924892] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.924912] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.924946] Call Trace: [ 19.924983] <TASK> [ 19.925028] dump_stack_lvl+0x73/0xb0 [ 19.925117] print_report+0xd1/0x650 [ 19.925178] ? __virt_addr_valid+0x1db/0x2d0 [ 19.925231] ? strncpy_from_user+0x1a5/0x1d0 [ 19.925281] ? kasan_complete_mode_report_info+0x2a/0x200 [ 19.925352] ? strncpy_from_user+0x1a5/0x1d0 [ 19.925406] kasan_report+0x141/0x180 [ 19.925459] ? strncpy_from_user+0x1a5/0x1d0 [ 19.925528] __asan_report_store1_noabort+0x1b/0x30 [ 19.925578] strncpy_from_user+0x1a5/0x1d0 [ 19.925662] copy_user_test_oob+0x760/0x10f0 [ 19.925780] ? __pfx_copy_user_test_oob+0x10/0x10 [ 19.925829] ? finish_task_switch.isra.0+0x153/0x700 [ 19.925888] ? __switch_to+0x5d9/0xf60 [ 19.925928] ? dequeue_task_fair+0x166/0x4e0 [ 19.925986] ? __schedule+0x10cc/0x2b60 [ 19.926044] ? __pfx_read_tsc+0x10/0x10 [ 19.926091] ? ktime_get_ts64+0x86/0x230 [ 19.926135] kunit_try_run_case+0x1a5/0x480 [ 19.926167] ? __pfx_kunit_try_run_case+0x10/0x10 [ 19.926193] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 19.926221] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 19.926248] ? __kthread_parkme+0x82/0x180 [ 19.926275] ? preempt_count_sub+0x50/0x80 [ 19.926303] ? __pfx_kunit_try_run_case+0x10/0x10 [ 19.926330] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.926379] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 19.926405] kthread+0x337/0x6f0 [ 19.926426] ? trace_preempt_on+0x20/0xc0 [ 19.926452] ? __pfx_kthread+0x10/0x10 [ 19.926474] ? _raw_spin_unlock_irq+0x47/0x80 [ 19.926498] ? calculate_sigpending+0x7b/0xa0 [ 19.926523] ? __pfx_kthread+0x10/0x10 [ 19.926544] ret_from_fork+0x41/0x80 [ 19.926567] ? __pfx_kthread+0x10/0x10 [ 19.926589] ret_from_fork_asm+0x1a/0x30 [ 19.926626] </TASK> [ 19.926640] [ 19.940122] Allocated by task 306: [ 19.940522] kasan_save_stack+0x45/0x70 [ 19.940899] kasan_save_track+0x18/0x40 [ 19.941187] kasan_save_alloc_info+0x3b/0x50 [ 19.941629] __kasan_kmalloc+0xb7/0xc0 [ 19.941958] __kmalloc_noprof+0x1c9/0x500 [ 19.942271] kunit_kmalloc_array+0x25/0x60 [ 19.942518] copy_user_test_oob+0xab/0x10f0 [ 19.942798] kunit_try_run_case+0x1a5/0x480 [ 19.943003] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.943504] kthread+0x337/0x6f0 [ 19.943821] ret_from_fork+0x41/0x80 [ 19.944172] ret_from_fork_asm+0x1a/0x30 [ 19.944442] [ 19.944617] The buggy address belongs to the object at ffff888102b20500 [ 19.944617] which belongs to the cache kmalloc-128 of size 128 [ 19.945356] The buggy address is located 0 bytes to the right of [ 19.945356] allocated 120-byte region [ffff888102b20500, ffff888102b20578) [ 19.946221] [ 19.946439] The buggy address belongs to the physical page: [ 19.946822] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b20 [ 19.947319] flags: 0x200000000000000(node=0|zone=2) [ 19.947670] page_type: f5(slab) [ 19.947986] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 19.948465] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 19.948762] page dumped because: kasan: bad access detected [ 19.949231] [ 19.949437] Memory state around the buggy address: [ 19.949829] ffff888102b20400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.950307] ffff888102b20480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.950766] >ffff888102b20500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 19.951167] ^ [ 19.951507] ffff888102b20580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.952119] ffff888102b20600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.952636] ==================================================================