Date
July 15, 2025, 11:35 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 38.841736] ================================================================== [ 38.856032] BUG: KASAN: use-after-free in page_alloc_uaf+0x328/0x350 [ 38.862366] Read of size 1 at addr ffff0008084c0000 by task kunit_try_catch/235 [ 38.869659] [ 38.871144] CPU: 2 UID: 0 PID: 235 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 38.871202] Tainted: [B]=BAD_PAGE, [N]=TEST [ 38.871220] Hardware name: WinLink E850-96 board (DT) [ 38.871242] Call trace: [ 38.871254] show_stack+0x20/0x38 (C) [ 38.871292] dump_stack_lvl+0x8c/0xd0 [ 38.871327] print_report+0x118/0x5d0 [ 38.871356] kasan_report+0xdc/0x128 [ 38.871380] __asan_report_load1_noabort+0x20/0x30 [ 38.871412] page_alloc_uaf+0x328/0x350 [ 38.871443] kunit_try_run_case+0x170/0x3f0 [ 38.871475] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.871511] kthread+0x328/0x630 [ 38.871542] ret_from_fork+0x10/0x20 [ 38.871576] [ 38.934851] The buggy address belongs to the physical page: [ 38.940407] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8884c0 [ 38.948390] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 38.954901] page_type: f0(buddy) [ 38.958122] raw: 0bfffe0000000000 ffff00087f61bd70 ffff00087f61bd70 0000000000000000 [ 38.965842] raw: 0000000000000000 0000000000000006 00000000f0000000 0000000000000000 [ 38.973563] page dumped because: kasan: bad access detected [ 38.979117] [ 38.980592] Memory state around the buggy address: [ 38.985373] ffff0008084bff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 38.992576] ffff0008084bff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 38.999782] >ffff0008084c0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 39.006981] ^ [ 39.010196] ffff0008084c0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 39.017401] ffff0008084c0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 39.024604] ==================================================================
[ 30.428706] ================================================================== [ 30.428775] BUG: KASAN: use-after-free in page_alloc_uaf+0x328/0x350 [ 30.428977] Read of size 1 at addr fff00000c9a60000 by task kunit_try_catch/186 [ 30.429047] [ 30.429185] CPU: 0 UID: 0 PID: 186 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT [ 30.429314] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.429662] Hardware name: linux,dummy-virt (DT) [ 30.429788] Call trace: [ 30.429813] show_stack+0x20/0x38 (C) [ 30.429882] dump_stack_lvl+0x8c/0xd0 [ 30.429941] print_report+0x118/0x5d0 [ 30.429987] kasan_report+0xdc/0x128 [ 30.430183] __asan_report_load1_noabort+0x20/0x30 [ 30.430331] page_alloc_uaf+0x328/0x350 [ 30.430575] kunit_try_run_case+0x170/0x3f0 [ 30.430701] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.430913] kthread+0x328/0x630 [ 30.431161] ret_from_fork+0x10/0x20 [ 30.431448] [ 30.431530] The buggy address belongs to the physical page: [ 30.431653] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a60 [ 30.431780] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 30.432019] page_type: f0(buddy) [ 30.432252] raw: 0bfffe0000000000 fff00000ff616148 fff00000ff616148 0000000000000000 [ 30.432325] raw: 0000000000000000 0000000000000005 00000000f0000000 0000000000000000 [ 30.432485] page dumped because: kasan: bad access detected [ 30.432566] [ 30.432633] Memory state around the buggy address: [ 30.432722] fff00000c9a5ff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.432796] fff00000c9a5ff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.432869] >fff00000c9a60000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.432906] ^ [ 30.433123] fff00000c9a60080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.433417] fff00000c9a60100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 30.433633] ==================================================================
[ 23.659183] ================================================================== [ 23.660000] BUG: KASAN: use-after-free in page_alloc_uaf+0x356/0x3d0 [ 23.660304] Read of size 1 at addr ffff8881061f0000 by task kunit_try_catch/202 [ 23.660651] [ 23.660756] CPU: 0 UID: 0 PID: 202 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) [ 23.660808] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.660822] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.660844] Call Trace: [ 23.660858] <TASK> [ 23.660876] dump_stack_lvl+0x73/0xb0 [ 23.660912] print_report+0xd1/0x610 [ 23.660940] ? __virt_addr_valid+0x1db/0x2d0 [ 23.660969] ? page_alloc_uaf+0x356/0x3d0 [ 23.660994] ? kasan_addr_to_slab+0x11/0xa0 [ 23.661019] ? page_alloc_uaf+0x356/0x3d0 [ 23.661046] kasan_report+0x141/0x180 [ 23.661073] ? page_alloc_uaf+0x356/0x3d0 [ 23.661106] __asan_report_load1_noabort+0x18/0x20 [ 23.661134] page_alloc_uaf+0x356/0x3d0 [ 23.661160] ? __pfx_page_alloc_uaf+0x10/0x10 [ 23.661188] ? __schedule+0x10cc/0x2b60 [ 23.661214] ? __pfx_read_tsc+0x10/0x10 [ 23.661240] ? ktime_get_ts64+0x86/0x230 [ 23.661271] kunit_try_run_case+0x1a5/0x480 [ 23.661300] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.661325] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.661352] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.661379] ? __kthread_parkme+0x82/0x180 [ 23.661405] ? preempt_count_sub+0x50/0x80 [ 23.661434] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.661462] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.661493] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.661870] kthread+0x337/0x6f0 [ 23.661905] ? trace_preempt_on+0x20/0xc0 [ 23.661935] ? __pfx_kthread+0x10/0x10 [ 23.661960] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.661989] ? calculate_sigpending+0x7b/0xa0 [ 23.662019] ? __pfx_kthread+0x10/0x10 [ 23.662046] ret_from_fork+0x116/0x1d0 [ 23.662070] ? __pfx_kthread+0x10/0x10 [ 23.662096] ret_from_fork_asm+0x1a/0x30 [ 23.662136] </TASK> [ 23.662148] [ 23.669924] The buggy address belongs to the physical page: [ 23.670112] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061f0 [ 23.670508] flags: 0x200000000000000(node=0|zone=2) [ 23.670766] page_type: f0(buddy) [ 23.671019] raw: 0200000000000000 ffff88817fffc460 ffff88817fffc460 0000000000000000 [ 23.671555] raw: 0000000000000000 0000000000000004 00000000f0000000 0000000000000000 [ 23.671951] page dumped because: kasan: bad access detected [ 23.672268] [ 23.672352] Memory state around the buggy address: [ 23.672576] ffff8881061eff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 23.673049] ffff8881061eff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 23.673344] >ffff8881061f0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 23.673737] ^ [ 23.673907] ffff8881061f0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 23.674213] ffff8881061f0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 23.674487] ==================================================================