Date
July 14, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 56.312095] ================================================================== [ 56.319154] BUG: KASAN: slab-use-after-free in kasan_strings+0x95c/0xb00 [ 56.325837] Read of size 1 at addr ffff000808564890 by task kunit_try_catch/343 [ 56.333128] [ 56.334612] CPU: 2 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 56.334667] Tainted: [B]=BAD_PAGE, [N]=TEST [ 56.334686] Hardware name: WinLink E850-96 board (DT) [ 56.334707] Call trace: [ 56.334720] show_stack+0x20/0x38 (C) [ 56.334755] dump_stack_lvl+0x8c/0xd0 [ 56.334789] print_report+0x118/0x5d0 [ 56.334817] kasan_report+0xdc/0x128 [ 56.334844] __asan_report_load1_noabort+0x20/0x30 [ 56.334879] kasan_strings+0x95c/0xb00 [ 56.334913] kunit_try_run_case+0x170/0x3f0 [ 56.334951] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 56.334983] kthread+0x328/0x630 [ 56.335013] ret_from_fork+0x10/0x20 [ 56.335050] [ 56.398229] Allocated by task 343: [ 56.401616] kasan_save_stack+0x3c/0x68 [ 56.405435] kasan_save_track+0x20/0x40 [ 56.409254] kasan_save_alloc_info+0x40/0x58 [ 56.413507] __kasan_kmalloc+0xd4/0xd8 [ 56.417240] __kmalloc_cache_noprof+0x16c/0x3c0 [ 56.421754] kasan_strings+0xc8/0xb00 [ 56.425399] kunit_try_run_case+0x170/0x3f0 [ 56.429566] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 56.435035] kthread+0x328/0x630 [ 56.438246] ret_from_fork+0x10/0x20 [ 56.441806] [ 56.443281] Freed by task 343: [ 56.446321] kasan_save_stack+0x3c/0x68 [ 56.450139] kasan_save_track+0x20/0x40 [ 56.453958] kasan_save_free_info+0x4c/0x78 [ 56.458125] __kasan_slab_free+0x6c/0x98 [ 56.462031] kfree+0x214/0x3c8 [ 56.465069] kasan_strings+0x24c/0xb00 [ 56.468802] kunit_try_run_case+0x170/0x3f0 [ 56.472968] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 56.478437] kthread+0x328/0x630 [ 56.481648] ret_from_fork+0x10/0x20 [ 56.485207] [ 56.486684] The buggy address belongs to the object at ffff000808564880 [ 56.486684] which belongs to the cache kmalloc-32 of size 32 [ 56.499011] The buggy address is located 16 bytes inside of [ 56.499011] freed 32-byte region [ffff000808564880, ffff0008085648a0) [ 56.511075] [ 56.512553] The buggy address belongs to the physical page: [ 56.518109] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x888564 [ 56.526094] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 56.532603] page_type: f5(slab) [ 56.535737] raw: 0bfffe0000000000 ffff000800002780 dead000000000122 0000000000000000 [ 56.543460] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 56.551179] page dumped because: kasan: bad access detected [ 56.556734] [ 56.558210] Memory state around the buggy address: [ 56.562989] ffff000808564780: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 56.570193] ffff000808564800: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 56.577399] >ffff000808564880: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 56.584598] ^ [ 56.588335] ffff000808564900: fa fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 56.595539] ffff000808564980: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 56.602741] ==================================================================
[ 31.981467] ================================================================== [ 31.981520] BUG: KASAN: slab-use-after-free in kasan_strings+0x95c/0xb00 [ 31.981574] Read of size 1 at addr fff00000c65343d0 by task kunit_try_catch/290 [ 31.981914] [ 31.982138] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 31.982262] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.982550] Hardware name: linux,dummy-virt (DT) [ 31.982636] Call trace: [ 31.982703] show_stack+0x20/0x38 (C) [ 31.982757] dump_stack_lvl+0x8c/0xd0 [ 31.983115] print_report+0x118/0x5d0 [ 31.983191] kasan_report+0xdc/0x128 [ 31.983283] __asan_report_load1_noabort+0x20/0x30 [ 31.983337] kasan_strings+0x95c/0xb00 [ 31.983423] kunit_try_run_case+0x170/0x3f0 [ 31.983587] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.983644] kthread+0x328/0x630 [ 31.983953] ret_from_fork+0x10/0x20 [ 31.984032] [ 31.984068] Allocated by task 290: [ 31.984196] kasan_save_stack+0x3c/0x68 [ 31.984277] kasan_save_track+0x20/0x40 [ 31.984424] kasan_save_alloc_info+0x40/0x58 [ 31.984491] __kasan_kmalloc+0xd4/0xd8 [ 31.984561] __kmalloc_cache_noprof+0x16c/0x3c0 [ 31.984605] kasan_strings+0xc8/0xb00 [ 31.984778] kunit_try_run_case+0x170/0x3f0 [ 31.985111] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.985230] kthread+0x328/0x630 [ 31.985348] ret_from_fork+0x10/0x20 [ 31.985447] [ 31.985503] Freed by task 290: [ 31.985595] kasan_save_stack+0x3c/0x68 [ 31.985692] kasan_save_track+0x20/0x40 [ 31.985733] kasan_save_free_info+0x4c/0x78 [ 31.985955] __kasan_slab_free+0x6c/0x98 [ 31.986031] kfree+0x214/0x3c8 [ 31.986221] kasan_strings+0x24c/0xb00 [ 31.986316] kunit_try_run_case+0x170/0x3f0 [ 31.986396] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.987173] kthread+0x328/0x630 [ 31.987271] ret_from_fork+0x10/0x20 [ 31.987781] [ 31.988063] The buggy address belongs to the object at fff00000c65343c0 [ 31.988063] which belongs to the cache kmalloc-32 of size 32 [ 31.988332] The buggy address is located 16 bytes inside of [ 31.988332] freed 32-byte region [fff00000c65343c0, fff00000c65343e0) [ 31.988396] [ 31.988573] The buggy address belongs to the physical page: [ 31.988625] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106534 [ 31.988787] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.989100] page_type: f5(slab) [ 31.989405] raw: 0bfffe0000000000 fff00000c0001780 dead000000000122 0000000000000000 [ 31.989645] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 31.989872] page dumped because: kasan: bad access detected [ 31.990212] [ 31.990303] Memory state around the buggy address: [ 31.990383] fff00000c6534280: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 31.990508] fff00000c6534300: 00 00 00 fc fc fc fc fc 00 00 07 fc fc fc fc fc [ 31.990584] >fff00000c6534380: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc [ 31.990710] ^ [ 31.990768] fff00000c6534400: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 31.990834] fff00000c6534480: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc [ 31.990947] ==================================================================
[ 26.307204] ================================================================== [ 26.307566] BUG: KASAN: slab-use-after-free in kasan_strings+0xcbc/0xe80 [ 26.308357] Read of size 1 at addr ffff888103eba090 by task kunit_try_catch/308 [ 26.308786] [ 26.309187] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) [ 26.309253] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.309269] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.309293] Call Trace: [ 26.309313] <TASK> [ 26.309334] dump_stack_lvl+0x73/0xb0 [ 26.309369] print_report+0xd1/0x610 [ 26.309393] ? __virt_addr_valid+0x1db/0x2d0 [ 26.309417] ? kasan_strings+0xcbc/0xe80 [ 26.309438] ? kasan_complete_mode_report_info+0x64/0x200 [ 26.309463] ? kasan_strings+0xcbc/0xe80 [ 26.309484] kasan_report+0x141/0x180 [ 26.309505] ? kasan_strings+0xcbc/0xe80 [ 26.309530] __asan_report_load1_noabort+0x18/0x20 [ 26.309553] kasan_strings+0xcbc/0xe80 [ 26.309571] ? trace_hardirqs_on+0x37/0xe0 [ 26.309594] ? __pfx_kasan_strings+0x10/0x10 [ 26.309613] ? finish_task_switch.isra.0+0x153/0x700 [ 26.309636] ? __switch_to+0x47/0xf80 [ 26.309674] ? __schedule+0x10cc/0x2b60 [ 26.309697] ? __pfx_read_tsc+0x10/0x10 [ 26.309718] ? ktime_get_ts64+0x86/0x230 [ 26.309743] kunit_try_run_case+0x1a5/0x480 [ 26.309765] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.309785] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.309808] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.309831] ? __kthread_parkme+0x82/0x180 [ 26.309851] ? preempt_count_sub+0x50/0x80 [ 26.309873] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.309894] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.309918] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.309998] kthread+0x337/0x6f0 [ 26.310020] ? trace_preempt_on+0x20/0xc0 [ 26.310047] ? __pfx_kthread+0x10/0x10 [ 26.310067] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.310088] ? calculate_sigpending+0x7b/0xa0 [ 26.310112] ? __pfx_kthread+0x10/0x10 [ 26.310133] ret_from_fork+0x116/0x1d0 [ 26.310154] ? __pfx_kthread+0x10/0x10 [ 26.310175] ret_from_fork_asm+0x1a/0x30 [ 26.310207] </TASK> [ 26.310218] [ 26.322781] Allocated by task 308: [ 26.322950] kasan_save_stack+0x45/0x70 [ 26.323112] kasan_save_track+0x18/0x40 [ 26.323245] kasan_save_alloc_info+0x3b/0x50 [ 26.323391] __kasan_kmalloc+0xb7/0xc0 [ 26.323518] __kmalloc_cache_noprof+0x189/0x420 [ 26.323683] kasan_strings+0xc0/0xe80 [ 26.323809] kunit_try_run_case+0x1a5/0x480 [ 26.323949] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.324117] kthread+0x337/0x6f0 [ 26.326050] ret_from_fork+0x116/0x1d0 [ 26.326421] ret_from_fork_asm+0x1a/0x30 [ 26.327004] [ 26.327168] Freed by task 308: [ 26.327439] kasan_save_stack+0x45/0x70 [ 26.327812] kasan_save_track+0x18/0x40 [ 26.328201] kasan_save_free_info+0x3f/0x60 [ 26.329405] __kasan_slab_free+0x56/0x70 [ 26.330559] kfree+0x222/0x3f0 [ 26.330886] kasan_strings+0x2aa/0xe80 [ 26.331638] kunit_try_run_case+0x1a5/0x480 [ 26.332019] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.332467] kthread+0x337/0x6f0 [ 26.332850] ret_from_fork+0x116/0x1d0 [ 26.333228] ret_from_fork_asm+0x1a/0x30 [ 26.333574] [ 26.333746] The buggy address belongs to the object at ffff888103eba080 [ 26.333746] which belongs to the cache kmalloc-32 of size 32 [ 26.334310] The buggy address is located 16 bytes inside of [ 26.334310] freed 32-byte region [ffff888103eba080, ffff888103eba0a0) [ 26.334644] [ 26.334839] The buggy address belongs to the physical page: [ 26.335090] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103eba [ 26.335319] flags: 0x200000000000000(node=0|zone=2) [ 26.335971] page_type: f5(slab) [ 26.336206] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 26.336517] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 26.336893] page dumped because: kasan: bad access detected [ 26.337126] [ 26.337205] Memory state around the buggy address: [ 26.337426] ffff888103eb9f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.337757] ffff888103eba000: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 26.338093] >ffff888103eba080: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 26.338416] ^ [ 26.338600] ffff888103eba100: fa fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 26.338936] ffff888103eba180: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 26.339183] ==================================================================