Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   18.743841] ==================================================================
[   18.744014] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270
[   18.744076] Read of size 1 at addr ffff8000809f7c2a by task kunit_try_catch/249
[   18.744127] 
[   18.744156] CPU: 1 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.744241] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.744695] Hardware name: linux,dummy-virt (DT)
[   18.744727] Call trace:
[   18.744750]  show_stack+0x20/0x38 (C)
[   18.744804]  dump_stack_lvl+0x8c/0xd0
[   18.744893]  print_report+0x310/0x5d0
[   18.744952]  kasan_report+0xdc/0x128
[   18.745006]  __asan_report_load1_noabort+0x20/0x30
[   18.745223]  kasan_stack_oob+0x238/0x270
[   18.745517]  kunit_try_run_case+0x170/0x3f0
[   18.745666]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.745723]  kthread+0x328/0x630
[   18.745913]  ret_from_fork+0x10/0x20
[   18.745972] 
[   18.746199] The buggy address belongs to stack of task kunit_try_catch/249
[   18.746313]  and is located at offset 138 in frame:
[   18.746351]  kasan_stack_oob+0x0/0x270
[   18.748634] 
[   18.748683] This frame has 4 objects:
[   18.750250]  [48, 49) '__assertion'
[   18.750310]  [64, 72) 'array'
[   18.750347]  [96, 112) '__assertion'
[   18.750391]  [128, 138) 'stack_array'
[   18.750437] 
[   18.750650] The buggy address ffff8000809f7c2a belongs to a vmalloc virtual mapping
[   18.750756] The buggy address belongs to the physical page:
[   18.750843] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107836
[   18.750960] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.751064] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.751519] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.751577] page dumped because: kasan: bad access detected
[   18.751612] 
[   18.751634] Memory state around the buggy address:
[   18.751800]  ffff8000809f7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.751866]  ffff8000809f7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2
[   18.751927] >ffff8000809f7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00
[   18.752031]                                   ^
[   18.752133]  ffff8000809f7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2
[   18.752207]  ffff8000809f7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.752256] ==================================================================

[   18.919535] ==================================================================
[   18.920105] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270
[   18.921541] Read of size 1 at addr ffff800080a67c2a by task kunit_try_catch/249
[   18.921605] 
[   18.921658] CPU: 1 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.921788] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.922222] Hardware name: linux,dummy-virt (DT)
[   18.922627] Call trace:
[   18.923044]  show_stack+0x20/0x38 (C)
[   18.923450]  dump_stack_lvl+0x8c/0xd0
[   18.923718]  print_report+0x310/0x5d0
[   18.923787]  kasan_report+0xdc/0x128
[   18.924261]  __asan_report_load1_noabort+0x20/0x30
[   18.924538]  kasan_stack_oob+0x238/0x270
[   18.924591]  kunit_try_run_case+0x170/0x3f0
[   18.925716]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.926132]  kthread+0x328/0x630
[   18.926198]  ret_from_fork+0x10/0x20
[   18.926253] 
[   18.926646] The buggy address belongs to stack of task kunit_try_catch/249
[   18.927181]  and is located at offset 138 in frame:
[   18.927459]  kasan_stack_oob+0x0/0x270
[   18.928280] 
[   18.928646] This frame has 4 objects:
[   18.928759]  [48, 49) '__assertion'
[   18.928802]  [64, 72) 'array'
[   18.928837]  [96, 112) '__assertion'
[   18.929323]  [128, 138) 'stack_array'
[   18.929388] 
[   18.929418] The buggy address ffff800080a67c2a belongs to a vmalloc virtual mapping
[   18.929478] The buggy address belongs to the physical page:
[   18.929728] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1069f2
[   18.929796] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.929867] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.929933] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.929978] page dumped because: kasan: bad access detected
[   18.930014] 
[   18.931054] Memory state around the buggy address:
[   18.931376]  ffff800080a67b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.931427]  ffff800080a67b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2
[   18.931474] >ffff800080a67c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00
[   18.932112]                                   ^
[   18.932163]  ffff800080a67c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2
[   18.932318]  ffff800080a67d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.932719] ==================================================================

[   14.510479] ==================================================================
[   14.511286] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300
[   14.511632] Read of size 1 at addr ffff8881039b7d02 by task kunit_try_catch/267
[   14.511909] 
[   14.512027] CPU: 0 UID: 0 PID: 267 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.512072] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.512084] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.512106] Call Trace:
[   14.512118]  <TASK>
[   14.512135]  dump_stack_lvl+0x73/0xb0
[   14.512163]  print_report+0xd1/0x610
[   14.512185]  ? __virt_addr_valid+0x1db/0x2d0
[   14.512207]  ? kasan_stack_oob+0x2b5/0x300
[   14.512227]  ? kasan_addr_to_slab+0x11/0xa0
[   14.512247]  ? kasan_stack_oob+0x2b5/0x300
[   14.512268]  kasan_report+0x141/0x180
[   14.512290]  ? kasan_stack_oob+0x2b5/0x300
[   14.512316]  __asan_report_load1_noabort+0x18/0x20
[   14.512339]  kasan_stack_oob+0x2b5/0x300
[   14.512360]  ? __pfx_kasan_stack_oob+0x10/0x10
[   14.512379]  ? finish_task_switch.isra.0+0x153/0x700
[   14.512414]  ? __switch_to+0x47/0xf50
[   14.512442]  ? __schedule+0x10c6/0x2b60
[   14.512465]  ? __pfx_read_tsc+0x10/0x10
[   14.512486]  ? ktime_get_ts64+0x86/0x230
[   14.512510]  kunit_try_run_case+0x1a5/0x480
[   14.512535]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.512560]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.512586]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.512611]  ? __kthread_parkme+0x82/0x180
[   14.512633]  ? preempt_count_sub+0x50/0x80
[   14.512657]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.512687]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.512712]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.512737]  kthread+0x337/0x6f0
[   14.512757]  ? trace_preempt_on+0x20/0xc0
[   14.512781]  ? __pfx_kthread+0x10/0x10
[   14.512802]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.512824]  ? calculate_sigpending+0x7b/0xa0
[   14.512849]  ? __pfx_kthread+0x10/0x10
[   14.512871]  ret_from_fork+0x116/0x1d0
[   14.512890]  ? __pfx_kthread+0x10/0x10
[   14.512911]  ret_from_fork_asm+0x1a/0x30
[   14.512944]  </TASK>
[   14.512955] 
[   14.521059] The buggy address belongs to stack of task kunit_try_catch/267
[   14.521663]  and is located at offset 138 in frame:
[   14.521894]  kasan_stack_oob+0x0/0x300
[   14.522311] 
[   14.522443] This frame has 4 objects:
[   14.522683]  [48, 49) '__assertion'
[   14.522710]  [64, 72) 'array'
[   14.522885]  [96, 112) '__assertion'
[   14.523051]  [128, 138) 'stack_array'
[   14.523365] 
[   14.523566] The buggy address belongs to the physical page:
[   14.523737] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039b7
[   14.524070] flags: 0x200000000000000(node=0|zone=2)
[   14.524307] raw: 0200000000000000 ffffea00040e6dc8 ffffea00040e6dc8 0000000000000000
[   14.524752] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.525153] page dumped because: kasan: bad access detected
[   14.525331] 
[   14.525414] Memory state around the buggy address:
[   14.525659]  ffff8881039b7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.526014]  ffff8881039b7c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00
[   14.526388] >ffff8881039b7d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.526749]                    ^
[   14.526879]  ffff8881039b7d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00
[   14.527279]  ffff8881039b7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.527610] ==================================================================

[   14.590850] ==================================================================
[   14.591715] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300
[   14.592100] Read of size 1 at addr ffff8881039ffd02 by task kunit_try_catch/267
[   14.592472] 
[   14.592568] CPU: 1 UID: 0 PID: 267 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.592616] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.592628] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.592651] Call Trace:
[   14.592664]  <TASK>
[   14.592681]  dump_stack_lvl+0x73/0xb0
[   14.592710]  print_report+0xd1/0x610
[   14.592733]  ? __virt_addr_valid+0x1db/0x2d0
[   14.592755]  ? kasan_stack_oob+0x2b5/0x300
[   14.592774]  ? kasan_addr_to_slab+0x11/0xa0
[   14.592794]  ? kasan_stack_oob+0x2b5/0x300
[   14.592814]  kasan_report+0x141/0x180
[   14.592835]  ? kasan_stack_oob+0x2b5/0x300
[   14.592872]  __asan_report_load1_noabort+0x18/0x20
[   14.592896]  kasan_stack_oob+0x2b5/0x300
[   14.592915]  ? __pfx_kasan_stack_oob+0x10/0x10
[   14.592935]  ? finish_task_switch.isra.0+0x153/0x700
[   14.592959]  ? __switch_to+0x47/0xf50
[   14.592986]  ? __schedule+0x10c6/0x2b60
[   14.593009]  ? __pfx_read_tsc+0x10/0x10
[   14.593030]  ? ktime_get_ts64+0x86/0x230
[   14.593056]  kunit_try_run_case+0x1a5/0x480
[   14.593082]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.593104]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.593128]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.593161]  ? __kthread_parkme+0x82/0x180
[   14.593182]  ? preempt_count_sub+0x50/0x80
[   14.593204]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.593228]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.593252]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.593275]  kthread+0x337/0x6f0
[   14.593294]  ? trace_preempt_on+0x20/0xc0
[   14.593317]  ? __pfx_kthread+0x10/0x10
[   14.593338]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.593359]  ? calculate_sigpending+0x7b/0xa0
[   14.593384]  ? __pfx_kthread+0x10/0x10
[   14.593404]  ret_from_fork+0x116/0x1d0
[   14.593422]  ? __pfx_kthread+0x10/0x10
[   14.593443]  ret_from_fork_asm+0x1a/0x30
[   14.593473]  </TASK>
[   14.593483] 
[   14.605782] The buggy address belongs to stack of task kunit_try_catch/267
[   14.606654]  and is located at offset 138 in frame:
[   14.607136]  kasan_stack_oob+0x0/0x300
[   14.607777] 
[   14.608027] This frame has 4 objects:
[   14.608567]  [48, 49) '__assertion'
[   14.608592]  [64, 72) 'array'
[   14.608953]  [96, 112) '__assertion'
[   14.609321]  [128, 138) 'stack_array'
[   14.609510] 
[   14.609707] The buggy address belongs to the physical page:
[   14.609978] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039ff
[   14.610676] flags: 0x200000000000000(node=0|zone=2)
[   14.611250] raw: 0200000000000000 ffffea00040e7fc8 ffffea00040e7fc8 0000000000000000
[   14.612029] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.612769] page dumped because: kasan: bad access detected
[   14.613275] 
[   14.613410] Memory state around the buggy address:
[   14.613831]  ffff8881039ffc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.614197]  ffff8881039ffc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00
[   14.614584] >ffff8881039ffd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.615243]                    ^
[   14.615608]  ffff8881039ffd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00
[   14.616276]  ffff8881039ffe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.616671] ==================================================================