Date
June 2, 2025, 2:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 19.736288] ================================================================== [ 19.750528] BUG: KASAN: use-after-free in page_alloc_uaf+0x328/0x350 [ 19.756861] Read of size 1 at addr ffff0008065f0000 by task kunit_try_catch/201 [ 19.764151] [ 19.765636] CPU: 5 UID: 0 PID: 201 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 19.765689] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.765706] Hardware name: WinLink E850-96 board (DT) [ 19.765728] Call trace: [ 19.765742] show_stack+0x20/0x38 (C) [ 19.765779] dump_stack_lvl+0x8c/0xd0 [ 19.765813] print_report+0x118/0x608 [ 19.765843] kasan_report+0xdc/0x128 [ 19.765875] __asan_report_load1_noabort+0x20/0x30 [ 19.765908] page_alloc_uaf+0x328/0x350 [ 19.765944] kunit_try_run_case+0x170/0x3f0 [ 19.765980] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.766021] kthread+0x328/0x630 [ 19.766057] ret_from_fork+0x10/0x20 [ 19.766090] [ 19.828128] The buggy address belongs to the physical page: [ 19.833686] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8865f0 [ 19.841671] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 19.848178] page_type: f0(buddy) [ 19.851403] raw: 0bfffe0000000000 ffff00087f61bbe0 ffff00087f61bbe0 0000000000000000 [ 19.859123] raw: 0000000000000000 0000000000000004 00000000f0000000 0000000000000000 [ 19.866841] page dumped because: kasan: bad access detected [ 19.872396] [ 19.873871] Memory state around the buggy address: [ 19.878652] ffff0008065eff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 19.885854] ffff0008065eff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 19.893059] >ffff0008065f0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 19.900260] ^ [ 19.903475] ffff0008065f0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 19.910680] ffff0008065f0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 19.917883] ==================================================================
[ 17.502805] ================================================================== [ 17.502872] BUG: KASAN: use-after-free in page_alloc_uaf+0x328/0x350 [ 17.502940] Read of size 1 at addr fff00000c77b0000 by task kunit_try_catch/157 [ 17.502990] [ 17.503036] CPU: 1 UID: 0 PID: 157 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT [ 17.503119] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.503144] Hardware name: linux,dummy-virt (DT) [ 17.503176] Call trace: [ 17.503200] show_stack+0x20/0x38 (C) [ 17.503258] dump_stack_lvl+0x8c/0xd0 [ 17.503312] print_report+0x118/0x608 [ 17.504200] kasan_report+0xdc/0x128 [ 17.504263] __asan_report_load1_noabort+0x20/0x30 [ 17.504471] page_alloc_uaf+0x328/0x350 [ 17.504528] kunit_try_run_case+0x170/0x3f0 [ 17.505067] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.505128] kthread+0x328/0x630 [ 17.505176] ret_from_fork+0x10/0x20 [ 17.505228] [ 17.505250] The buggy address belongs to the physical page: [ 17.505283] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1077b0 [ 17.505337] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.505403] page_type: f0(buddy) [ 17.505446] raw: 0bfffe0000000000 fff00000ff616020 fff00000ff616020 0000000000000000 [ 17.505523] raw: 0000000000000000 0000000000000004 00000000f0000000 0000000000000000 [ 17.505563] page dumped because: kasan: bad access detected [ 17.505594] [ 17.505617] Memory state around the buggy address: [ 17.505653] fff00000c77aff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 17.505697] fff00000c77aff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 17.505739] >fff00000c77b0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 17.505776] ^ [ 17.505806] fff00000c77b0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 17.505848] fff00000c77b0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 17.505885] ==================================================================
[ 15.851458] ================================================================== [ 15.852341] BUG: KASAN: use-after-free in page_alloc_uaf+0x356/0x3d0 [ 15.853117] Read of size 1 at addr ffff888103a00000 by task kunit_try_catch/175 [ 15.854342] [ 15.854535] CPU: 0 UID: 0 PID: 175 Comm: kunit_try_catch Tainted: G B N 6.15.1-rc1 #1 PREEMPT(voluntary) [ 15.854650] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.854677] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.854718] Call Trace: [ 15.854744] <TASK> [ 15.854796] dump_stack_lvl+0x73/0xb0 [ 15.854859] print_report+0xd1/0x650 [ 15.854904] ? __virt_addr_valid+0x1db/0x2d0 [ 15.854947] ? page_alloc_uaf+0x356/0x3d0 [ 15.854983] ? kasan_addr_to_slab+0x11/0xa0 [ 15.855062] ? page_alloc_uaf+0x356/0x3d0 [ 15.855103] kasan_report+0x141/0x180 [ 15.855149] ? page_alloc_uaf+0x356/0x3d0 [ 15.855471] __asan_report_load1_noabort+0x18/0x20 [ 15.855537] page_alloc_uaf+0x356/0x3d0 [ 15.855572] ? __pfx_page_alloc_uaf+0x10/0x10 [ 15.855604] ? __schedule+0x10cc/0x2b30 [ 15.855655] ? __pfx_read_tsc+0x10/0x10 [ 15.855689] ? ktime_get_ts64+0x86/0x230 [ 15.855733] kunit_try_run_case+0x1a5/0x480 [ 15.855792] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.855827] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.855868] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.855945] ? __kthread_parkme+0x82/0x180 [ 15.855991] ? preempt_count_sub+0x50/0x80 [ 15.856022] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.856049] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.856075] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.856100] kthread+0x337/0x6f0 [ 15.856147] ? trace_preempt_on+0x20/0xc0 [ 15.856181] ? __pfx_kthread+0x10/0x10 [ 15.856217] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.856253] ? calculate_sigpending+0x7b/0xa0 [ 15.856294] ? __pfx_kthread+0x10/0x10 [ 15.856319] ret_from_fork+0x41/0x80 [ 15.856344] ? __pfx_kthread+0x10/0x10 [ 15.856364] ret_from_fork_asm+0x1a/0x30 [ 15.856399] </TASK> [ 15.856414] [ 15.870979] The buggy address belongs to the physical page: [ 15.871893] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a00 [ 15.872581] flags: 0x200000000000000(node=0|zone=2) [ 15.873109] page_type: f0(buddy) [ 15.873452] raw: 0200000000000000 ffff88817fffb548 ffff88817fffb548 0000000000000000 [ 15.874164] raw: 0000000000000000 0000000000000009 00000000f0000000 0000000000000000 [ 15.874595] page dumped because: kasan: bad access detected [ 15.874983] [ 15.875101] Memory state around the buggy address: [ 15.875273] ffff8881039fff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.876003] ffff8881039fff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.876956] >ffff888103a00000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.877489] ^ [ 15.878246] ffff888103a00080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.878807] ffff888103a00100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.879037] ==================================================================