Date
June 26, 2025, 11:12 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 40.484979] ================================================================== [ 40.492043] BUG: KASAN: slab-use-after-free in kasan_strings+0x95c/0xb00 [ 40.498721] Read of size 1 at addr ffff0008066bd2d0 by task kunit_try_catch/308 [ 40.506012] [ 40.507498] CPU: 7 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT [ 40.507556] Tainted: [B]=BAD_PAGE, [N]=TEST [ 40.507575] Hardware name: WinLink E850-96 board (DT) [ 40.507596] Call trace: [ 40.507611] show_stack+0x20/0x38 (C) [ 40.507649] dump_stack_lvl+0x8c/0xd0 [ 40.507690] print_report+0x118/0x608 [ 40.507725] kasan_report+0xdc/0x128 [ 40.507753] __asan_report_load1_noabort+0x20/0x30 [ 40.507791] kasan_strings+0x95c/0xb00 [ 40.507827] kunit_try_run_case+0x170/0x3f0 [ 40.507864] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.507904] kthread+0x328/0x630 [ 40.507940] ret_from_fork+0x10/0x20 [ 40.507977] [ 40.569900] Allocated by task 308: [ 40.573286] kasan_save_stack+0x3c/0x68 [ 40.577105] kasan_save_track+0x20/0x40 [ 40.580924] kasan_save_alloc_info+0x40/0x58 [ 40.585178] __kasan_kmalloc+0xd4/0xd8 [ 40.588910] __kmalloc_cache_noprof+0x16c/0x3c0 [ 40.593424] kasan_strings+0xc8/0xb00 [ 40.597070] kunit_try_run_case+0x170/0x3f0 [ 40.601237] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.606705] kthread+0x328/0x630 [ 40.609917] ret_from_fork+0x10/0x20 [ 40.613476] [ 40.614952] Freed by task 308: [ 40.617992] kasan_save_stack+0x3c/0x68 [ 40.621809] kasan_save_track+0x20/0x40 [ 40.625629] kasan_save_free_info+0x4c/0x78 [ 40.629795] __kasan_slab_free+0x6c/0x98 [ 40.633702] kfree+0x214/0x3c8 [ 40.636740] kasan_strings+0x24c/0xb00 [ 40.640472] kunit_try_run_case+0x170/0x3f0 [ 40.644639] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.650107] kthread+0x328/0x630 [ 40.653319] ret_from_fork+0x10/0x20 [ 40.656878] [ 40.658355] The buggy address belongs to the object at ffff0008066bd2c0 [ 40.658355] which belongs to the cache kmalloc-32 of size 32 [ 40.670680] The buggy address is located 16 bytes inside of [ 40.670680] freed 32-byte region [ffff0008066bd2c0, ffff0008066bd2e0) [ 40.682746] [ 40.684223] The buggy address belongs to the physical page: [ 40.689780] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8866bd [ 40.697766] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 40.704275] page_type: f5(slab) [ 40.707410] raw: 0bfffe0000000000 ffff000800002780 dead000000000122 0000000000000000 [ 40.715131] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 40.722850] page dumped because: kasan: bad access detected [ 40.728405] [ 40.729880] Memory state around the buggy address: [ 40.734662] ffff0008066bd180: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 40.741863] ffff0008066bd200: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 40.749068] >ffff0008066bd280: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 40.756269] ^ [ 40.762089] ffff0008066bd300: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 40.769294] ffff0008066bd380: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc [ 40.776494] ==================================================================
[ 20.313145] ================================================================== [ 20.313225] BUG: KASAN: slab-use-after-free in kasan_strings+0x95c/0xb00 [ 20.313537] Read of size 1 at addr fff00000c5be7090 by task kunit_try_catch/261 [ 20.313619] [ 20.313754] CPU: 1 UID: 0 PID: 261 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT [ 20.313889] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.313921] Hardware name: linux,dummy-virt (DT) [ 20.313968] Call trace: [ 20.313995] show_stack+0x20/0x38 (C) [ 20.314060] dump_stack_lvl+0x8c/0xd0 [ 20.314115] print_report+0x118/0x608 [ 20.314170] kasan_report+0xdc/0x128 [ 20.314218] __asan_report_load1_noabort+0x20/0x30 [ 20.314270] kasan_strings+0x95c/0xb00 [ 20.314319] kunit_try_run_case+0x170/0x3f0 [ 20.314381] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.314436] kthread+0x328/0x630 [ 20.314484] ret_from_fork+0x10/0x20 [ 20.314534] [ 20.314564] Allocated by task 261: [ 20.314602] kasan_save_stack+0x3c/0x68 [ 20.314643] kasan_save_track+0x20/0x40 [ 20.314697] kasan_save_alloc_info+0x40/0x58 [ 20.314744] __kasan_kmalloc+0xd4/0xd8 [ 20.314783] __kmalloc_cache_noprof+0x16c/0x3c0 [ 20.314822] kasan_strings+0xc8/0xb00 [ 20.314871] kunit_try_run_case+0x170/0x3f0 [ 20.314912] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.314959] kthread+0x328/0x630 [ 20.314996] ret_from_fork+0x10/0x20 [ 20.315035] [ 20.315056] Freed by task 261: [ 20.315082] kasan_save_stack+0x3c/0x68 [ 20.315120] kasan_save_track+0x20/0x40 [ 20.315167] kasan_save_free_info+0x4c/0x78 [ 20.315215] __kasan_slab_free+0x6c/0x98 [ 20.315254] kfree+0x214/0x3c8 [ 20.315293] kasan_strings+0x24c/0xb00 [ 20.315333] kunit_try_run_case+0x170/0x3f0 [ 20.315373] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.315430] kthread+0x328/0x630 [ 20.315468] ret_from_fork+0x10/0x20 [ 20.315506] [ 20.315527] The buggy address belongs to the object at fff00000c5be7080 [ 20.315527] which belongs to the cache kmalloc-32 of size 32 [ 20.315589] The buggy address is located 16 bytes inside of [ 20.315589] freed 32-byte region [fff00000c5be7080, fff00000c5be70a0) [ 20.315652] [ 20.315675] The buggy address belongs to the physical page: [ 20.315708] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105be7 [ 20.315759] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.315810] page_type: f5(slab) [ 20.315849] raw: 0bfffe0000000000 fff00000c0001780 dead000000000122 0000000000000000 [ 20.316260] raw: 0000000000000000 0000000080400040 00000000f5000000 0000000000000000 [ 20.316308] page dumped because: kasan: bad access detected [ 20.316713] [ 20.316792] Memory state around the buggy address: [ 20.317242] fff00000c5be6f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.317592] fff00000c5be7000: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 20.317885] >fff00000c5be7080: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 20.318062] ^ [ 20.318169] fff00000c5be7100: fa fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 20.318220] fff00000c5be7180: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 20.318451] ==================================================================
[ 12.853156] ================================================================== [ 12.853788] BUG: KASAN: slab-use-after-free in kasan_strings+0xcbc/0xe80 [ 12.854150] Read of size 1 at addr ffff888102a07fd0 by task kunit_try_catch/278 [ 12.854456] [ 12.854550] CPU: 0 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc3 #1 PREEMPT(voluntary) [ 12.854597] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.854609] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.854630] Call Trace: [ 12.854648] <TASK> [ 12.854667] dump_stack_lvl+0x73/0xb0 [ 12.854691] print_report+0xd1/0x650 [ 12.854736] ? __virt_addr_valid+0x1db/0x2d0 [ 12.854758] ? kasan_strings+0xcbc/0xe80 [ 12.854779] ? kasan_complete_mode_report_info+0x64/0x200 [ 12.854803] ? kasan_strings+0xcbc/0xe80 [ 12.854825] kasan_report+0x141/0x180 [ 12.854848] ? kasan_strings+0xcbc/0xe80 [ 12.854874] __asan_report_load1_noabort+0x18/0x20 [ 12.854894] kasan_strings+0xcbc/0xe80 [ 12.854914] ? trace_hardirqs_on+0x37/0xe0 [ 12.854948] ? __pfx_kasan_strings+0x10/0x10 [ 12.854968] ? finish_task_switch.isra.0+0x153/0x700 [ 12.854992] ? __switch_to+0x5d9/0xf60 [ 12.855012] ? dequeue_task_fair+0x156/0x4e0 [ 12.855036] ? __schedule+0x10cc/0x2b60 [ 12.855059] ? __pfx_read_tsc+0x10/0x10 [ 12.855078] ? ktime_get_ts64+0x86/0x230 [ 12.855103] kunit_try_run_case+0x1a5/0x480 [ 12.855128] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.855150] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.855174] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.855197] ? __kthread_parkme+0x82/0x180 [ 12.855218] ? preempt_count_sub+0x50/0x80 [ 12.855244] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.855267] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.855290] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.855313] kthread+0x337/0x6f0 [ 12.855329] ? trace_preempt_on+0x20/0xc0 [ 12.855351] ? __pfx_kthread+0x10/0x10 [ 12.855368] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.855389] ? calculate_sigpending+0x7b/0xa0 [ 12.855411] ? __pfx_kthread+0x10/0x10 [ 12.855429] ret_from_fork+0x41/0x80 [ 12.855449] ? __pfx_kthread+0x10/0x10 [ 12.855466] ret_from_fork_asm+0x1a/0x30 [ 12.855497] </TASK> [ 12.855507] [ 12.863564] Allocated by task 278: [ 12.863704] kasan_save_stack+0x45/0x70 [ 12.863853] kasan_save_track+0x18/0x40 [ 12.864258] kasan_save_alloc_info+0x3b/0x50 [ 12.864478] __kasan_kmalloc+0xb7/0xc0 [ 12.864854] __kmalloc_cache_noprof+0x189/0x420 [ 12.865097] kasan_strings+0xc0/0xe80 [ 12.865286] kunit_try_run_case+0x1a5/0x480 [ 12.865497] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.865746] kthread+0x337/0x6f0 [ 12.865914] ret_from_fork+0x41/0x80 [ 12.866107] ret_from_fork_asm+0x1a/0x30 [ 12.866306] [ 12.866399] Freed by task 278: [ 12.866568] kasan_save_stack+0x45/0x70 [ 12.866701] kasan_save_track+0x18/0x40 [ 12.866899] kasan_save_free_info+0x3f/0x60 [ 12.867124] __kasan_slab_free+0x56/0x70 [ 12.867324] kfree+0x222/0x3f0 [ 12.867481] kasan_strings+0x2aa/0xe80 [ 12.867708] kunit_try_run_case+0x1a5/0x480 [ 12.867889] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.868118] kthread+0x337/0x6f0 [ 12.868277] ret_from_fork+0x41/0x80 [ 12.868438] ret_from_fork_asm+0x1a/0x30 [ 12.868820] [ 12.868943] The buggy address belongs to the object at ffff888102a07fc0 [ 12.868943] which belongs to the cache kmalloc-32 of size 32 [ 12.869376] The buggy address is located 16 bytes inside of [ 12.869376] freed 32-byte region [ffff888102a07fc0, ffff888102a07fe0) [ 12.870002] [ 12.870248] The buggy address belongs to the physical page: [ 12.870452] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a07 [ 12.871051] flags: 0x200000000000000(node=0|zone=2) [ 12.871229] page_type: f5(slab) [ 12.871355] raw: 0200000000000000 ffff888100041780 dead000000000122 0000000000000000 [ 12.871593] raw: 0000000000000000 0000000000400040 00000000f5000000 0000000000000000 [ 12.871947] page dumped because: kasan: bad access detected [ 12.872205] [ 12.872402] Memory state around the buggy address: [ 12.872952] ffff888102a07e80: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc [ 12.873267] ffff888102a07f00: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 12.873510] >ffff888102a07f80: 00 00 07 fc fc fc fc fc fa fb fb fb fc fc fc fc [ 12.873724] ^ [ 12.873904] ffff888102a08000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 12.874226] ffff888102a08080: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.874669] ==================================================================