Hay
Date
July 18, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   19.250962] ==================================================================
[   19.251276] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   19.251457] Read of size 1 at addr ffff800080b37b5f by task kunit_try_catch/251
[   19.251639] 
[   19.252125] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.252277] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.252464] Hardware name: linux,dummy-virt (DT)
[   19.252584] Call trace:
[   19.252729]  show_stack+0x20/0x38 (C)
[   19.252802]  dump_stack_lvl+0x8c/0xd0
[   19.253040]  print_report+0x310/0x5d0
[   19.253148]  kasan_report+0xdc/0x128
[   19.253343]  __asan_report_load1_noabort+0x20/0x30
[   19.253646]  kasan_alloca_oob_left+0x2b8/0x310
[   19.253810]  kunit_try_run_case+0x170/0x3f0
[   19.253984]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.254111]  kthread+0x328/0x630
[   19.254161]  ret_from_fork+0x10/0x20
[   19.254488] 
[   19.254623] The buggy address belongs to stack of task kunit_try_catch/251
[   19.254987] 
[   19.255210] The buggy address ffff800080b37b5f belongs to a vmalloc virtual mapping
[   19.255262] The buggy address belongs to the physical page:
[   19.255457] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1079d9
[   19.255530] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.255650] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.255913] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.256030] page dumped because: kasan: bad access detected
[   19.256161] 
[   19.256241] Memory state around the buggy address:
[   19.256362]  ffff800080b37a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.256476]  ffff800080b37a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.256529] >ffff800080b37b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   19.256719]                                                     ^
[   19.256921]  ffff800080b37b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   19.257048]  ffff800080b37c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   19.257156] ==================================================================

[   18.859013] ==================================================================
[   18.859487] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   18.859600] Read of size 1 at addr ffff800080ac7b5f by task kunit_try_catch/251
[   18.859682] 
[   18.859718] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.859827] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.859884] Hardware name: linux,dummy-virt (DT)
[   18.860133] Call trace:
[   18.860165]  show_stack+0x20/0x38 (C)
[   18.860238]  dump_stack_lvl+0x8c/0xd0
[   18.860433]  print_report+0x310/0x5d0
[   18.860526]  kasan_report+0xdc/0x128
[   18.860594]  __asan_report_load1_noabort+0x20/0x30
[   18.860803]  kasan_alloca_oob_left+0x2b8/0x310
[   18.860919]  kunit_try_run_case+0x170/0x3f0
[   18.861029]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.861125]  kthread+0x328/0x630
[   18.861227]  ret_from_fork+0x10/0x20
[   18.861368] 
[   18.861419] The buggy address belongs to stack of task kunit_try_catch/251
[   18.861511] 
[   18.861534] The buggy address ffff800080ac7b5f belongs to a vmalloc virtual mapping
[   18.861579] The buggy address belongs to the physical page:
[   18.861612] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10794b
[   18.861668] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.861733] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.861785] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.861828] page dumped because: kasan: bad access detected
[   18.861862] 
[   18.861882] Memory state around the buggy address:
[   18.861914]  ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.861960]  ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.862006] >ffff800080ac7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   18.862047]                                                     ^
[   18.862087]  ffff800080ac7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   18.862133]  ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.862175] ==================================================================

[   18.745767] ==================================================================
[   18.746092] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   18.746211] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/251
[   18.746266] 
[   18.746304] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.746404] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.746434] Hardware name: linux,dummy-virt (DT)
[   18.747200]  __asan_report_load1_noabort+0x20/0x30
[   18.748096] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106402
[   18.748678]  ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.757134]  __asan_report_load1_noabort+0x20/0x30
[   18.759093]                                               ^
[   18.769977]     not ok 60 kasan_memchr
[   18.774807]  dump_stack_lvl+0x8c/0xd0
[   18.778810]  ret_from_fork+0x10/0x20
[   18.779478] 
[   18.781255] page dumped because: kasan: bad access detected
[   18.781927] >fff00000c770ad00: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc
[   18.795275]     # kasan_strings: EXPECTATION FAILED at mm/kasan/kasan_test_c.c:1610
[   18.795275]     KASAN failure expected in \"kasan_ptr_result = strchr(ptr, '1')\", but none occurred
[   18.804787]  kthread+0x328/0x630
[   18.806462]  kasan_save_alloc_info+0x40/0x58
[   18.809434]  kasan_save_track+0x20/0x40
[   18.811054]  kthread+0x328/0x630
[   18.811822] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10770a
[   18.813761] page dumped because: kasan: bad access detected
[   18.817615] BUG: KASAN: slab-use-after-free in kasan_strings+0x95c/0xb00
[   18.818579]  kasan_strings+0x95c/0xb00
[   18.818624]  kunit_try_run_case+0x170/0x3f0
[   18.818747]  kthread+0x328/0x630
[   18.820023]  kasan_save_alloc_info+0x40/0x58
[   18.820121]  __kasan_kmalloc+0xd4/0xd8
[   18.820164]  __kmalloc_cache_noprof+0x16c/0x3c0
[   18.821579] The buggy address belongs to the object at fff00000c770aec0
[   18.821579]  which belongs to the cache kmalloc-32 of size 32
[   18.822154] page dumped because: kasan: bad access detected
[   18.826323]  fff00000c770af80: 00 00 00 fc fc fc fc fc fa fb fb fb fc fc fc fc
[   18.829055] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.829408] Hardware name: linux,dummy-virt (DT)
[   18.831245]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.833441]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.835014]  kunit_try_run_case+0x170/0x3f0
[   18.836867] The buggy address is located 16 bytes inside of
[   18.836867]  freed 32-byte region [fff00000c770aec0, fff00000c770aee0)
[   18.838375]  fff00000c770ae00: 00 00 00 fc fc fc fc fc 00 00 00 fc fc fc fc fc
[   18.840687] ==================================================================

[   13.906775] ==================================================================
[   13.907271] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   13.907699] Read of size 1 at addr ffff888103b57c3f by task kunit_try_catch/269
[   13.908244] 
[   13.908379] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   13.908444] Tainted: [B]=BAD_PAGE, [N]=TEST
[   13.908455] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   13.908479] Call Trace:
[   13.908493]  <TASK>
[   13.908511]  dump_stack_lvl+0x73/0xb0
[   13.908542]  print_report+0xd1/0x610
[   13.908564]  ? __virt_addr_valid+0x1db/0x2d0
[   13.908587]  ? kasan_alloca_oob_left+0x320/0x380
[   13.908610]  ? kasan_addr_to_slab+0x11/0xa0
[   13.908631]  ? kasan_alloca_oob_left+0x320/0x380
[   13.908654]  kasan_report+0x141/0x180
[   13.908676]  ? kasan_alloca_oob_left+0x320/0x380
[   13.908704]  __asan_report_load1_noabort+0x18/0x20
[   13.908728]  kasan_alloca_oob_left+0x320/0x380
[   13.908752]  ? irqentry_exit+0x2a/0x60
[   13.908773]  ? sysvec_apic_timer_interrupt+0x50/0x90
[   13.908798]  ? trace_hardirqs_on+0x37/0xe0
[   13.908825]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   13.908853]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   13.908881]  kunit_try_run_case+0x1a5/0x480
[   13.908906]  ? __pfx_kunit_try_run_case+0x10/0x10
[   13.908927]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   13.908952]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   13.908975]  ? __kthread_parkme+0x82/0x180
[   13.908996]  ? preempt_count_sub+0x50/0x80
[   13.909020]  ? __pfx_kunit_try_run_case+0x10/0x10
[   13.909044]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   13.909068]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   13.909092]  kthread+0x337/0x6f0
[   13.909111]  ? trace_preempt_on+0x20/0xc0
[   13.909138]  ? __pfx_kthread+0x10/0x10
[   13.909160]  ? _raw_spin_unlock_irq+0x47/0x80
[   13.909181]  ? calculate_sigpending+0x7b/0xa0
[   13.909218]  ? __pfx_kthread+0x10/0x10
[   13.909239]  ret_from_fork+0x116/0x1d0
[   13.909258]  ? __pfx_kthread+0x10/0x10
[   13.909278]  ret_from_fork_asm+0x1a/0x30
[   13.909311]  </TASK>
[   13.909321] 
[   13.924178] The buggy address belongs to stack of task kunit_try_catch/269
[   13.924708] 
[   13.924784] The buggy address belongs to the physical page:
[   13.924960] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b57
[   13.925208] flags: 0x200000000000000(node=0|zone=2)
[   13.925389] raw: 0200000000000000 ffffea00040ed5c8 ffffea00040ed5c8 0000000000000000
[   13.925709] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   13.926017] page dumped because: kasan: bad access detected
[   13.926262] 
[   13.926375] Memory state around the buggy address:
[   13.926789]  ffff888103b57b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   13.927025]  ffff888103b57b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   13.927374] >ffff888103b57c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   13.927754]                                         ^
[   13.927983]  ffff888103b57c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   13.928467]  ffff888103b57d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   13.928758] ==================================================================

[   14.162819] ==================================================================
[   14.164414] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   14.164735] Read of size 1 at addr ffff888103a17c3f by task kunit_try_catch/268
[   14.164968] 
[   14.165093] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   14.165147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.165159] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.165184] Call Trace:
[   14.165203]  <TASK>
[   14.165225]  dump_stack_lvl+0x73/0xb0
[   14.165256]  print_report+0xd1/0x610
[   14.165280]  ? __virt_addr_valid+0x1db/0x2d0
[   14.165303]  ? kasan_alloca_oob_left+0x320/0x380
[   14.165324]  ? kasan_addr_to_slab+0x11/0xa0
[   14.165344]  ? kasan_alloca_oob_left+0x320/0x380
[   14.165366]  kasan_report+0x141/0x180
[   14.165386]  ? kasan_alloca_oob_left+0x320/0x380
[   14.165412]  __asan_report_load1_noabort+0x18/0x20
[   14.165437]  kasan_alloca_oob_left+0x320/0x380
[   14.165460]  ? finish_task_switch.isra.0+0x153/0x700
[   14.165482]  ? __schedule+0x100e/0x2b60
[   14.165504]  ? trace_hardirqs_on+0x37/0xe0
[   14.165529]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   14.165553]  ? __schedule+0x10cc/0x2b60
[   14.165572]  ? __pfx_read_tsc+0x10/0x10
[   14.165593]  ? ktime_get_ts64+0x86/0x230
[   14.165616]  kunit_try_run_case+0x1a5/0x480
[   14.165640]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.165661]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.165684]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.165706]  ? __kthread_parkme+0x82/0x180
[   14.165726]  ? preempt_count_sub+0x50/0x80
[   14.165749]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.165771]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.165793]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.165815]  kthread+0x337/0x6f0
[   14.165833]  ? trace_preempt_on+0x20/0xc0
[   14.165853]  ? __pfx_kthread+0x10/0x10
[   14.165873]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.165893]  ? calculate_sigpending+0x7b/0xa0
[   14.165917]  ? __pfx_kthread+0x10/0x10
[   14.165938]  ret_from_fork+0x116/0x1d0
[   14.165955]  ? __pfx_kthread+0x10/0x10
[   14.165975]  ret_from_fork_asm+0x1a/0x30
[   14.166006]  </TASK>
[   14.167067] 
[   14.180431] The buggy address belongs to stack of task kunit_try_catch/268
[   14.180798] 
[   14.180903] The buggy address belongs to the physical page:
[   14.181176] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a17
[   14.182137] flags: 0x200000000000000(node=0|zone=2)
[   14.182357] raw: 0200000000000000 ffffea00040e85c8 ffffea00040e85c8 0000000000000000
[   14.183364] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.184230] page dumped because: kasan: bad access detected
[   14.184701] 
[   14.184949] Memory state around the buggy address:
[   14.185452]  ffff888103a17b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.185766]  ffff888103a17b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.186063] >ffff888103a17c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.186354]                                         ^
[   14.186868]  ffff888103a17c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.187143]  ffff888103a17d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.187602] ==================================================================

[   14.019993] ==================================================================
[   14.020486] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   14.020909] Read of size 1 at addr ffff888103b1fc3f by task kunit_try_catch/268
[   14.021247] 
[   14.021423] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   14.021469] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.021480] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.021503] Call Trace:
[   14.021514]  <TASK>
[   14.021529]  dump_stack_lvl+0x73/0xb0
[   14.021559]  print_report+0xd1/0x610
[   14.021594]  ? __virt_addr_valid+0x1db/0x2d0
[   14.021618]  ? kasan_alloca_oob_left+0x320/0x380
[   14.021640]  ? kasan_addr_to_slab+0x11/0xa0
[   14.021672]  ? kasan_alloca_oob_left+0x320/0x380
[   14.021704]  kasan_report+0x141/0x180
[   14.021726]  ? kasan_alloca_oob_left+0x320/0x380
[   14.021766]  __asan_report_load1_noabort+0x18/0x20
[   14.021791]  kasan_alloca_oob_left+0x320/0x380
[   14.021816]  ? finish_task_switch.isra.0+0x153/0x700
[   14.021841]  ? __schedule+0x100e/0x2b60
[   14.021863]  ? trace_hardirqs_on+0x37/0xe0
[   14.021889]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   14.021922]  ? __kasan_check_write+0x18/0x20
[   14.021950]  ? queued_spin_lock_slowpath+0x116/0xb40
[   14.021978]  ? trace_hardirqs_on+0x37/0xe0
[   14.021999]  ? __pfx_read_tsc+0x10/0x10
[   14.022032]  ? ktime_get_ts64+0x86/0x230
[   14.022065]  kunit_try_run_case+0x1a5/0x480
[   14.022091]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.022116]  ? queued_spin_lock_slowpath+0x116/0xb40
[   14.022139]  ? __kthread_parkme+0x82/0x180
[   14.022170]  ? preempt_count_sub+0x50/0x80
[   14.022194]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.022218]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.022253]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.022277]  kthread+0x337/0x6f0
[   14.022298]  ? trace_preempt_on+0x20/0xc0
[   14.022320]  ? __pfx_kthread+0x10/0x10
[   14.022340]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.022361]  ? calculate_sigpending+0x7b/0xa0
[   14.022387]  ? __pfx_kthread+0x10/0x10
[   14.022408]  ret_from_fork+0x116/0x1d0
[   14.022427]  ? __pfx_kthread+0x10/0x10
[   14.022449]  ret_from_fork_asm+0x1a/0x30
[   14.022482]  </TASK>
[   14.022493] 
[   14.030502] The buggy address belongs to stack of task kunit_try_catch/268
[   14.030731] 
[   14.030808] The buggy address belongs to the physical page:
[   14.030995] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b1f
[   14.031355] flags: 0x200000000000000(node=0|zone=2)
[   14.031625] raw: 0200000000000000 ffffea00040ec7c8 ffffea00040ec7c8 0000000000000000
[   14.031925] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.032152] page dumped because: kasan: bad access detected
[   14.032474] 
[   14.032638] Memory state around the buggy address:
[   14.032889]  ffff888103b1fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.033214]  ffff888103b1fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.033525] >ffff888103b1fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.033750]                                         ^
[   14.033920]  ffff888103b1fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.034136]  ffff888103b1fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.034603] ==================================================================