Date
May 30, 2025, 4:14 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 | |
x15 |
[ 39.272633] ================================================================== [ 39.287049] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 39.293898] Read of size 1 at addr ffff8000894d7c2a by task kunit_try_catch/293 [ 39.301189] [ 39.302673] CPU: 5 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT [ 39.302732] Tainted: [B]=BAD_PAGE, [N]=TEST [ 39.302752] Hardware name: WinLink E850-96 board (DT) [ 39.302776] Call trace: [ 39.302792] show_stack+0x20/0x38 (C) [ 39.302829] dump_stack_lvl+0x8c/0xd0 [ 39.302867] print_report+0x310/0x608 [ 39.302907] kasan_report+0xdc/0x128 [ 39.302940] __asan_report_load1_noabort+0x20/0x30 [ 39.302974] kasan_stack_oob+0x238/0x270 [ 39.303004] kunit_try_run_case+0x170/0x3f0 [ 39.303042] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.303084] kthread+0x328/0x630 [ 39.303113] ret_from_fork+0x10/0x20 [ 39.303152] [ 39.366120] The buggy address belongs to stack of task kunit_try_catch/293 [ 39.372978] and is located at offset 138 in frame: [ 39.377836] kasan_stack_oob+0x0/0x270 [ 39.381575] [ 39.383044] This frame has 4 objects: [ 39.386695] [48, 49) '__assertion' [ 39.386720] [64, 72) 'array' [ 39.390165] [96, 112) '__assertion' [ 39.393115] [128, 138) 'stack_array' [ 39.396674] [ 39.401799] The buggy address belongs to the virtual mapping at [ 39.401799] [ffff8000894d0000, ffff8000894d9000) created by: [ 39.401799] kernel_clone+0x150/0x7a8 [ 39.417071] [ 39.418551] The buggy address belongs to the physical page: [ 39.424107] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x886959 [ 39.432091] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 39.438612] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 39.446331] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 39.454052] page dumped because: kasan: bad access detected [ 39.459607] [ 39.461081] Memory state around the buggy address: [ 39.465862] ffff8000894d7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.473064] ffff8000894d7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 39.480270] >ffff8000894d7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 39.487470] ^ [ 39.491987] ffff8000894d7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 39.499192] ffff8000894d7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 39.506394] ==================================================================
[ 28.328618] ================================================================== [ 28.328824] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 28.328983] Read of size 1 at addr ffff800080a57c2a by task kunit_try_catch/250 [ 28.329102] [ 28.329190] CPU: 1 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT [ 28.329408] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.329473] Hardware name: linux,dummy-virt (DT) [ 28.329547] Call trace: [ 28.329600] show_stack+0x20/0x38 (C) [ 28.330752] dump_stack_lvl+0x8c/0xd0 [ 28.330999] print_report+0x310/0x608 [ 28.331081] kasan_report+0xdc/0x128 [ 28.331245] __asan_report_load1_noabort+0x20/0x30 [ 28.331400] kasan_stack_oob+0x238/0x270 [ 28.331522] kunit_try_run_case+0x170/0x3f0 [ 28.331656] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.332509] kthread+0x328/0x630 [ 28.332696] ret_from_fork+0x10/0x20 [ 28.333753] [ 28.334408] The buggy address belongs to stack of task kunit_try_catch/250 [ 28.334827] and is located at offset 138 in frame: [ 28.335245] kasan_stack_oob+0x0/0x270 [ 28.336145] [ 28.336252] This frame has 4 objects: [ 28.336456] [48, 49) '__assertion' [ 28.337413] [64, 72) 'array' [ 28.337722] [96, 112) '__assertion' [ 28.338220] [128, 138) 'stack_array' [ 28.338466] [ 28.338862] The buggy address belongs to the virtual mapping at [ 28.338862] [ffff800080a50000, ffff800080a59000) created by: [ 28.338862] kernel_clone+0x150/0x7a8 [ 28.339213] [ 28.339284] The buggy address belongs to the physical page: [ 28.339368] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107760 [ 28.339575] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 28.339786] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 28.339951] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.340143] page dumped because: kasan: bad access detected [ 28.340299] [ 28.340353] Memory state around the buggy address: [ 28.340429] ffff800080a57b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.340583] ffff800080a57b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 28.340707] >ffff800080a57c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 28.340971] ^ [ 28.341200] ffff800080a57c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 28.341511] ffff800080a57d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 28.342127] ==================================================================
[ 21.076854] ================================================================== [ 21.078514] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 21.079659] Read of size 1 at addr ffff888103bdfd02 by task kunit_try_catch/266 [ 21.080178] [ 21.081235] CPU: 1 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250530 #1 PREEMPT(voluntary) [ 21.081346] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.081368] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 21.081401] Call Trace: [ 21.081420] <TASK> [ 21.081441] dump_stack_lvl+0x73/0xb0 [ 21.081481] print_report+0xd1/0x650 [ 21.081515] ? __virt_addr_valid+0x1db/0x2d0 [ 21.081550] ? kasan_stack_oob+0x2b5/0x300 [ 21.081578] ? kasan_addr_to_slab+0x11/0xa0 [ 21.081608] ? kasan_stack_oob+0x2b5/0x300 [ 21.081637] kasan_report+0x141/0x180 [ 21.081676] ? kasan_stack_oob+0x2b5/0x300 [ 21.081746] __asan_report_load1_noabort+0x18/0x20 [ 21.081780] kasan_stack_oob+0x2b5/0x300 [ 21.081810] ? __pfx_kasan_stack_oob+0x10/0x10 [ 21.081839] ? finish_task_switch.isra.0+0x153/0x700 [ 21.081872] ? __switch_to+0x47/0xf50 [ 21.081908] ? __schedule+0x10cc/0x2b60 [ 21.081941] ? __pfx_read_tsc+0x10/0x10 [ 21.082000] ? ktime_get_ts64+0x86/0x230 [ 21.082036] kunit_try_run_case+0x1a5/0x480 [ 21.082069] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.082097] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 21.082133] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 21.082178] ? __kthread_parkme+0x82/0x180 [ 21.082288] ? preempt_count_sub+0x50/0x80 [ 21.082343] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.082376] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.082414] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 21.082451] kthread+0x337/0x6f0 [ 21.082478] ? trace_preempt_on+0x20/0xc0 [ 21.082511] ? __pfx_kthread+0x10/0x10 [ 21.082540] ? _raw_spin_unlock_irq+0x47/0x80 [ 21.082573] ? calculate_sigpending+0x7b/0xa0 [ 21.082609] ? __pfx_kthread+0x10/0x10 [ 21.082639] ret_from_fork+0x116/0x1d0 [ 21.082664] ? __pfx_kthread+0x10/0x10 [ 21.082721] ret_from_fork_asm+0x1a/0x30 [ 21.082767] </TASK> [ 21.082782] [ 21.106391] The buggy address belongs to stack of task kunit_try_catch/266 [ 21.107318] and is located at offset 138 in frame: [ 21.107740] kasan_stack_oob+0x0/0x300 [ 21.108792] [ 21.109046] This frame has 4 objects: [ 21.110310] [48, 49) '__assertion' [ 21.110352] [64, 72) 'array' [ 21.110650] [96, 112) '__assertion' [ 21.111073] [128, 138) 'stack_array' [ 21.112005] [ 21.113072] The buggy address belongs to the physical page: [ 21.113721] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103bdf [ 21.114353] flags: 0x200000000000000(node=0|zone=2) [ 21.114779] raw: 0200000000000000 ffffea00040ef7c8 ffffea00040ef7c8 0000000000000000 [ 21.115377] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 21.116645] page dumped because: kasan: bad access detected [ 21.117063] [ 21.117558] Memory state around the buggy address: [ 21.118554] ffff888103bdfc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 21.119401] ffff888103bdfc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 21.119971] >ffff888103bdfd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 21.120579] ^ [ 21.121086] ffff888103bdfd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 21.122037] ffff888103bdfe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.122901] ==================================================================
[ 66.195953] ================================================================== [ 66.211090] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2a8/0x2dc [ 66.218017] Read of size 1 at addr f2473d6a by task kunit_try_catch/301 [ 66.224670] [ 66.226196] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B W N 6.15.0-next-20250530 #1 NONE [ 66.226226] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 66.226226] Hardware name: Generic DRA74X (Flattened Device Tree) [ 66.226226] Call trace: [ 66.226257] unwind_backtrace from show_stack+0x18/0x1c [ 66.226257] show_stack from dump_stack_lvl+0x70/0x90 [ 66.226287] dump_stack_lvl from print_report+0x158/0x528 [ 66.226318] print_report from kasan_report+0xdc/0x118 [ 66.226348] kasan_report from kasan_stack_oob+0x2a8/0x2dc [ 66.226379] kasan_stack_oob from kunit_try_run_case+0x22c/0x5a8 [ 66.226379] kunit_try_run_case from kunit_generic_run_threadfn_adapter+0xc4/0x128 [ 66.226409] kunit_generic_run_threadfn_adapter from kthread+0x464/0x810 [ 66.226440] kthread from ret_from_fork+0x14/0x20 [ 66.226470] Exception stack(0xf2473fb0 to 0xf2473ff8) [ 66.226470] 3fa0: 00000000 00000000 00000000 00000000 [ 66.226501] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 66.226501] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 66.226531] [ 66.331939] The buggy address belongs to stack of task kunit_try_catch/301 [ 66.338836] and is located at offset 106 in frame: [ 66.343749] kasan_stack_oob+0x0/0x2dc [ 66.347534] [ 66.349029] This frame has 4 objects: [ 66.352722] [32, 33) '__assertion' [ 66.352752] [48, 52) 'array' [ 66.356262] [64, 72) '__assertion' [ 66.359252] [96, 106) 'stack_array' [ 66.362762] [ 66.367858] The buggy address belongs to the virtual mapping at [ 66.367858] [f2470000, f2475000) created by: [ 66.367858] kernel_clone+0x174/0x794 [ 66.381866] [ 66.383361] The buggy address belongs to the physical page: [ 66.388977] page: refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0xb081f [ 66.396240] flags: 0x80000000(zone=2) [ 66.399932] raw: 80000000 00000000 00000122 00000000 00000000 00000000 ffffffff 00000001 [ 66.408081] raw: 00000000 [ 66.410736] page dumped because: kasan: bad access detected [ 66.416320] [ 66.417846] Memory state around the buggy address: [ 66.422668] f2473c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 66.429229] f2473c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 66.435791] >f2473d00: f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 02 f3 f3 [ 66.442382] ^ [ 66.448333] f2473d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 66.454895] f2473e00: 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 00 00 f2 f2 [ 66.461486] ==================================================================