Date
July 19, 2025, 11:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.448616] ================================================================== [ 17.448787] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 17.448841] Read of size 1 at addr ffff800080b57c2a by task kunit_try_catch/249 [ 17.448916] [ 17.448975] CPU: 0 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.449077] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.449249] Hardware name: linux,dummy-virt (DT) [ 17.449281] Call trace: [ 17.449303] show_stack+0x20/0x38 (C) [ 17.449352] dump_stack_lvl+0x8c/0xd0 [ 17.449398] print_report+0x310/0x5d0 [ 17.449560] kasan_report+0xdc/0x128 [ 17.449636] __asan_report_load1_noabort+0x20/0x30 [ 17.449706] kasan_stack_oob+0x238/0x270 [ 17.449772] kunit_try_run_case+0x170/0x3f0 [ 17.449827] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.449898] kthread+0x328/0x630 [ 17.449941] ret_from_fork+0x10/0x20 [ 17.449987] [ 17.450060] The buggy address belongs to stack of task kunit_try_catch/249 [ 17.450167] and is located at offset 138 in frame: [ 17.450201] kasan_stack_oob+0x0/0x270 [ 17.450449] [ 17.450610] This frame has 4 objects: [ 17.450792] [48, 49) '__assertion' [ 17.450839] [64, 72) 'array' [ 17.450898] [96, 112) '__assertion' [ 17.450986] [128, 138) 'stack_array' [ 17.451126] [ 17.451215] The buggy address ffff800080b57c2a belongs to a vmalloc virtual mapping [ 17.451300] The buggy address belongs to the physical page: [ 17.451337] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c7 [ 17.451395] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.451599] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.451656] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.451831] page dumped because: kasan: bad access detected [ 17.451928] [ 17.451953] Memory state around the buggy address: [ 17.451993] ffff800080b57b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.452072] ffff800080b57b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 17.452119] >ffff800080b57c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 17.452160] ^ [ 17.452195] ffff800080b57c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 17.452240] ffff800080b57d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.452426] ==================================================================
[ 13.790308] ================================================================== [ 13.790802] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 13.791202] Read of size 1 at addr ffff888103a37d02 by task kunit_try_catch/266 [ 13.792737] [ 13.793124] CPU: 0 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 13.793468] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.793481] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.793505] Call Trace: [ 13.793517] <TASK> [ 13.793533] dump_stack_lvl+0x73/0xb0 [ 13.793565] print_report+0xd1/0x610 [ 13.793588] ? __virt_addr_valid+0x1db/0x2d0 [ 13.793610] ? kasan_stack_oob+0x2b5/0x300 [ 13.793628] ? kasan_addr_to_slab+0x11/0xa0 [ 13.793647] ? kasan_stack_oob+0x2b5/0x300 [ 13.793667] kasan_report+0x141/0x180 [ 13.793687] ? kasan_stack_oob+0x2b5/0x300 [ 13.793710] __asan_report_load1_noabort+0x18/0x20 [ 13.793733] kasan_stack_oob+0x2b5/0x300 [ 13.793752] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.793770] ? finish_task_switch.isra.0+0x153/0x700 [ 13.793792] ? __switch_to+0x47/0xf50 [ 13.793818] ? __schedule+0x10cc/0x2b60 [ 13.793840] ? __pfx_read_tsc+0x10/0x10 [ 13.793862] ? ktime_get_ts64+0x86/0x230 [ 13.793887] kunit_try_run_case+0x1a5/0x480 [ 13.793913] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.793934] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.793958] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.793980] ? __kthread_parkme+0x82/0x180 [ 13.794000] ? preempt_count_sub+0x50/0x80 [ 13.794066] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.794089] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.794112] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.794135] kthread+0x337/0x6f0 [ 13.794153] ? trace_preempt_on+0x20/0xc0 [ 13.794176] ? __pfx_kthread+0x10/0x10 [ 13.794195] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.794215] ? calculate_sigpending+0x7b/0xa0 [ 13.794239] ? __pfx_kthread+0x10/0x10 [ 13.794259] ret_from_fork+0x116/0x1d0 [ 13.794277] ? __pfx_kthread+0x10/0x10 [ 13.794297] ret_from_fork_asm+0x1a/0x30 [ 13.794327] </TASK> [ 13.794338] [ 13.807667] The buggy address belongs to stack of task kunit_try_catch/266 [ 13.808236] and is located at offset 138 in frame: [ 13.808596] kasan_stack_oob+0x0/0x300 [ 13.809073] [ 13.809189] This frame has 4 objects: [ 13.809765] [48, 49) '__assertion' [ 13.809797] [64, 72) 'array' [ 13.809971] [96, 112) '__assertion' [ 13.810142] [128, 138) 'stack_array' [ 13.810630] [ 13.810859] The buggy address belongs to the physical page: [ 13.811140] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a37 [ 13.811874] flags: 0x200000000000000(node=0|zone=2) [ 13.812129] raw: 0200000000000000 ffffea00040e8dc8 ffffea00040e8dc8 0000000000000000 [ 13.812595] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.813057] page dumped because: kasan: bad access detected [ 13.813637] [ 13.813750] Memory state around the buggy address: [ 13.813998] ffff888103a37c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.814624] ffff888103a37c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 13.815050] >ffff888103a37d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.815562] ^ [ 13.815700] ffff888103a37d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 13.816219] ffff888103a37e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.816792] ==================================================================