Date
June 8, 2025, 11:09 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 20.094886] ================================================================== [ 20.104145] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 20.111521] Read of size 1 at addr ffff000805d61000 by task kunit_try_catch/187 [ 20.118811] [ 20.120297] CPU: 7 UID: 0 PID: 187 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT [ 20.120353] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.120370] Hardware name: WinLink E850-96 board (DT) [ 20.120392] Call trace: [ 20.120408] show_stack+0x20/0x38 (C) [ 20.120442] dump_stack_lvl+0x8c/0xd0 [ 20.120481] print_report+0x118/0x608 [ 20.120514] kasan_report+0xdc/0x128 [ 20.120546] __asan_report_load1_noabort+0x20/0x30 [ 20.120584] kmalloc_node_oob_right+0x2f4/0x330 [ 20.120619] kunit_try_run_case+0x170/0x3f0 [ 20.120654] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.120691] kthread+0x328/0x630 [ 20.120721] ret_from_fork+0x10/0x20 [ 20.120756] [ 20.183480] Allocated by task 187: [ 20.186867] kasan_save_stack+0x3c/0x68 [ 20.190686] kasan_save_track+0x20/0x40 [ 20.194504] kasan_save_alloc_info+0x40/0x58 [ 20.198757] __kasan_kmalloc+0xd4/0xd8 [ 20.202490] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 20.207438] kmalloc_node_oob_right+0xbc/0x330 [ 20.211866] kunit_try_run_case+0x170/0x3f0 [ 20.216031] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.221500] kthread+0x328/0x630 [ 20.224712] ret_from_fork+0x10/0x20 [ 20.228272] [ 20.229748] The buggy address belongs to the object at ffff000805d60000 [ 20.229748] which belongs to the cache kmalloc-4k of size 4096 [ 20.242248] The buggy address is located 0 bytes to the right of [ 20.242248] allocated 4096-byte region [ffff000805d60000, ffff000805d61000) [ 20.255267] [ 20.256745] The buggy address belongs to the physical page: [ 20.262303] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x885d60 [ 20.270287] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 20.277923] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 20.284867] page_type: f5(slab) [ 20.288008] raw: 0bfffe0000000040 ffff000800003040 dead000000000122 0000000000000000 [ 20.295725] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 20.303452] head: 0bfffe0000000040 ffff000800003040 dead000000000122 0000000000000000 [ 20.311264] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 20.319075] head: 0bfffe0000000003 fffffdffe0175801 00000000ffffffff 00000000ffffffff [ 20.326887] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 20.334693] page dumped because: kasan: bad access detected [ 20.340248] [ 20.341723] Memory state around the buggy address: [ 20.346504] ffff000805d60f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.353707] ffff000805d60f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.360911] >ffff000805d61000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.368112] ^ [ 20.371328] ffff000805d61080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.378533] ffff000805d61100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.385735] ==================================================================
[ 24.634815] ================================================================== [ 24.635322] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 24.635602] Read of size 1 at addr fff00000c6477000 by task kunit_try_catch/140 [ 24.635731] [ 24.636096] CPU: 0 UID: 0 PID: 140 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT [ 24.636492] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.636754] Hardware name: linux,dummy-virt (DT) [ 24.637091] Call trace: [ 24.637152] show_stack+0x20/0x38 (C) [ 24.637838] dump_stack_lvl+0x8c/0xd0 [ 24.638411] print_report+0x118/0x608 [ 24.638631] kasan_report+0xdc/0x128 [ 24.638749] __asan_report_load1_noabort+0x20/0x30 [ 24.639751] kmalloc_node_oob_right+0x2f4/0x330 [ 24.639902] kunit_try_run_case+0x170/0x3f0 [ 24.640419] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.640566] kthread+0x328/0x630 [ 24.640688] ret_from_fork+0x10/0x20 [ 24.641272] [ 24.641319] Allocated by task 140: [ 24.641760] kasan_save_stack+0x3c/0x68 [ 24.641955] kasan_save_track+0x20/0x40 [ 24.642465] kasan_save_alloc_info+0x40/0x58 [ 24.642991] __kasan_kmalloc+0xd4/0xd8 [ 24.643154] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 24.643265] kmalloc_node_oob_right+0xbc/0x330 [ 24.643358] kunit_try_run_case+0x170/0x3f0 [ 24.643446] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.644005] kthread+0x328/0x630 [ 24.644399] ret_from_fork+0x10/0x20 [ 24.644635] [ 24.644685] The buggy address belongs to the object at fff00000c6476000 [ 24.644685] which belongs to the cache kmalloc-4k of size 4096 [ 24.644924] The buggy address is located 0 bytes to the right of [ 24.644924] allocated 4096-byte region [fff00000c6476000, fff00000c6477000) [ 24.645165] [ 24.645730] The buggy address belongs to the physical page: [ 24.646126] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106470 [ 24.646504] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 24.647364] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 24.649119] page_type: f5(slab) [ 24.649235] raw: 0bfffe0000000040 fff00000c0002140 dead000000000122 0000000000000000 [ 24.649807] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 24.650303] head: 0bfffe0000000040 fff00000c0002140 dead000000000122 0000000000000000 [ 24.650608] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 24.651029] head: 0bfffe0000000003 ffffc1ffc3191c01 00000000ffffffff 00000000ffffffff [ 24.651417] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 24.651639] page dumped because: kasan: bad access detected [ 24.651718] [ 24.651763] Memory state around the buggy address: [ 24.651841] fff00000c6476f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.651970] fff00000c6476f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.653267] >fff00000c6477000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.653469] ^ [ 24.653541] fff00000c6477080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.653791] fff00000c6477100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.654026] ==================================================================
[ 24.735337] ================================================================== [ 24.735474] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 24.735904] Read of size 1 at addr fff00000c6549000 by task kunit_try_catch/140 [ 24.736271] [ 24.736419] CPU: 0 UID: 0 PID: 140 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT [ 24.736629] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.736789] Hardware name: linux,dummy-virt (DT) [ 24.736888] Call trace: [ 24.737148] show_stack+0x20/0x38 (C) [ 24.737328] dump_stack_lvl+0x8c/0xd0 [ 24.737712] print_report+0x118/0x608 [ 24.737853] kasan_report+0xdc/0x128 [ 24.738152] __asan_report_load1_noabort+0x20/0x30 [ 24.738458] kmalloc_node_oob_right+0x2f4/0x330 [ 24.738697] kunit_try_run_case+0x170/0x3f0 [ 24.739323] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.740235] kthread+0x328/0x630 [ 24.740382] ret_from_fork+0x10/0x20 [ 24.740610] [ 24.740661] Allocated by task 140: [ 24.740736] kasan_save_stack+0x3c/0x68 [ 24.740867] kasan_save_track+0x20/0x40 [ 24.740983] kasan_save_alloc_info+0x40/0x58 [ 24.741487] __kasan_kmalloc+0xd4/0xd8 [ 24.741732] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 24.741887] kmalloc_node_oob_right+0xbc/0x330 [ 24.742109] kunit_try_run_case+0x170/0x3f0 [ 24.742277] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.742735] kthread+0x328/0x630 [ 24.743585] ret_from_fork+0x10/0x20 [ 24.743705] [ 24.743762] The buggy address belongs to the object at fff00000c6548000 [ 24.743762] which belongs to the cache kmalloc-4k of size 4096 [ 24.744166] The buggy address is located 0 bytes to the right of [ 24.744166] allocated 4096-byte region [fff00000c6548000, fff00000c6549000) [ 24.744731] [ 24.744786] The buggy address belongs to the physical page: [ 24.744994] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106548 [ 24.745640] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 24.745789] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 24.746009] page_type: f5(slab) [ 24.746117] raw: 0bfffe0000000040 fff00000c0002140 dead000000000122 0000000000000000 [ 24.746591] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 24.747094] head: 0bfffe0000000040 fff00000c0002140 dead000000000122 0000000000000000 [ 24.747224] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 24.747344] head: 0bfffe0000000003 ffffc1ffc3195201 00000000ffffffff 00000000ffffffff [ 24.747465] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 24.747569] page dumped because: kasan: bad access detected [ 24.747647] [ 24.747691] Memory state around the buggy address: [ 24.747924] fff00000c6548f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.748345] fff00000c6548f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.748467] >fff00000c6549000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.748558] ^ [ 24.749109] fff00000c6549080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.749463] fff00000c6549100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.749615] ==================================================================
[ 17.412356] ================================================================== [ 17.413415] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x369/0x3c0 [ 17.414940] Read of size 1 at addr ffff8881029dd000 by task kunit_try_catch/158 [ 17.415676] [ 17.415967] CPU: 0 UID: 0 PID: 158 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT(voluntary) [ 17.416096] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.416130] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 17.416184] Call Trace: [ 17.416228] <TASK> [ 17.416277] dump_stack_lvl+0x73/0xb0 [ 17.416385] print_report+0xd1/0x650 [ 17.416465] ? __virt_addr_valid+0x1db/0x2d0 [ 17.416574] ? kmalloc_node_oob_right+0x369/0x3c0 [ 17.416657] ? kasan_complete_mode_report_info+0x2a/0x200 [ 17.416737] ? kmalloc_node_oob_right+0x369/0x3c0 [ 17.416825] kasan_report+0x141/0x180 [ 17.416903] ? kmalloc_node_oob_right+0x369/0x3c0 [ 17.416995] __asan_report_load1_noabort+0x18/0x20 [ 17.417078] kmalloc_node_oob_right+0x369/0x3c0 [ 17.417157] ? __pfx_kmalloc_node_oob_right+0x10/0x10 [ 17.417244] ? __schedule+0x10cc/0x2b60 [ 17.417323] ? __pfx_read_tsc+0x10/0x10 [ 17.417361] ? ktime_get_ts64+0x86/0x230 [ 17.417400] kunit_try_run_case+0x1a5/0x480 [ 17.417444] ? __pfx_kunit_try_run_case+0x10/0x10 [ 17.417483] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 17.417609] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 17.417707] ? __kthread_parkme+0x82/0x180 [ 17.417772] ? preempt_count_sub+0x50/0x80 [ 17.417839] ? __pfx_kunit_try_run_case+0x10/0x10 [ 17.417909] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.417979] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 17.418046] kthread+0x337/0x6f0 [ 17.418105] ? trace_preempt_on+0x20/0xc0 [ 17.418181] ? __pfx_kthread+0x10/0x10 [ 17.418224] ? _raw_spin_unlock_irq+0x47/0x80 [ 17.418289] ? calculate_sigpending+0x7b/0xa0 [ 17.418333] ? __pfx_kthread+0x10/0x10 [ 17.418365] ret_from_fork+0x116/0x1d0 [ 17.418395] ? __pfx_kthread+0x10/0x10 [ 17.418425] ret_from_fork_asm+0x1a/0x30 [ 17.418472] </TASK> [ 17.418489] [ 17.442524] Allocated by task 158: [ 17.443206] kasan_save_stack+0x45/0x70 [ 17.443735] kasan_save_track+0x18/0x40 [ 17.444020] kasan_save_alloc_info+0x3b/0x50 [ 17.444316] __kasan_kmalloc+0xb7/0xc0 [ 17.444659] __kmalloc_cache_node_noprof+0x188/0x420 [ 17.445487] kmalloc_node_oob_right+0xab/0x3c0 [ 17.446609] kunit_try_run_case+0x1a5/0x480 [ 17.447404] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.447805] kthread+0x337/0x6f0 [ 17.448197] ret_from_fork+0x116/0x1d0 [ 17.449594] ret_from_fork_asm+0x1a/0x30 [ 17.450205] [ 17.450937] The buggy address belongs to the object at ffff8881029dc000 [ 17.450937] which belongs to the cache kmalloc-4k of size 4096 [ 17.453313] The buggy address is located 0 bytes to the right of [ 17.453313] allocated 4096-byte region [ffff8881029dc000, ffff8881029dd000) [ 17.454833] [ 17.455210] The buggy address belongs to the physical page: [ 17.456025] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1029d8 [ 17.457089] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 17.458143] flags: 0x200000000000040(head|node=0|zone=2) [ 17.458928] page_type: f5(slab) [ 17.459838] raw: 0200000000000040 ffff888100042140 dead000000000122 0000000000000000 [ 17.461201] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 17.462236] head: 0200000000000040 ffff888100042140 dead000000000122 0000000000000000 [ 17.462995] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 17.464014] head: 0200000000000003 ffffea00040a7601 00000000ffffffff 00000000ffffffff [ 17.464856] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 17.465737] page dumped because: kasan: bad access detected [ 17.466137] [ 17.466369] Memory state around the buggy address: [ 17.466805] ffff8881029dcf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.467401] ffff8881029dcf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.469425] >ffff8881029dd000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.470148] ^ [ 17.470842] ffff8881029dd080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.471358] ffff8881029dd100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 17.472956] ==================================================================
[ 16.580117] ================================================================== [ 16.580967] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x369/0x3c0 [ 16.582113] Read of size 1 at addr ffff8881027e5000 by task kunit_try_catch/158 [ 16.582748] [ 16.583056] CPU: 0 UID: 0 PID: 158 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT(voluntary) [ 16.583178] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.583215] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.583279] Call Trace: [ 16.583316] <TASK> [ 16.583363] dump_stack_lvl+0x73/0xb0 [ 16.583456] print_report+0xd1/0x650 [ 16.583534] ? __virt_addr_valid+0x1db/0x2d0 [ 16.583612] ? kmalloc_node_oob_right+0x369/0x3c0 [ 16.583654] ? kasan_complete_mode_report_info+0x2a/0x200 [ 16.583687] ? kmalloc_node_oob_right+0x369/0x3c0 [ 16.583722] kasan_report+0x141/0x180 [ 16.583757] ? kmalloc_node_oob_right+0x369/0x3c0 [ 16.583845] __asan_report_load1_noabort+0x18/0x20 [ 16.584228] kmalloc_node_oob_right+0x369/0x3c0 [ 16.584305] ? irqentry_exit+0x2a/0x60 [ 16.584386] ? __pfx_kmalloc_node_oob_right+0x10/0x10 [ 16.584466] ? trace_hardirqs_on+0x37/0xe0 [ 16.584686] ? irqentry_exit+0x2a/0x60 [ 16.584738] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 16.584773] ? __pfx_read_tsc+0x10/0x10 [ 16.584805] ? ktime_get_ts64+0x86/0x230 [ 16.584839] kunit_try_run_case+0x1a5/0x480 [ 16.584901] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.584943] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 16.584978] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 16.585011] ? __kthread_parkme+0x82/0x180 [ 16.585039] ? preempt_count_sub+0x50/0x80 [ 16.585070] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.585117] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.585173] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 16.585208] kthread+0x337/0x6f0 [ 16.585237] ? trace_preempt_on+0x20/0xc0 [ 16.585267] ? __pfx_kthread+0x10/0x10 [ 16.585296] ? _raw_spin_unlock_irq+0x47/0x80 [ 16.585326] ? calculate_sigpending+0x7b/0xa0 [ 16.585360] ? __pfx_kthread+0x10/0x10 [ 16.585389] ret_from_fork+0x116/0x1d0 [ 16.585413] ? __pfx_kthread+0x10/0x10 [ 16.585441] ret_from_fork_asm+0x1a/0x30 [ 16.585483] </TASK> [ 16.585498] [ 16.608792] Allocated by task 158: [ 16.609101] kasan_save_stack+0x45/0x70 [ 16.609416] kasan_save_track+0x18/0x40 [ 16.609728] kasan_save_alloc_info+0x3b/0x50 [ 16.610090] __kasan_kmalloc+0xb7/0xc0 [ 16.610415] __kmalloc_cache_node_noprof+0x188/0x420 [ 16.610907] kmalloc_node_oob_right+0xab/0x3c0 [ 16.611397] kunit_try_run_case+0x1a5/0x480 [ 16.611834] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.612693] kthread+0x337/0x6f0 [ 16.613189] ret_from_fork+0x116/0x1d0 [ 16.614170] ret_from_fork_asm+0x1a/0x30 [ 16.615006] [ 16.615569] The buggy address belongs to the object at ffff8881027e4000 [ 16.615569] which belongs to the cache kmalloc-4k of size 4096 [ 16.617064] The buggy address is located 0 bytes to the right of [ 16.617064] allocated 4096-byte region [ffff8881027e4000, ffff8881027e5000) [ 16.618824] [ 16.619004] The buggy address belongs to the physical page: [ 16.619702] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1027e0 [ 16.621306] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 16.622034] flags: 0x200000000000040(head|node=0|zone=2) [ 16.622657] page_type: f5(slab) [ 16.623515] raw: 0200000000000040 ffff888100042140 dead000000000122 0000000000000000 [ 16.624990] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 16.625449] head: 0200000000000040 ffff888100042140 dead000000000122 0000000000000000 [ 16.626468] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 16.627514] head: 0200000000000003 ffffea000409f801 00000000ffffffff 00000000ffffffff [ 16.628401] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 16.629672] page dumped because: kasan: bad access detected [ 16.630485] [ 16.630965] Memory state around the buggy address: [ 16.631765] ffff8881027e4f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.632407] ffff8881027e4f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.633207] >ffff8881027e5000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.634118] ^ [ 16.634491] ffff8881027e5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.635239] ffff8881027e5100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 16.635779] ==================================================================
[ 19.787825] ================================================================== [ 19.788862] BUG: KASAN: slab-out-of-bounds in kmalloc_node_oob_right+0x2f4/0x330 [ 19.789582] Read of size 1 at addr ffff00000e3f9000 by task kunit_try_catch/193 [ 19.790260] [ 19.790425] CPU: 1 UID: 0 PID: 193 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc1 #1 PREEMPT [ 19.790473] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.790487] Hardware name: Radxa ROCK Pi 4B (DT) [ 19.790504] Call trace: [ 19.790515] show_stack+0x20/0x38 (C) [ 19.790549] dump_stack_lvl+0x8c/0xd0 [ 19.790584] print_report+0x118/0x608 [ 19.790617] kasan_report+0xdc/0x128 [ 19.790648] __asan_report_load1_noabort+0x20/0x30 [ 19.790685] kmalloc_node_oob_right+0x2f4/0x330 [ 19.790716] kunit_try_run_case+0x170/0x3f0 [ 19.790750] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.790788] kthread+0x328/0x630 [ 19.790814] ret_from_fork+0x10/0x20 [ 19.790845] [ 19.796454] Allocated by task 193: [ 19.796779] kasan_save_stack+0x3c/0x68 [ 19.797156] kasan_save_track+0x20/0x40 [ 19.797531] kasan_save_alloc_info+0x40/0x58 [ 19.797947] __kasan_kmalloc+0xd4/0xd8 [ 19.798312] __kmalloc_cache_node_noprof+0x178/0x3d0 [ 19.798788] kmalloc_node_oob_right+0xbc/0x330 [ 19.799216] kunit_try_run_case+0x170/0x3f0 [ 19.799622] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.800144] kthread+0x328/0x630 [ 19.800459] ret_from_fork+0x10/0x20 [ 19.800809] [ 19.800962] The buggy address belongs to the object at ffff00000e3f8000 [ 19.800962] which belongs to the cache kmalloc-4k of size 4096 [ 19.802093] The buggy address is located 0 bytes to the right of [ 19.802093] allocated 4096-byte region [ffff00000e3f8000, ffff00000e3f9000) [ 19.803274] [ 19.803427] The buggy address belongs to the physical page: [ 19.803941] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xe3f8 [ 19.804664] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 19.805368] flags: 0x3fffe0000000040(head|node=0|zone=0|lastcpupid=0x1ffff) [ 19.806019] page_type: f5(slab) [ 19.806332] raw: 03fffe0000000040 ffff000000403040 dead000000000122 0000000000000000 [ 19.807046] raw: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 19.807760] head: 03fffe0000000040 ffff000000403040 dead000000000122 0000000000000000 [ 19.808482] head: 0000000000000000 0000000080040004 00000000f5000000 0000000000000000 [ 19.809205] head: 03fffe0000000003 fffffdffc038fe01 00000000ffffffff 00000000ffffffff [ 19.809926] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 19.810640] page dumped because: kasan: bad access detected [ 19.811153] [ 19.811305] Memory state around the buggy address: [ 19.811753] ffff00000e3f8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.812418] ffff00000e3f8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.813084] >ffff00000e3f9000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.813744] ^ [ 19.814054] ffff00000e3f9080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.814718] ffff00000e3f9100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.815379] ==================================================================