Date
July 8, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.414301] ================================================================== [ 21.414414] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 21.414477] Read of size 1 at addr ffff800080a37c2a by task kunit_try_catch/249 [ 21.414778] [ 21.415052] CPU: 0 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.415186] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.415236] Hardware name: linux,dummy-virt (DT) [ 21.415271] Call trace: [ 21.415312] show_stack+0x20/0x38 (C) [ 21.415436] dump_stack_lvl+0x8c/0xd0 [ 21.415520] print_report+0x310/0x608 [ 21.415657] kasan_report+0xdc/0x128 [ 21.415774] __asan_report_load1_noabort+0x20/0x30 [ 21.415827] kasan_stack_oob+0x238/0x270 [ 21.415871] kunit_try_run_case+0x170/0x3f0 [ 21.416227] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.416300] kthread+0x328/0x630 [ 21.416379] ret_from_fork+0x10/0x20 [ 21.416453] [ 21.416565] The buggy address belongs to stack of task kunit_try_catch/249 [ 21.416908] and is located at offset 138 in frame: [ 21.416958] kasan_stack_oob+0x0/0x270 [ 21.417654] [ 21.417696] This frame has 4 objects: [ 21.418178] [48, 49) '__assertion' [ 21.418512] [64, 72) 'array' [ 21.418594] [96, 112) '__assertion' [ 21.418655] [128, 138) 'stack_array' [ 21.419153] [ 21.419309] The buggy address belongs to the virtual mapping at [ 21.419309] [ffff800080a30000, ffff800080a39000) created by: [ 21.419309] kernel_clone+0x150/0x7a8 [ 21.419573] [ 21.419623] The buggy address belongs to the physical page: [ 21.419663] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106357 [ 21.419716] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.420061] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.420255] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.420365] page dumped because: kasan: bad access detected [ 21.420545] [ 21.420586] Memory state around the buggy address: [ 21.420623] ffff800080a37b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.420675] ffff800080a37b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 21.420948] >ffff800080a37c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 21.421077] ^ [ 21.421210] ffff800080a37c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 21.421278] ffff800080a37d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.421319] ==================================================================
[ 14.343261] ================================================================== [ 14.343911] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 14.344432] Read of size 1 at addr ffff888103abfd02 by task kunit_try_catch/267 [ 14.344934] [ 14.345049] CPU: 1 UID: 0 PID: 267 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.345102] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.345115] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.345138] Call Trace: [ 14.345152] <TASK> [ 14.345171] dump_stack_lvl+0x73/0xb0 [ 14.345208] print_report+0xd1/0x650 [ 14.345233] ? __virt_addr_valid+0x1db/0x2d0 [ 14.345260] ? kasan_stack_oob+0x2b5/0x300 [ 14.345280] ? kasan_addr_to_slab+0x11/0xa0 [ 14.345301] ? kasan_stack_oob+0x2b5/0x300 [ 14.345321] kasan_report+0x141/0x180 [ 14.345344] ? kasan_stack_oob+0x2b5/0x300 [ 14.345368] __asan_report_load1_noabort+0x18/0x20 [ 14.345394] kasan_stack_oob+0x2b5/0x300 [ 14.345415] ? __pfx_kasan_stack_oob+0x10/0x10 [ 14.345435] ? finish_task_switch.isra.0+0x153/0x700 [ 14.345460] ? __switch_to+0x47/0xf50 [ 14.345488] ? __schedule+0x10cc/0x2b60 [ 14.345626] ? __pfx_read_tsc+0x10/0x10 [ 14.345650] ? ktime_get_ts64+0x86/0x230 [ 14.345677] kunit_try_run_case+0x1a5/0x480 [ 14.345709] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.345733] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.345759] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.345784] ? __kthread_parkme+0x82/0x180 [ 14.345807] ? preempt_count_sub+0x50/0x80 [ 14.345831] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.345855] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.345880] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.345906] kthread+0x337/0x6f0 [ 14.345971] ? trace_preempt_on+0x20/0xc0 [ 14.345998] ? __pfx_kthread+0x10/0x10 [ 14.346019] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.346041] ? calculate_sigpending+0x7b/0xa0 [ 14.346067] ? __pfx_kthread+0x10/0x10 [ 14.346088] ret_from_fork+0x116/0x1d0 [ 14.346107] ? __pfx_kthread+0x10/0x10 [ 14.346127] ret_from_fork_asm+0x1a/0x30 [ 14.346159] </TASK> [ 14.346171] [ 14.353873] The buggy address belongs to stack of task kunit_try_catch/267 [ 14.354465] and is located at offset 138 in frame: [ 14.354714] kasan_stack_oob+0x0/0x300 [ 14.355006] [ 14.355132] This frame has 4 objects: [ 14.355391] [48, 49) '__assertion' [ 14.355414] [64, 72) 'array' [ 14.355663] [96, 112) '__assertion' [ 14.355819] [128, 138) 'stack_array' [ 14.355962] [ 14.356186] The buggy address belongs to the physical page: [ 14.356454] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103abf [ 14.356821] flags: 0x200000000000000(node=0|zone=2) [ 14.357049] raw: 0200000000000000 ffffea00040eafc8 ffffea00040eafc8 0000000000000000 [ 14.357365] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.357692] page dumped because: kasan: bad access detected [ 14.357965] [ 14.358036] Memory state around the buggy address: [ 14.358191] ffff888103abfc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.358404] ffff888103abfc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 14.358763] >ffff888103abfd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.359076] ^ [ 14.359238] ffff888103abfd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 14.359507] ffff888103abfe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.359729] ==================================================================