Date
April 22, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 21.681845] ================================================================== [ 21.681991] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 21.682116] Write of size 121 at addr fff00000c42a5300 by task kunit_try_catch/287 [ 21.682471] [ 21.682575] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 21.682772] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.682835] Hardware name: linux,dummy-virt (DT) [ 21.682911] Call trace: [ 21.682963] show_stack+0x20/0x38 (C) [ 21.683075] dump_stack_lvl+0x8c/0xd0 [ 21.683178] print_report+0x118/0x608 [ 21.683558] kasan_report+0xdc/0x128 [ 21.683689] kasan_check_range+0x100/0x1a8 [ 21.683918] __kasan_check_write+0x20/0x30 [ 21.684145] strncpy_from_user+0x3c/0x2a0 [ 21.684345] copy_user_test_oob+0x5c0/0xec8 [ 21.684910] kunit_try_run_case+0x170/0x3f0 [ 21.685059] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.685199] kthread+0x328/0x630 [ 21.685305] ret_from_fork+0x10/0x20 [ 21.685786] [ 21.685841] Allocated by task 287: [ 21.686435] kasan_save_stack+0x3c/0x68 [ 21.686840] kasan_save_track+0x20/0x40 [ 21.686929] kasan_save_alloc_info+0x40/0x58 [ 21.687081] __kasan_kmalloc+0xd4/0xd8 [ 21.687168] __kmalloc_noprof+0x190/0x4d0 [ 21.687249] kunit_kmalloc_array+0x34/0x88 [ 21.687334] copy_user_test_oob+0xac/0xec8 [ 21.687417] kunit_try_run_case+0x170/0x3f0 [ 21.687826] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.688291] kthread+0x328/0x630 [ 21.688394] ret_from_fork+0x10/0x20 [ 21.688790] [ 21.689102] The buggy address belongs to the object at fff00000c42a5300 [ 21.689102] which belongs to the cache kmalloc-128 of size 128 [ 21.689449] The buggy address is located 0 bytes inside of [ 21.689449] allocated 120-byte region [fff00000c42a5300, fff00000c42a5378) [ 21.689763] [ 21.689973] The buggy address belongs to the physical page: [ 21.690048] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1042a5 [ 21.690604] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.690743] page_type: f5(slab) [ 21.690835] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.691456] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.691883] page dumped because: kasan: bad access detected [ 21.692096] [ 21.692140] Memory state around the buggy address: [ 21.692445] fff00000c42a5200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.692588] fff00000c42a5280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.693197] >fff00000c42a5300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 21.693514] ^ [ 21.694049] fff00000c42a5380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.694163] fff00000c42a5400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.694650] ================================================================== [ 21.698297] ================================================================== [ 21.698437] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 21.699358] Write of size 1 at addr fff00000c42a5378 by task kunit_try_catch/287 [ 21.699994] [ 21.700524] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 21.700752] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.700885] Hardware name: linux,dummy-virt (DT) [ 21.700956] Call trace: [ 21.701249] show_stack+0x20/0x38 (C) [ 21.701857] dump_stack_lvl+0x8c/0xd0 [ 21.702064] print_report+0x118/0x608 [ 21.702173] kasan_report+0xdc/0x128 [ 21.702462] __asan_report_store1_noabort+0x20/0x30 [ 21.702818] strncpy_from_user+0x270/0x2a0 [ 21.703199] copy_user_test_oob+0x5c0/0xec8 [ 21.703387] kunit_try_run_case+0x170/0x3f0 [ 21.703715] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.703865] kthread+0x328/0x630 [ 21.703975] ret_from_fork+0x10/0x20 [ 21.704375] [ 21.704775] Allocated by task 287: [ 21.704905] kasan_save_stack+0x3c/0x68 [ 21.705310] kasan_save_track+0x20/0x40 [ 21.705563] kasan_save_alloc_info+0x40/0x58 [ 21.705870] __kasan_kmalloc+0xd4/0xd8 [ 21.706177] __kmalloc_noprof+0x190/0x4d0 [ 21.706440] kunit_kmalloc_array+0x34/0x88 [ 21.706575] copy_user_test_oob+0xac/0xec8 [ 21.707187] kunit_try_run_case+0x170/0x3f0 [ 21.707401] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.707511] kthread+0x328/0x630 [ 21.707992] ret_from_fork+0x10/0x20 [ 21.708367] [ 21.708473] The buggy address belongs to the object at fff00000c42a5300 [ 21.708473] which belongs to the cache kmalloc-128 of size 128 [ 21.708803] The buggy address is located 0 bytes to the right of [ 21.708803] allocated 120-byte region [fff00000c42a5300, fff00000c42a5378) [ 21.709201] [ 21.709411] The buggy address belongs to the physical page: [ 21.709729] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1042a5 [ 21.709871] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.709990] page_type: f5(slab) [ 21.711703] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.711853] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.711966] page dumped because: kasan: bad access detected [ 21.712049] [ 21.712100] Memory state around the buggy address: [ 21.712356] fff00000c42a5200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.712474] fff00000c42a5280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.712596] >fff00000c42a5300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 21.712819] ^ [ 21.712924] fff00000c42a5380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.713031] fff00000c42a5400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.713230] ==================================================================
[ 25.665284] ================================================================== [ 25.666133] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x1a5/0x1d0 [ 25.666869] Write of size 1 at addr ffff888103c6f378 by task kunit_try_catch/305 [ 25.667813] [ 25.668120] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 25.668252] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.668290] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.668341] Call Trace: [ 25.668384] <TASK> [ 25.668495] dump_stack_lvl+0x73/0xb0 [ 25.668585] print_report+0xd1/0x650 [ 25.668669] ? __virt_addr_valid+0x1db/0x2d0 [ 25.668741] ? strncpy_from_user+0x1a5/0x1d0 [ 25.668817] ? kasan_complete_mode_report_info+0x2a/0x200 [ 25.668898] ? strncpy_from_user+0x1a5/0x1d0 [ 25.668980] kasan_report+0x141/0x180 [ 25.669065] ? strncpy_from_user+0x1a5/0x1d0 [ 25.669165] __asan_report_store1_noabort+0x1b/0x30 [ 25.669245] strncpy_from_user+0x1a5/0x1d0 [ 25.669331] copy_user_test_oob+0x760/0x10f0 [ 25.669455] ? __pfx_copy_user_test_oob+0x10/0x10 [ 25.669554] ? finish_task_switch.isra.0+0x153/0x700 [ 25.669647] ? __switch_to+0x5d9/0xf60 [ 25.669723] ? dequeue_task_fair+0x166/0x4e0 [ 25.669814] ? __schedule+0x10cc/0x2b30 [ 25.669902] ? __pfx_read_tsc+0x10/0x10 [ 25.669981] ? ktime_get_ts64+0x86/0x230 [ 25.670071] kunit_try_run_case+0x1a5/0x480 [ 25.670153] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.670230] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.670308] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.670389] ? __kthread_parkme+0x82/0x180 [ 25.670529] ? preempt_count_sub+0x50/0x80 [ 25.670612] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.670692] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.670768] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.670822] kthread+0x337/0x6f0 [ 25.670855] ? trace_preempt_on+0x20/0xc0 [ 25.670890] ? __pfx_kthread+0x10/0x10 [ 25.670927] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.670961] ? calculate_sigpending+0x7b/0xa0 [ 25.670993] ? __pfx_kthread+0x10/0x10 [ 25.671027] ret_from_fork+0x41/0x80 [ 25.671057] ? __pfx_kthread+0x10/0x10 [ 25.671089] ret_from_fork_asm+0x1a/0x30 [ 25.671134] </TASK> [ 25.671150] [ 25.685524] Allocated by task 305: [ 25.685882] kasan_save_stack+0x45/0x70 [ 25.686250] kasan_save_track+0x18/0x40 [ 25.686691] kasan_save_alloc_info+0x3b/0x50 [ 25.687028] __kasan_kmalloc+0xb7/0xc0 [ 25.687342] __kmalloc_noprof+0x1c9/0x500 [ 25.687854] kunit_kmalloc_array+0x25/0x60 [ 25.688313] copy_user_test_oob+0xab/0x10f0 [ 25.688860] kunit_try_run_case+0x1a5/0x480 [ 25.689327] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.689859] kthread+0x337/0x6f0 [ 25.690211] ret_from_fork+0x41/0x80 [ 25.690676] ret_from_fork_asm+0x1a/0x30 [ 25.691111] [ 25.691338] The buggy address belongs to the object at ffff888103c6f300 [ 25.691338] which belongs to the cache kmalloc-128 of size 128 [ 25.692172] The buggy address is located 0 bytes to the right of [ 25.692172] allocated 120-byte region [ffff888103c6f300, ffff888103c6f378) [ 25.693210] [ 25.693492] The buggy address belongs to the physical page: [ 25.694049] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103c6f [ 25.694639] flags: 0x200000000000000(node=0|zone=2) [ 25.695007] page_type: f5(slab) [ 25.695384] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 25.696079] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 25.696781] page dumped because: kasan: bad access detected [ 25.697300] [ 25.697595] Memory state around the buggy address: [ 25.698016] ffff888103c6f200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.698666] ffff888103c6f280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.699152] >ffff888103c6f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 25.699663] ^ [ 25.700104] ffff888103c6f380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.700705] ffff888103c6f400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.701369] ================================================================== [ 25.626181] ================================================================== [ 25.626740] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x2e/0x1d0 [ 25.627332] Write of size 121 at addr ffff888103c6f300 by task kunit_try_catch/305 [ 25.628060] [ 25.628255] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 25.628324] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.628344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.628377] Call Trace: [ 25.628405] <TASK> [ 25.628527] dump_stack_lvl+0x73/0xb0 [ 25.628613] print_report+0xd1/0x650 [ 25.628699] ? __virt_addr_valid+0x1db/0x2d0 [ 25.628778] ? strncpy_from_user+0x2e/0x1d0 [ 25.628856] ? kasan_complete_mode_report_info+0x2a/0x200 [ 25.628936] ? strncpy_from_user+0x2e/0x1d0 [ 25.629016] kasan_report+0x141/0x180 [ 25.629147] ? strncpy_from_user+0x2e/0x1d0 [ 25.629331] kasan_check_range+0x10c/0x1c0 [ 25.629418] __kasan_check_write+0x18/0x20 [ 25.629513] strncpy_from_user+0x2e/0x1d0 [ 25.629602] ? __kasan_check_read+0x15/0x20 [ 25.629704] copy_user_test_oob+0x760/0x10f0 [ 25.629748] ? __pfx_copy_user_test_oob+0x10/0x10 [ 25.629780] ? finish_task_switch.isra.0+0x153/0x700 [ 25.629817] ? __switch_to+0x5d9/0xf60 [ 25.629850] ? dequeue_task_fair+0x166/0x4e0 [ 25.629891] ? __schedule+0x10cc/0x2b30 [ 25.629926] ? __pfx_read_tsc+0x10/0x10 [ 25.629958] ? ktime_get_ts64+0x86/0x230 [ 25.629997] kunit_try_run_case+0x1a5/0x480 [ 25.630033] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.630067] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.630103] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.630142] ? __kthread_parkme+0x82/0x180 [ 25.630176] ? preempt_count_sub+0x50/0x80 [ 25.630215] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.630251] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.630286] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.630320] kthread+0x337/0x6f0 [ 25.630352] ? trace_preempt_on+0x20/0xc0 [ 25.630389] ? __pfx_kthread+0x10/0x10 [ 25.630465] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.630527] ? calculate_sigpending+0x7b/0xa0 [ 25.630562] ? __pfx_kthread+0x10/0x10 [ 25.630596] ret_from_fork+0x41/0x80 [ 25.630630] ? __pfx_kthread+0x10/0x10 [ 25.630663] ret_from_fork_asm+0x1a/0x30 [ 25.630709] </TASK> [ 25.630725] [ 25.647115] Allocated by task 305: [ 25.647546] kasan_save_stack+0x45/0x70 [ 25.647939] kasan_save_track+0x18/0x40 [ 25.648363] kasan_save_alloc_info+0x3b/0x50 [ 25.648833] __kasan_kmalloc+0xb7/0xc0 [ 25.649211] __kmalloc_noprof+0x1c9/0x500 [ 25.649688] kunit_kmalloc_array+0x25/0x60 [ 25.650094] copy_user_test_oob+0xab/0x10f0 [ 25.650593] kunit_try_run_case+0x1a5/0x480 [ 25.650966] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.651354] kthread+0x337/0x6f0 [ 25.651774] ret_from_fork+0x41/0x80 [ 25.652184] ret_from_fork_asm+0x1a/0x30 [ 25.652673] [ 25.652915] The buggy address belongs to the object at ffff888103c6f300 [ 25.652915] which belongs to the cache kmalloc-128 of size 128 [ 25.653848] The buggy address is located 0 bytes inside of [ 25.653848] allocated 120-byte region [ffff888103c6f300, ffff888103c6f378) [ 25.654732] [ 25.654976] The buggy address belongs to the physical page: [ 25.655536] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103c6f [ 25.656246] flags: 0x200000000000000(node=0|zone=2) [ 25.656802] page_type: f5(slab) [ 25.657149] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 25.657765] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 25.658312] page dumped because: kasan: bad access detected [ 25.658868] [ 25.659099] Memory state around the buggy address: [ 25.659614] ffff888103c6f200: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.660117] ffff888103c6f280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.660789] >ffff888103c6f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 25.661449] ^ [ 25.661955] ffff888103c6f380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.662449] ffff888103c6f400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.662947] ==================================================================
[ 24.206382] ================================================================== [ 24.207037] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x3c/0x2a0 [ 24.207663] Write of size 121 at addr ffff00000c98ed00 by task kunit_try_catch/343 [ 24.208348] [ 24.208498] CPU: 4 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 24.208529] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.208539] Hardware name: Radxa ROCK Pi 4B (DT) [ 24.208550] Call trace: [ 24.208557] show_stack+0x20/0x38 (C) [ 24.208578] dump_stack_lvl+0x8c/0xd0 [ 24.208596] print_report+0x118/0x608 [ 24.208615] kasan_report+0xdc/0x128 [ 24.208633] kasan_check_range+0x100/0x1a8 [ 24.208654] __kasan_check_write+0x20/0x30 [ 24.208675] strncpy_from_user+0x3c/0x2a0 [ 24.208693] copy_user_test_oob+0x5c0/0xec8 [ 24.208711] kunit_try_run_case+0x170/0x3f0 [ 24.208733] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.208760] kthread+0x328/0x630 [ 24.208782] ret_from_fork+0x10/0x20 [ 24.208802] [ 24.214984] Allocated by task 343: [ 24.215300] kasan_save_stack+0x3c/0x68 [ 24.215659] kasan_save_track+0x20/0x40 [ 24.216016] kasan_save_alloc_info+0x40/0x58 [ 24.216415] __kasan_kmalloc+0xd4/0xd8 [ 24.216766] __kmalloc_noprof+0x190/0x4d0 [ 24.217140] kunit_kmalloc_array+0x34/0x88 [ 24.217525] copy_user_test_oob+0xac/0xec8 [ 24.217905] kunit_try_run_case+0x170/0x3f0 [ 24.218297] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.218805] kthread+0x328/0x630 [ 24.219114] ret_from_fork+0x10/0x20 [ 24.219451] [ 24.219598] The buggy address belongs to the object at ffff00000c98ed00 [ 24.219598] which belongs to the cache kmalloc-128 of size 128 [ 24.220714] The buggy address is located 0 bytes inside of [ 24.220714] allocated 120-byte region [ffff00000c98ed00, ffff00000c98ed78) [ 24.221824] [ 24.221971] The buggy address belongs to the physical page: [ 24.222475] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xc98e [ 24.223182] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff) [ 24.223776] page_type: f5(slab) [ 24.224075] raw: 03fffe0000000000 ffff000000402a00 dead000000000122 0000000000000000 [ 24.224776] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 24.225472] page dumped because: kasan: bad access detected [ 24.225975] [ 24.226122] Memory state around the buggy address: [ 24.226559] ffff00000c98ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.227211] ffff00000c98ec80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.227863] >ffff00000c98ed00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 24.228512] ^ [ 24.229157] ffff00000c98ed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.229810] ffff00000c98ee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.230460] ================================================================== [ 24.231238] ================================================================== [ 24.231893] BUG: KASAN: slab-out-of-bounds in strncpy_from_user+0x270/0x2a0 [ 24.232524] Write of size 1 at addr ffff00000c98ed78 by task kunit_try_catch/343 [ 24.233194] [ 24.233343] CPU: 4 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 24.233376] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.233386] Hardware name: Radxa ROCK Pi 4B (DT) [ 24.233396] Call trace: [ 24.233404] show_stack+0x20/0x38 (C) [ 24.233424] dump_stack_lvl+0x8c/0xd0 [ 24.233443] print_report+0x118/0x608 [ 24.233462] kasan_report+0xdc/0x128 [ 24.233480] __asan_report_store1_noabort+0x20/0x30 [ 24.233503] strncpy_from_user+0x270/0x2a0 [ 24.233521] copy_user_test_oob+0x5c0/0xec8 [ 24.233539] kunit_try_run_case+0x170/0x3f0 [ 24.233562] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.233588] kthread+0x328/0x630 [ 24.233610] ret_from_fork+0x10/0x20 [ 24.233631] [ 24.239527] Allocated by task 343: [ 24.239843] kasan_save_stack+0x3c/0x68 [ 24.240203] kasan_save_track+0x20/0x40 [ 24.240561] kasan_save_alloc_info+0x40/0x58 [ 24.240961] __kasan_kmalloc+0xd4/0xd8 [ 24.241311] __kmalloc_noprof+0x190/0x4d0 [ 24.241685] kunit_kmalloc_array+0x34/0x88 [ 24.242069] copy_user_test_oob+0xac/0xec8 [ 24.242449] kunit_try_run_case+0x170/0x3f0 [ 24.242840] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.243349] kthread+0x328/0x630 [ 24.243659] ret_from_fork+0x10/0x20 [ 24.243996] [ 24.244143] The buggy address belongs to the object at ffff00000c98ed00 [ 24.244143] which belongs to the cache kmalloc-128 of size 128 [ 24.245259] The buggy address is located 0 bytes to the right of [ 24.245259] allocated 120-byte region [ffff00000c98ed00, ffff00000c98ed78) [ 24.246415] [ 24.246561] The buggy address belongs to the physical page: [ 24.247065] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xc98e [ 24.247772] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff) [ 24.248367] page_type: f5(slab) [ 24.248665] raw: 03fffe0000000000 ffff000000402a00 dead000000000122 0000000000000000 [ 24.249366] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 24.250060] page dumped because: kasan: bad access detected [ 24.250565] [ 24.250710] Memory state around the buggy address: [ 24.251147] ffff00000c98ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.251799] ffff00000c98ec80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.252451] >ffff00000c98ed00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc [ 24.253101] ^ [ 24.253744] ffff00000c98ed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.254397] ffff00000c98ee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.255047] ==================================================================