Date
May 13, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.378279] ================================================================== [ 21.378406] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 21.378588] Read of size 1 at addr ffff8000809d7b5f by task kunit_try_catch/251 [ 21.378655] [ 21.378705] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250513 #1 PREEMPT [ 21.378813] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.378846] Hardware name: linux,dummy-virt (DT) [ 21.378891] Call trace: [ 21.378922] show_stack+0x20/0x38 (C) [ 21.379008] dump_stack_lvl+0x8c/0xd0 [ 21.379070] print_report+0x310/0x608 [ 21.379129] kasan_report+0xdc/0x128 [ 21.379183] __asan_report_load1_noabort+0x20/0x30 [ 21.379244] kasan_alloca_oob_left+0x2b8/0x310 [ 21.379301] kunit_try_run_case+0x170/0x3f0 [ 21.379361] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.379425] kthread+0x328/0x630 [ 21.379485] ret_from_fork+0x10/0x20 [ 21.379545] [ 21.379577] The buggy address belongs to stack of task kunit_try_catch/251 [ 21.379686] [ 21.379722] The buggy address belongs to the virtual mapping at [ 21.379722] [ffff8000809d0000, ffff8000809d9000) created by: [ 21.379722] kernel_clone+0x150/0x7a8 [ 21.379818] [ 21.379850] The buggy address belongs to the physical page: [ 21.379893] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107791 [ 21.379961] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.380152] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.380404] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.380475] page dumped because: kasan: bad access detected [ 21.380518] [ 21.380653] Memory state around the buggy address: [ 21.380847] ffff8000809d7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.380922] ffff8000809d7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.380983] >ffff8000809d7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 21.381032] ^ [ 21.381080] ffff8000809d7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 21.381129] ffff8000809d7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.381635] ==================================================================
[ 12.946672] ================================================================== [ 12.947141] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 12.947485] Read of size 1 at addr ffff888102b47c3f by task kunit_try_catch/268 [ 12.947808] [ 12.947891] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) [ 12.947936] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.948272] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.948299] Call Trace: [ 12.948311] <TASK> [ 12.948325] dump_stack_lvl+0x73/0xb0 [ 12.948356] print_report+0xd1/0x650 [ 12.948378] ? __virt_addr_valid+0x1db/0x2d0 [ 12.948402] ? kasan_alloca_oob_left+0x320/0x380 [ 12.948425] ? kasan_addr_to_slab+0x11/0xa0 [ 12.948447] ? kasan_alloca_oob_left+0x320/0x380 [ 12.948471] kasan_report+0x141/0x180 [ 12.948493] ? kasan_alloca_oob_left+0x320/0x380 [ 12.948522] __asan_report_load1_noabort+0x18/0x20 [ 12.948544] kasan_alloca_oob_left+0x320/0x380 [ 12.948569] ? finish_task_switch.isra.0+0x153/0x700 [ 12.948592] ? schedule+0x1ce/0x2e0 [ 12.948627] ? trace_hardirqs_on+0x37/0xe0 [ 12.948653] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 12.948679] ? __schedule+0x10cc/0x2b60 [ 12.948700] ? __pfx_read_tsc+0x10/0x10 [ 12.948722] ? ktime_get_ts64+0x86/0x230 [ 12.948747] kunit_try_run_case+0x1a5/0x480 [ 12.948772] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.948794] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.948816] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.948839] ? __kthread_parkme+0x82/0x180 [ 12.948860] ? preempt_count_sub+0x50/0x80 [ 12.948884] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.948908] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.948931] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.948953] kthread+0x337/0x6f0 [ 12.948973] ? trace_preempt_on+0x20/0xc0 [ 12.948996] ? __pfx_kthread+0x10/0x10 [ 12.949017] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.949038] ? calculate_sigpending+0x7b/0xa0 [ 12.949062] ? __pfx_kthread+0x10/0x10 [ 12.949093] ret_from_fork+0x116/0x1d0 [ 12.949111] ? __pfx_kthread+0x10/0x10 [ 12.949132] ret_from_fork_asm+0x1a/0x30 [ 12.949164] </TASK> [ 12.949176] [ 12.962523] The buggy address belongs to stack of task kunit_try_catch/268 [ 12.963251] [ 12.963603] The buggy address belongs to the physical page: [ 12.963877] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102b47 [ 12.964121] flags: 0x200000000000000(node=0|zone=2) [ 12.964496] raw: 0200000000000000 0000000000000000 ffffea00040ad1c8 0000000000000000 [ 12.965255] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 12.966037] page dumped because: kasan: bad access detected [ 12.966771] [ 12.966945] Memory state around the buggy address: [ 12.967403] ffff888102b47b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.967984] ffff888102b47b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.968238] >ffff888102b47c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 12.969000] ^ [ 12.969578] ffff888102b47c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 12.969991] ffff888102b47d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 12.970242] ==================================================================