Date
June 26, 2025, 9:10 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-arm64 | |
qemu-x86_64 |
[ 50.968079] ================================================================== [ 50.983311] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 50.990285] Read of size 1 at addr ffff8000841b7c2a by task kunit_try_catch/335 [ 50.997695] [ 50.999229] CPU: 0 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 50.999261] Tainted: [B]=BAD_PAGE, [N]=TEST [ 50.999271] Hardware name: Thundercomm Dragonboard 845c (DT) [ 50.999283] Call trace: [ 50.999290] show_stack+0x20/0x38 (C) [ 50.999311] dump_stack_lvl+0x8c/0xd0 [ 50.999332] print_report+0x310/0x608 [ 50.999352] kasan_report+0xdc/0x128 [ 50.999372] __asan_report_load1_noabort+0x20/0x30 [ 50.999391] kasan_stack_oob+0x238/0x270 [ 50.999409] kunit_try_run_case+0x170/0x3f0 [ 50.999430] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 50.999453] kthread+0x328/0x630 [ 50.999468] ret_from_fork+0x10/0x20 [ 50.999489] [ 51.064944] The buggy address belongs to stack of task kunit_try_catch/335 [ 51.071911] and is located at offset 138 in frame: [ 51.076857] kasan_stack_oob+0x0/0x270 [ 51.080686] [ 51.082217] This frame has 4 objects: [ 51.085949] [48, 49) '__assertion' [ 51.085964] [64, 72) 'array' [ 51.089511] [96, 112) '__assertion' [ 51.092540] [128, 138) 'stack_array' [ 51.096174] [ 51.101409] The buggy address belongs to the virtual mapping at [ 51.101409] [ffff8000841b0000, ffff8000841b9000) created by: [ 51.101409] kernel_clone+0x150/0x7a8 [ 51.116891] [ 51.118426] The buggy address belongs to the physical page: [ 51.124072] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116e86 [ 51.132187] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.138814] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 51.146662] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 51.154505] page dumped because: kasan: bad access detected [ 51.160150] [ 51.161680] Memory state around the buggy address: [ 51.166544] ffff8000841b7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.173868] ffff8000841b7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 51.181193] >ffff8000841b7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 51.188506] ^ [ 51.193112] ffff8000841b7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 51.200426] ffff8000841b7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 51.207743] ==================================================================
[ 29.031773] ================================================================== [ 29.031851] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 29.031909] Read of size 1 at addr ffff800080b17c2a by task kunit_try_catch/261 [ 29.031972] [ 29.032001] CPU: 0 UID: 0 PID: 261 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 29.032103] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.032130] Hardware name: linux,dummy-virt (DT) [ 29.032158] Call trace: [ 29.032445] show_stack+0x20/0x38 (C) [ 29.032592] dump_stack_lvl+0x8c/0xd0 [ 29.032714] print_report+0x310/0x608 [ 29.032849] kasan_report+0xdc/0x128 [ 29.033014] __asan_report_load1_noabort+0x20/0x30 [ 29.033124] kasan_stack_oob+0x238/0x270 [ 29.033209] kunit_try_run_case+0x170/0x3f0 [ 29.033257] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.033465] kthread+0x328/0x630 [ 29.033601] ret_from_fork+0x10/0x20 [ 29.033656] [ 29.033748] The buggy address belongs to stack of task kunit_try_catch/261 [ 29.033892] and is located at offset 138 in frame: [ 29.033960] kasan_stack_oob+0x0/0x270 [ 29.034168] [ 29.034221] This frame has 4 objects: [ 29.034332] [48, 49) '__assertion' [ 29.034371] [64, 72) 'array' [ 29.034423] [96, 112) '__assertion' [ 29.034479] [128, 138) 'stack_array' [ 29.034532] [ 29.034565] The buggy address belongs to the virtual mapping at [ 29.034565] [ffff800080b10000, ffff800080b19000) created by: [ 29.034565] kernel_clone+0x150/0x7a8 [ 29.034646] [ 29.034676] The buggy address belongs to the physical page: [ 29.034720] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105785 [ 29.034774] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 29.034845] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 29.034909] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 29.034961] page dumped because: kasan: bad access detected [ 29.035000] [ 29.035027] Memory state around the buggy address: [ 29.035071] ffff800080b17b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.035115] ffff800080b17b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 29.035160] >ffff800080b17c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 29.035239] ^ [ 29.035276] ffff800080b17c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 29.035650] ffff800080b17d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 29.035833] ==================================================================
[ 23.935635] ================================================================== [ 23.937177] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 23.937450] Read of size 1 at addr ffff888103b4fd02 by task kunit_try_catch/278 [ 23.937671] [ 23.937759] CPU: 1 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT(voluntary) [ 23.937811] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.937824] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.937849] Call Trace: [ 23.937866] <TASK> [ 23.937886] dump_stack_lvl+0x73/0xb0 [ 23.937916] print_report+0xd1/0x650 [ 23.937938] ? __virt_addr_valid+0x1db/0x2d0 [ 23.937962] ? kasan_stack_oob+0x2b5/0x300 [ 23.937985] ? kasan_addr_to_slab+0x11/0xa0 [ 23.938004] ? kasan_stack_oob+0x2b5/0x300 [ 23.938027] kasan_report+0x141/0x180 [ 23.938048] ? kasan_stack_oob+0x2b5/0x300 [ 23.938075] __asan_report_load1_noabort+0x18/0x20 [ 23.938098] kasan_stack_oob+0x2b5/0x300 [ 23.938122] ? __pfx_kasan_stack_oob+0x10/0x10 [ 23.938144] ? finish_task_switch.isra.0+0x153/0x700 [ 23.938178] ? __switch_to+0x47/0xf50 [ 23.938275] ? __schedule+0x10cc/0x2b60 [ 23.938312] ? __pfx_read_tsc+0x10/0x10 [ 23.938334] ? ktime_get_ts64+0x86/0x230 [ 23.938360] kunit_try_run_case+0x1a5/0x480 [ 23.938386] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.938408] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.938432] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.938457] ? __kthread_parkme+0x82/0x180 [ 23.938477] ? preempt_count_sub+0x50/0x80 [ 23.938499] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.938522] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.938545] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.938568] kthread+0x337/0x6f0 [ 23.938587] ? trace_preempt_on+0x20/0xc0 [ 23.938612] ? __pfx_kthread+0x10/0x10 [ 23.938632] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.938655] ? calculate_sigpending+0x7b/0xa0 [ 23.938678] ? __pfx_kthread+0x10/0x10 [ 23.938699] ret_from_fork+0x116/0x1d0 [ 23.938718] ? __pfx_kthread+0x10/0x10 [ 23.938737] ret_from_fork_asm+0x1a/0x30 [ 23.938767] </TASK> [ 23.938780] [ 23.952300] The buggy address belongs to stack of task kunit_try_catch/278 [ 23.952613] and is located at offset 138 in frame: [ 23.952772] kasan_stack_oob+0x0/0x300 [ 23.953049] [ 23.953569] This frame has 4 objects: [ 23.953884] [48, 49) '__assertion' [ 23.953912] [64, 72) 'array' [ 23.954128] [96, 112) '__assertion' [ 23.954512] [128, 138) 'stack_array' [ 23.954674] [ 23.955252] The buggy address belongs to the physical page: [ 23.955740] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b4f [ 23.956390] flags: 0x200000000000000(node=0|zone=2) [ 23.956577] raw: 0200000000000000 ffffea00040ed3c8 ffffea00040ed3c8 0000000000000000 [ 23.956886] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 23.957692] page dumped because: kasan: bad access detected [ 23.958298] [ 23.958454] Memory state around the buggy address: [ 23.958876] ffff888103b4fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 23.959547] ffff888103b4fc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 23.960083] >ffff888103b4fd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 23.960397] ^ [ 23.960512] ffff888103b4fd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 23.960721] ffff888103b4fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.961029] ==================================================================