Date
May 23, 2025, 11:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.827711] ================================================================== [ 30.828492] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 30.828879] Read of size 1 at addr ffff800080ad7b5f by task kunit_try_catch/253 [ 30.829597] [ 30.829788] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7 #1 PREEMPT [ 30.830185] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.830341] Hardware name: linux,dummy-virt (DT) [ 30.830438] Call trace: [ 30.830577] show_stack+0x20/0x38 (C) [ 30.830757] dump_stack_lvl+0x8c/0xd0 [ 30.831342] print_report+0x310/0x608 [ 30.831537] kasan_report+0xdc/0x128 [ 30.831673] __asan_report_load1_noabort+0x20/0x30 [ 30.832326] kasan_alloca_oob_left+0x2b8/0x310 [ 30.832600] kunit_try_run_case+0x170/0x3f0 [ 30.832864] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.833015] kthread+0x328/0x630 [ 30.833123] ret_from_fork+0x10/0x20 [ 30.833245] [ 30.833301] The buggy address belongs to stack of task kunit_try_catch/253 [ 30.834041] [ 30.834244] The buggy address belongs to the virtual mapping at [ 30.834244] [ffff800080ad0000, ffff800080ad9000) created by: [ 30.834244] kernel_clone+0x150/0x7a8 [ 30.834652] [ 30.834730] The buggy address belongs to the physical page: [ 30.835206] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107790 [ 30.835485] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 30.835791] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 30.835956] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 30.836084] page dumped because: kasan: bad access detected [ 30.836178] [ 30.836222] Memory state around the buggy address: [ 30.836303] ffff800080ad7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.836406] ffff800080ad7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.836539] >ffff800080ad7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 30.837324] ^ [ 30.838360] ffff800080ad7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 30.838626] ffff800080ad7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 30.838873] ==================================================================
[ 14.442822] ================================================================== [ 14.443679] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.444096] Read of size 1 at addr ffff8881039ffc3f by task kunit_try_catch/270 [ 14.444414] [ 14.444541] CPU: 0 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7 #1 PREEMPT(voluntary) [ 14.444592] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.444604] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.444627] Call Trace: [ 14.444640] <TASK> [ 14.444657] dump_stack_lvl+0x73/0xb0 [ 14.444685] print_report+0xd1/0x650 [ 14.444708] ? __virt_addr_valid+0x1db/0x2d0 [ 14.444730] ? kasan_alloca_oob_left+0x320/0x380 [ 14.444754] ? kasan_addr_to_slab+0x11/0xa0 [ 14.444775] ? kasan_alloca_oob_left+0x320/0x380 [ 14.444798] kasan_report+0x141/0x180 [ 14.444821] ? kasan_alloca_oob_left+0x320/0x380 [ 14.444850] __asan_report_load1_noabort+0x18/0x20 [ 14.444871] kasan_alloca_oob_left+0x320/0x380 [ 14.444896] ? finish_task_switch.isra.0+0x153/0x700 [ 14.444920] ? rt_mutex_adjust_prio_chain+0x19ae/0x20e0 [ 14.444943] ? trace_hardirqs_on+0x37/0xe0 [ 14.444968] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.444994] ? __schedule+0x10cc/0x2b30 [ 14.445016] ? __pfx_read_tsc+0x10/0x10 [ 14.445035] ? ktime_get_ts64+0x86/0x230 [ 14.445061] kunit_try_run_case+0x1a5/0x480 [ 14.445086] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.445108] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.445132] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.445155] ? __kthread_parkme+0x82/0x180 [ 14.445176] ? preempt_count_sub+0x50/0x80 [ 14.445201] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.445243] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.445265] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.445289] kthread+0x337/0x6f0 [ 14.445316] ? trace_preempt_on+0x20/0xc0 [ 14.445339] ? __pfx_kthread+0x10/0x10 [ 14.445357] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.445378] ? calculate_sigpending+0x7b/0xa0 [ 14.445401] ? __pfx_kthread+0x10/0x10 [ 14.445419] ret_from_fork+0x41/0x80 [ 14.445440] ? __pfx_kthread+0x10/0x10 [ 14.445458] ret_from_fork_asm+0x1a/0x30 [ 14.445490] </TASK> [ 14.445501] [ 14.453360] The buggy address belongs to stack of task kunit_try_catch/270 [ 14.453757] [ 14.453832] The buggy address belongs to the physical page: [ 14.454004] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039ff [ 14.454521] flags: 0x200000000000000(node=0|zone=2) [ 14.454736] raw: 0200000000000000 ffffea00040e7fc8 ffffea00040e7fc8 0000000000000000 [ 14.455219] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.455592] page dumped because: kasan: bad access detected [ 14.455812] [ 14.455913] Memory state around the buggy address: [ 14.456072] ffff8881039ffb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.456403] ffff8881039ffb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.456741] >ffff8881039ffc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.456955] ^ [ 14.457120] ffff8881039ffc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.457441] ffff8881039ffd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.457755] ==================================================================