Date
July 18, 2025, 2:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.298919] ================================================================== [ 19.299289] BUG: KASAN: slab-out-of-bounds in memcmp+0x198/0x1d8 [ 19.299395] Read of size 1 at addr fff00000c799d358 by task kunit_try_catch/257 [ 19.299579] [ 19.299665] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 19.300086] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.300172] Hardware name: linux,dummy-virt (DT) [ 19.300426] Call trace: [ 19.300474] show_stack+0x20/0x38 (C) [ 19.300686] dump_stack_lvl+0x8c/0xd0 [ 19.300912] print_report+0x118/0x5d0 [ 19.301183] kasan_report+0xdc/0x128 [ 19.301399] __asan_report_load1_noabort+0x20/0x30 [ 19.301673] memcmp+0x198/0x1d8 [ 19.301875] kasan_memcmp+0x16c/0x300 [ 19.302099] kunit_try_run_case+0x170/0x3f0 [ 19.302285] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.302475] kthread+0x328/0x630 [ 19.302794] ret_from_fork+0x10/0x20 [ 19.303012] [ 19.303254] Allocated by task 257: [ 19.303336] kasan_save_stack+0x3c/0x68 [ 19.303542] kasan_save_track+0x20/0x40 [ 19.303592] kasan_save_alloc_info+0x40/0x58 [ 19.303817] __kasan_kmalloc+0xd4/0xd8 [ 19.303999] __kmalloc_cache_noprof+0x16c/0x3c0 [ 19.304057] kasan_memcmp+0xbc/0x300 [ 19.304163] kunit_try_run_case+0x170/0x3f0 [ 19.304435] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.304733] kthread+0x328/0x630 [ 19.304917] ret_from_fork+0x10/0x20 [ 19.305024] [ 19.305069] The buggy address belongs to the object at fff00000c799d340 [ 19.305069] which belongs to the cache kmalloc-32 of size 32 [ 19.305286] The buggy address is located 0 bytes to the right of [ 19.305286] allocated 24-byte region [fff00000c799d340, fff00000c799d358) [ 19.305361] [ 19.305494] The buggy address belongs to the physical page: [ 19.305536] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10799d [ 19.305681] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 19.305756] page_type: f5(slab) [ 19.305802] raw: 0bfffe0000000000 fff00000c0001780 dead000000000122 0000000000000000 [ 19.305881] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 19.305924] page dumped because: kasan: bad access detected [ 19.305957] [ 19.305989] Memory state around the buggy address: [ 19.306026] fff00000c799d200: 00 00 07 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 19.306080] fff00000c799d280: 00 00 00 fc fc fc fc fc 00 00 00 04 fc fc fc fc [ 19.306127] >fff00000c799d300: 00 00 07 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 19.306177] ^ [ 19.306218] fff00000c799d380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.306263] fff00000c799d400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.306305] ==================================================================
[ 18.879292] ================================================================== [ 18.879512] BUG: KASAN: slab-out-of-bounds in memcmp+0x198/0x1d8 [ 18.879666] Read of size 1 at addr fff00000c7a5edd8 by task kunit_try_catch/257 [ 18.879722] [ 18.879806] CPU: 1 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 18.879962] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.880047] Hardware name: linux,dummy-virt (DT) [ 18.880085] Call trace: [ 18.880123] show_stack+0x20/0x38 (C) [ 18.880211] dump_stack_lvl+0x8c/0xd0 [ 18.880262] print_report+0x118/0x5d0 [ 18.880357] kasan_report+0xdc/0x128 [ 18.880433] __asan_report_load1_noabort+0x20/0x30 [ 18.880508] memcmp+0x198/0x1d8 [ 18.880568] kasan_memcmp+0x16c/0x300 [ 18.880674] kunit_try_run_case+0x170/0x3f0 [ 18.880799] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.880856] kthread+0x328/0x630 [ 18.880914] ret_from_fork+0x10/0x20 [ 18.880966] [ 18.880988] Allocated by task 257: [ 18.881019] kasan_save_stack+0x3c/0x68 [ 18.881063] kasan_save_track+0x20/0x40 [ 18.881103] kasan_save_alloc_info+0x40/0x58 [ 18.881291] __kasan_kmalloc+0xd4/0xd8 [ 18.881529] __kmalloc_cache_noprof+0x16c/0x3c0 [ 18.881647] kasan_memcmp+0xbc/0x300 [ 18.881744] kunit_try_run_case+0x170/0x3f0 [ 18.881852] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.881957] kthread+0x328/0x630 [ 18.882076] ret_from_fork+0x10/0x20 [ 18.882163] [ 18.882206] The buggy address belongs to the object at fff00000c7a5edc0 [ 18.882206] which belongs to the cache kmalloc-32 of size 32 [ 18.882296] The buggy address is located 0 bytes to the right of [ 18.882296] allocated 24-byte region [fff00000c7a5edc0, fff00000c7a5edd8) [ 18.882405] [ 18.882428] The buggy address belongs to the physical page: [ 18.882602] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107a5e [ 18.882709] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.882933] page_type: f5(slab) [ 18.883005] raw: 0bfffe0000000000 fff00000c0001780 dead000000000122 0000000000000000 [ 18.883097] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 18.883180] page dumped because: kasan: bad access detected [ 18.883232] [ 18.883264] Memory state around the buggy address: [ 18.883315] fff00000c7a5ec80: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 18.883370] fff00000c7a5ed00: 00 00 00 04 fc fc fc fc 00 00 07 fc fc fc fc fc [ 18.883423] >fff00000c7a5ed80: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 18.883466] ^ [ 18.883505] fff00000c7a5ee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.883559] fff00000c7a5ee80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.883620] ==================================================================
[ 13.959051] ================================================================== [ 13.959616] BUG: KASAN: slab-out-of-bounds in memcmp+0x1b4/0x1d0 [ 13.959927] Read of size 1 at addr ffff8881026f4458 by task kunit_try_catch/275 [ 13.960239] [ 13.960351] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 13.960395] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.960415] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.960453] Call Trace: [ 13.960465] <TASK> [ 13.960479] dump_stack_lvl+0x73/0xb0 [ 13.960507] print_report+0xd1/0x610 [ 13.960583] ? __virt_addr_valid+0x1db/0x2d0 [ 13.960607] ? memcmp+0x1b4/0x1d0 [ 13.960625] ? kasan_complete_mode_report_info+0x2a/0x200 [ 13.960648] ? memcmp+0x1b4/0x1d0 [ 13.960677] kasan_report+0x141/0x180 [ 13.960699] ? memcmp+0x1b4/0x1d0 [ 13.960723] __asan_report_load1_noabort+0x18/0x20 [ 13.960759] memcmp+0x1b4/0x1d0 [ 13.960778] kasan_memcmp+0x18f/0x390 [ 13.960798] ? trace_hardirqs_on+0x37/0xe0 [ 13.960821] ? __pfx_kasan_memcmp+0x10/0x10 [ 13.960842] ? finish_task_switch.isra.0+0x153/0x700 [ 13.960873] ? __switch_to+0x47/0xf50 [ 13.960902] ? __pfx_read_tsc+0x10/0x10 [ 13.960922] ? ktime_get_ts64+0x86/0x230 [ 13.960957] kunit_try_run_case+0x1a5/0x480 [ 13.960981] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.961004] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.961027] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.961051] ? __kthread_parkme+0x82/0x180 [ 13.961071] ? preempt_count_sub+0x50/0x80 [ 13.961095] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.961119] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.961148] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.961172] kthread+0x337/0x6f0 [ 13.961191] ? trace_preempt_on+0x20/0xc0 [ 13.961221] ? __pfx_kthread+0x10/0x10 [ 13.961241] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.961264] ? calculate_sigpending+0x7b/0xa0 [ 13.961298] ? __pfx_kthread+0x10/0x10 [ 13.961320] ret_from_fork+0x116/0x1d0 [ 13.961337] ? __pfx_kthread+0x10/0x10 [ 13.961358] ret_from_fork_asm+0x1a/0x30 [ 13.961390] </TASK> [ 13.961400] [ 13.970046] Allocated by task 275: [ 13.970278] kasan_save_stack+0x45/0x70 [ 13.970617] kasan_save_track+0x18/0x40 [ 13.970762] kasan_save_alloc_info+0x3b/0x50 [ 13.970940] __kasan_kmalloc+0xb7/0xc0 [ 13.971132] __kmalloc_cache_noprof+0x189/0x420 [ 13.971380] kasan_memcmp+0xb7/0x390 [ 13.971677] kunit_try_run_case+0x1a5/0x480 [ 13.971898] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.972145] kthread+0x337/0x6f0 [ 13.972267] ret_from_fork+0x116/0x1d0 [ 13.972589] ret_from_fork_asm+0x1a/0x30 [ 13.972754] [ 13.972870] The buggy address belongs to the object at ffff8881026f4440 [ 13.972870] which belongs to the cache kmalloc-32 of size 32 [ 13.973381] The buggy address is located 0 bytes to the right of [ 13.973381] allocated 24-byte region [ffff8881026f4440, ffff8881026f4458) [ 13.974036] [ 13.974128] The buggy address belongs to the physical page: [ 13.974371] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1026f4 [ 13.974981] flags: 0x200000000000000(node=0|zone=2) [ 13.975185] page_type: f5(slab) [ 13.975307] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 13.975554] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 13.975780] page dumped because: kasan: bad access detected [ 13.976022] [ 13.976196] Memory state around the buggy address: [ 13.976415] ffff8881026f4300: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 13.976738] ffff8881026f4380: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 13.977354] >ffff8881026f4400: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 13.977841] ^ [ 13.978034] ffff8881026f4480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.978251] ffff8881026f4500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.978757] ==================================================================
[ 14.229745] ================================================================== [ 14.230697] BUG: KASAN: slab-out-of-bounds in memcmp+0x1b4/0x1d0 [ 14.230927] Read of size 1 at addr ffff8881029c9458 by task kunit_try_catch/274 [ 14.232598] [ 14.232869] CPU: 0 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.232929] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.232945] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.232970] Call Trace: [ 14.232985] <TASK> [ 14.233006] dump_stack_lvl+0x73/0xb0 [ 14.233058] print_report+0xd1/0x610 [ 14.233083] ? __virt_addr_valid+0x1db/0x2d0 [ 14.233107] ? memcmp+0x1b4/0x1d0 [ 14.233125] ? kasan_complete_mode_report_info+0x2a/0x200 [ 14.233147] ? memcmp+0x1b4/0x1d0 [ 14.233165] kasan_report+0x141/0x180 [ 14.233186] ? memcmp+0x1b4/0x1d0 [ 14.233209] __asan_report_load1_noabort+0x18/0x20 [ 14.233233] memcmp+0x1b4/0x1d0 [ 14.233251] kasan_memcmp+0x18f/0x390 [ 14.233272] ? trace_hardirqs_on+0x37/0xe0 [ 14.233295] ? __pfx_kasan_memcmp+0x10/0x10 [ 14.233315] ? finish_task_switch.isra.0+0x153/0x700 [ 14.233338] ? __switch_to+0x47/0xf50 [ 14.233366] ? __pfx_read_tsc+0x10/0x10 [ 14.233386] ? ktime_get_ts64+0x86/0x230 [ 14.233410] kunit_try_run_case+0x1a5/0x480 [ 14.233671] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.233699] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.233725] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.233749] ? __kthread_parkme+0x82/0x180 [ 14.233771] ? preempt_count_sub+0x50/0x80 [ 14.233793] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.233818] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.233842] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.233866] kthread+0x337/0x6f0 [ 14.233885] ? trace_preempt_on+0x20/0xc0 [ 14.233908] ? __pfx_kthread+0x10/0x10 [ 14.233929] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.233950] ? calculate_sigpending+0x7b/0xa0 [ 14.233975] ? __pfx_kthread+0x10/0x10 [ 14.233995] ret_from_fork+0x116/0x1d0 [ 14.234037] ? __pfx_kthread+0x10/0x10 [ 14.234058] ret_from_fork_asm+0x1a/0x30 [ 14.234089] </TASK> [ 14.234100] [ 14.251509] Allocated by task 274: [ 14.252142] kasan_save_stack+0x45/0x70 [ 14.252765] kasan_save_track+0x18/0x40 [ 14.253633] kasan_save_alloc_info+0x3b/0x50 [ 14.254301] __kasan_kmalloc+0xb7/0xc0 [ 14.254857] __kmalloc_cache_noprof+0x189/0x420 [ 14.255112] kasan_memcmp+0xb7/0x390 [ 14.255743] kunit_try_run_case+0x1a5/0x480 [ 14.256004] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.256739] kthread+0x337/0x6f0 [ 14.256906] ret_from_fork+0x116/0x1d0 [ 14.257607] ret_from_fork_asm+0x1a/0x30 [ 14.257883] [ 14.257963] The buggy address belongs to the object at ffff8881029c9440 [ 14.257963] which belongs to the cache kmalloc-32 of size 32 [ 14.259369] The buggy address is located 0 bytes to the right of [ 14.259369] allocated 24-byte region [ffff8881029c9440, ffff8881029c9458) [ 14.260611] [ 14.260695] The buggy address belongs to the physical page: [ 14.260881] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1029c9 [ 14.261494] flags: 0x200000000000000(node=0|zone=2) [ 14.262006] page_type: f5(slab) [ 14.262432] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 14.263555] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 14.263812] page dumped because: kasan: bad access detected [ 14.263990] [ 14.264264] Memory state around the buggy address: [ 14.264794] ffff8881029c9300: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc [ 14.265584] ffff8881029c9380: fa fb fb fb fc fc fc fc 00 00 07 fc fc fc fc fc [ 14.266307] >ffff8881029c9400: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 14.266713] ^ [ 14.266909] ffff8881029c9480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.267484] ffff8881029c9500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.268595] ==================================================================
[ 14.063007] ================================================================== [ 14.063549] BUG: KASAN: slab-out-of-bounds in memcmp+0x1b4/0x1d0 [ 14.064139] Read of size 1 at addr ffff888103ab9258 by task kunit_try_catch/274 [ 14.064867] [ 14.065151] CPU: 0 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.065199] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.065210] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.065233] Call Trace: [ 14.065244] <TASK> [ 14.065261] dump_stack_lvl+0x73/0xb0 [ 14.065301] print_report+0xd1/0x610 [ 14.065325] ? __virt_addr_valid+0x1db/0x2d0 [ 14.065349] ? memcmp+0x1b4/0x1d0 [ 14.065377] ? kasan_complete_mode_report_info+0x2a/0x200 [ 14.065402] ? memcmp+0x1b4/0x1d0 [ 14.065419] kasan_report+0x141/0x180 [ 14.065441] ? memcmp+0x1b4/0x1d0 [ 14.065465] __asan_report_load1_noabort+0x18/0x20 [ 14.065489] memcmp+0x1b4/0x1d0 [ 14.065510] kasan_memcmp+0x18f/0x390 [ 14.065530] ? trace_hardirqs_on+0x37/0xe0 [ 14.065553] ? __pfx_kasan_memcmp+0x10/0x10 [ 14.065575] ? finish_task_switch.isra.0+0x153/0x700 [ 14.065605] ? __switch_to+0x47/0xf50 [ 14.065636] ? __pfx_read_tsc+0x10/0x10 [ 14.065657] ? ktime_get_ts64+0x86/0x230 [ 14.065682] kunit_try_run_case+0x1a5/0x480 [ 14.065707] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.065730] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.065755] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.065779] ? __kthread_parkme+0x82/0x180 [ 14.065799] ? preempt_count_sub+0x50/0x80 [ 14.065823] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.065847] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.065871] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.065905] kthread+0x337/0x6f0 [ 14.065925] ? trace_preempt_on+0x20/0xc0 [ 14.065947] ? __pfx_kthread+0x10/0x10 [ 14.065967] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.065989] ? calculate_sigpending+0x7b/0xa0 [ 14.066013] ? __pfx_kthread+0x10/0x10 [ 14.066035] ret_from_fork+0x116/0x1d0 [ 14.066054] ? __pfx_kthread+0x10/0x10 [ 14.066074] ret_from_fork_asm+0x1a/0x30 [ 14.066107] </TASK> [ 14.066118] [ 14.079516] Allocated by task 274: [ 14.079878] kasan_save_stack+0x45/0x70 [ 14.080296] kasan_save_track+0x18/0x40 [ 14.080758] kasan_save_alloc_info+0x3b/0x50 [ 14.081188] __kasan_kmalloc+0xb7/0xc0 [ 14.081545] __kmalloc_cache_noprof+0x189/0x420 [ 14.082032] kasan_memcmp+0xb7/0x390 [ 14.082167] kunit_try_run_case+0x1a5/0x480 [ 14.082314] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.082490] kthread+0x337/0x6f0 [ 14.082837] ret_from_fork+0x116/0x1d0 [ 14.083226] ret_from_fork_asm+0x1a/0x30 [ 14.083789] [ 14.083993] The buggy address belongs to the object at ffff888103ab9240 [ 14.083993] which belongs to the cache kmalloc-32 of size 32 [ 14.085176] The buggy address is located 0 bytes to the right of [ 14.085176] allocated 24-byte region [ffff888103ab9240, ffff888103ab9258) [ 14.086334] [ 14.086413] The buggy address belongs to the physical page: [ 14.086798] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103ab9 [ 14.087602] flags: 0x200000000000000(node=0|zone=2) [ 14.087771] page_type: f5(slab) [ 14.087903] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 14.088585] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 14.089373] page dumped because: kasan: bad access detected [ 14.089995] [ 14.090221] Memory state around the buggy address: [ 14.090858] ffff888103ab9100: fa fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 14.091185] ffff888103ab9180: 00 00 07 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 14.091936] >ffff888103ab9200: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 14.092691] ^ [ 14.093194] ffff888103ab9280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.093413] ffff888103ab9300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.093700] ==================================================================