Hay
Date
July 13, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   18.066783] ==================================================================
[   18.067012] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340
[   18.067161] Read of size 1 at addr ffff800080a77b4a by task kunit_try_catch/254
[   18.067316] 
[   18.067352] CPU: 0 UID: 0 PID: 254 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.067462] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.067588] Hardware name: linux,dummy-virt (DT)
[   18.067627] Call trace:
[   18.067651]  show_stack+0x20/0x38 (C)
[   18.067733]  dump_stack_lvl+0x8c/0xd0
[   18.067783]  print_report+0x310/0x5d0
[   18.067939]  kasan_report+0xdc/0x128
[   18.067994]  __asan_report_load1_noabort+0x20/0x30
[   18.068161]  kasan_alloca_oob_right+0x2dc/0x340
[   18.068298]  kunit_try_run_case+0x170/0x3f0
[   18.068392]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.068448]  kthread+0x328/0x630
[   18.068512]  ret_from_fork+0x10/0x20
[   18.068561] 
[   18.068585] The buggy address belongs to stack of task kunit_try_catch/254
[   18.068786] 
[   18.068868] The buggy address ffff800080a77b4a belongs to a vmalloc virtual mapping
[   18.069021] The buggy address belongs to the physical page:
[   18.069095] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058af
[   18.069283] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.069392] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.069526] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.069635] page dumped because: kasan: bad access detected
[   18.069777] 
[   18.069838] Memory state around the buggy address:
[   18.069891]  ffff800080a77a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.069962]  ffff800080a77a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.070321] >ffff800080a77b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   18.070387]                                               ^
[   18.070486]  ffff800080a77b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   18.070562]  ffff800080a77c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.070657] ==================================================================

[   18.838110] ==================================================================
[   18.838227] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340
[   18.838286] Read of size 1 at addr ffff800080a97b4a by task kunit_try_catch/254
[   18.838392] 
[   18.838426] CPU: 1 UID: 0 PID: 254 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.838548] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.838578] Hardware name: linux,dummy-virt (DT)
[   18.838613] Call trace:
[   18.838638]  show_stack+0x20/0x38 (C)
[   18.838689]  dump_stack_lvl+0x8c/0xd0
[   18.840375]  print_report+0x310/0x5d0
[   18.840509]  kasan_report+0xdc/0x128
[   18.840558]  __asan_report_load1_noabort+0x20/0x30
[   18.841294]  kasan_alloca_oob_right+0x2dc/0x340
[   18.841350]  kunit_try_run_case+0x170/0x3f0
[   18.841400]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.841457]  kthread+0x328/0x630
[   18.841503]  ret_from_fork+0x10/0x20
[   18.841556] 
[   18.841580] The buggy address belongs to stack of task kunit_try_catch/254
[   18.841637] 
[   18.841658] The buggy address ffff800080a97b4a belongs to a vmalloc virtual mapping
[   18.841703] The buggy address belongs to the physical page:
[   18.841737] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105a9f
[   18.841794] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.841857] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.841909] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.841954] page dumped because: kasan: bad access detected
[   18.842049] 
[   18.842095] Memory state around the buggy address:
[   18.842130]  ffff800080a97a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.842208]  ffff800080a97a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.842336] >ffff800080a97b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   18.842428]                                               ^
[   18.842468]  ffff800080a97b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   18.842514]  ffff800080a97c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.842883] ==================================================================

[   14.491251] ==================================================================
[   14.491646] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390
[   14.491886] Read of size 1 at addr ffff888103b1fc4a by task kunit_try_catch/271
[   14.492097] 
[   14.492183] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   14.492229] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.492240] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.492262] Call Trace:
[   14.492274]  <TASK>
[   14.492295]  dump_stack_lvl+0x73/0xb0
[   14.492323]  print_report+0xd1/0x610
[   14.492347]  ? __virt_addr_valid+0x1db/0x2d0
[   14.492369]  ? kasan_alloca_oob_right+0x329/0x390
[   14.492391]  ? kasan_addr_to_slab+0x11/0xa0
[   14.492412]  ? kasan_alloca_oob_right+0x329/0x390
[   14.492435]  kasan_report+0x141/0x180
[   14.492468]  ? kasan_alloca_oob_right+0x329/0x390
[   14.492496]  __asan_report_load1_noabort+0x18/0x20
[   14.492521]  kasan_alloca_oob_right+0x329/0x390
[   14.492543]  ? __pfx_sched_clock_cpu+0x10/0x10
[   14.492565]  ? finish_task_switch.isra.0+0x153/0x700
[   14.492587]  ? __schedule+0x200e/0x2b60
[   14.492608]  ? trace_hardirqs_on+0x37/0xe0
[   14.492632]  ? __pfx_kasan_alloca_oob_right+0x10/0x10
[   14.492657]  ? __schedule+0x10cc/0x2b60
[   14.492678]  ? __pfx_read_tsc+0x10/0x10
[   14.492698]  ? ktime_get_ts64+0x86/0x230
[   14.492723]  kunit_try_run_case+0x1a5/0x480
[   14.492746]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.492769]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.492792]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.492815]  ? __kthread_parkme+0x82/0x180
[   14.492836]  ? preempt_count_sub+0x50/0x80
[   14.492858]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.492883]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.492906]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.492930]  kthread+0x337/0x6f0
[   14.492949]  ? trace_preempt_on+0x20/0xc0
[   14.492970]  ? __pfx_kthread+0x10/0x10
[   14.492990]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.493011]  ? calculate_sigpending+0x7b/0xa0
[   14.493035]  ? __pfx_kthread+0x10/0x10
[   14.493056]  ret_from_fork+0x116/0x1d0
[   14.493074]  ? __pfx_kthread+0x10/0x10
[   14.493094]  ret_from_fork_asm+0x1a/0x30
[   14.493124]  </TASK>
[   14.493134] 
[   14.506279] The buggy address belongs to stack of task kunit_try_catch/271
[   14.506964] 
[   14.507140] The buggy address belongs to the physical page:
[   14.507778] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b1f
[   14.508138] flags: 0x200000000000000(node=0|zone=2)
[   14.508377] raw: 0200000000000000 ffffea00040ec7c8 ffffea00040ec7c8 0000000000000000
[   14.509122] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.509664] page dumped because: kasan: bad access detected
[   14.510110] 
[   14.510331] Memory state around the buggy address:
[   14.510625]  ffff888103b1fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.510930]  ffff888103b1fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.511223] >ffff888103b1fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.511957]                                               ^
[   14.512391]  ffff888103b1fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.512968]  ffff888103b1fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.513277] ==================================================================

[   14.717998] ==================================================================
[   14.718830] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390
[   14.719180] Read of size 1 at addr ffff888103b5fc4a by task kunit_try_catch/271
[   14.719467] 
[   14.719572] CPU: 1 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   14.719615] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.719688] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.719711] Call Trace:
[   14.719722]  <TASK>
[   14.719735]  dump_stack_lvl+0x73/0xb0
[   14.719765]  print_report+0xd1/0x610
[   14.719789]  ? __virt_addr_valid+0x1db/0x2d0
[   14.719814]  ? kasan_alloca_oob_right+0x329/0x390
[   14.719838]  ? kasan_addr_to_slab+0x11/0xa0
[   14.719859]  ? kasan_alloca_oob_right+0x329/0x390
[   14.719883]  kasan_report+0x141/0x180
[   14.719905]  ? kasan_alloca_oob_right+0x329/0x390
[   14.719933]  __asan_report_load1_noabort+0x18/0x20
[   14.719958]  kasan_alloca_oob_right+0x329/0x390
[   14.719984]  ? finish_task_switch.isra.0+0x153/0x700
[   14.720009]  ? __schedule+0x200e/0x2b60
[   14.720031]  ? trace_hardirqs_on+0x37/0xe0
[   14.720067]  ? __pfx_kasan_alloca_oob_right+0x10/0x10
[   14.720095]  ? __schedule+0x10cc/0x2b60
[   14.720136]  ? __pfx_read_tsc+0x10/0x10
[   14.720159]  ? ktime_get_ts64+0x86/0x230
[   14.720184]  kunit_try_run_case+0x1a5/0x480
[   14.720210]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.720234]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.720257]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.720282]  ? __kthread_parkme+0x82/0x180
[   14.720304]  ? preempt_count_sub+0x50/0x80
[   14.720328]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.720353]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.720379]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.720406]  kthread+0x337/0x6f0
[   14.720425]  ? trace_preempt_on+0x20/0xc0
[   14.720448]  ? __pfx_kthread+0x10/0x10
[   14.720468]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.720490]  ? calculate_sigpending+0x7b/0xa0
[   14.720515]  ? __pfx_kthread+0x10/0x10
[   14.720537]  ret_from_fork+0x116/0x1d0
[   14.720556]  ? __pfx_kthread+0x10/0x10
[   14.720577]  ret_from_fork_asm+0x1a/0x30
[   14.720607]  </TASK>
[   14.720617] 
[   14.728558] The buggy address belongs to stack of task kunit_try_catch/271
[   14.728874] 
[   14.728948] The buggy address belongs to the physical page:
[   14.729227] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b5f
[   14.729566] flags: 0x200000000000000(node=0|zone=2)
[   14.729810] raw: 0200000000000000 ffffea00040ed7c8 ffffea00040ed7c8 0000000000000000
[   14.730176] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.730508] page dumped because: kasan: bad access detected
[   14.730956] 
[   14.731066] Memory state around the buggy address:
[   14.731225]  ffff888103b5fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.731543]  ffff888103b5fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.731950] >ffff888103b5fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.732275]                                               ^
[   14.732530]  ffff888103b5fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.732901]  ffff888103b5fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.733241] ==================================================================