Date
July 17, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.863908] ================================================================== [ 18.863987] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 18.864047] Read of size 1 at addr ffff800080aa7c2a by task kunit_try_catch/249 [ 18.864098] [ 18.865171] CPU: 0 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 18.865273] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.865389] Hardware name: linux,dummy-virt (DT) [ 18.865536] Call trace: [ 18.867888] show_stack+0x20/0x38 (C) [ 18.867957] dump_stack_lvl+0x8c/0xd0 [ 18.868010] print_report+0x310/0x5d0 [ 18.868276] kasan_report+0xdc/0x128 [ 18.868340] __asan_report_load1_noabort+0x20/0x30 [ 18.868393] kasan_stack_oob+0x238/0x270 [ 18.868747] kunit_try_run_case+0x170/0x3f0 [ 18.868802] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.869191] kthread+0x328/0x630 [ 18.869243] ret_from_fork+0x10/0x20 [ 18.869295] [ 18.869760] The buggy address belongs to stack of task kunit_try_catch/249 [ 18.870713] and is located at offset 138 in frame: [ 18.870766] kasan_stack_oob+0x0/0x270 [ 18.870922] [ 18.870959] This frame has 4 objects: [ 18.871050] [48, 49) '__assertion' [ 18.871090] [64, 72) 'array' [ 18.871122] [96, 112) '__assertion' [ 18.871163] [128, 138) 'stack_array' [ 18.871206] [ 18.871239] The buggy address ffff800080aa7c2a belongs to a vmalloc virtual mapping [ 18.871289] The buggy address belongs to the physical page: [ 18.871326] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078de [ 18.871383] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.871451] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.871504] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.871546] page dumped because: kasan: bad access detected [ 18.871580] [ 18.871602] Memory state around the buggy address: [ 18.871636] ffff800080aa7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.871682] ffff800080aa7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 18.871724] >ffff800080aa7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 18.871764] ^ [ 18.871798] ffff800080aa7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 18.871843] ffff800080aa7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.871894] ==================================================================
[ 14.131900] ================================================================== [ 14.133641] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 14.134433] Read of size 1 at addr ffff888103affd02 by task kunit_try_catch/266 [ 14.134935] [ 14.135098] CPU: 0 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.135159] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.135171] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.135205] Call Trace: [ 14.135217] <TASK> [ 14.135234] dump_stack_lvl+0x73/0xb0 [ 14.135267] print_report+0xd1/0x610 [ 14.135289] ? __virt_addr_valid+0x1db/0x2d0 [ 14.135323] ? kasan_stack_oob+0x2b5/0x300 [ 14.135343] ? kasan_addr_to_slab+0x11/0xa0 [ 14.135363] ? kasan_stack_oob+0x2b5/0x300 [ 14.135393] kasan_report+0x141/0x180 [ 14.135416] ? kasan_stack_oob+0x2b5/0x300 [ 14.135441] __asan_report_load1_noabort+0x18/0x20 [ 14.135466] kasan_stack_oob+0x2b5/0x300 [ 14.135485] ? __pfx_kasan_stack_oob+0x10/0x10 [ 14.135504] ? finish_task_switch.isra.0+0x153/0x700 [ 14.135528] ? __switch_to+0x47/0xf50 [ 14.135555] ? __schedule+0x10cc/0x2b60 [ 14.135579] ? __pfx_read_tsc+0x10/0x10 [ 14.135610] ? ktime_get_ts64+0x86/0x230 [ 14.135634] kunit_try_run_case+0x1a5/0x480 [ 14.135661] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.135683] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.135717] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.135740] ? __kthread_parkme+0x82/0x180 [ 14.135760] ? preempt_count_sub+0x50/0x80 [ 14.135794] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.135817] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.135841] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.135864] kthread+0x337/0x6f0 [ 14.135883] ? trace_preempt_on+0x20/0xc0 [ 14.135915] ? __pfx_kthread+0x10/0x10 [ 14.135936] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.135957] ? calculate_sigpending+0x7b/0xa0 [ 14.135991] ? __pfx_kthread+0x10/0x10 [ 14.136013] ret_from_fork+0x116/0x1d0 [ 14.136031] ? __pfx_kthread+0x10/0x10 [ 14.136059] ret_from_fork_asm+0x1a/0x30 [ 14.136092] </TASK> [ 14.136102] [ 14.148879] The buggy address belongs to stack of task kunit_try_catch/266 [ 14.149341] and is located at offset 138 in frame: [ 14.149509] kasan_stack_oob+0x0/0x300 [ 14.149936] [ 14.150200] This frame has 4 objects: [ 14.150637] [48, 49) '__assertion' [ 14.150671] [64, 72) 'array' [ 14.151075] [96, 112) '__assertion' [ 14.151522] [128, 138) 'stack_array' [ 14.151987] [ 14.152508] The buggy address belongs to the physical page: [ 14.152949] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103aff [ 14.153210] flags: 0x200000000000000(node=0|zone=2) [ 14.153387] raw: 0200000000000000 ffffea00040ebfc8 ffffea00040ebfc8 0000000000000000 [ 14.153652] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.153953] page dumped because: kasan: bad access detected [ 14.154194] [ 14.154288] Memory state around the buggy address: [ 14.154562] ffff888103affc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.154976] ffff888103affc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 14.155310] >ffff888103affd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.155574] ^ [ 14.155788] ffff888103affd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 14.156238] ffff888103affe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.156538] ==================================================================