Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64

[   27.313818] ==================================================================
[   27.315084] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x50c/0x5b0
[   27.316375] Read of size 1 at addr ffff8000801097f8 by task kunit_try_catch/257
[   27.317706] 
[   27.318006] CPU: 1 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.318187] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.318253] Hardware name: linux,dummy-virt (DT)
[   27.318330] Call trace:
[   27.318390]  dump_backtrace+0x9c/0x128
[   27.318512]  show_stack+0x20/0x38
[   27.318646]  dump_stack_lvl+0x8c/0xd0
[   27.318800]  print_report+0x310/0x5f0
[   27.318935]  kasan_report+0xdc/0x128
[   27.319092]  __asan_report_load1_noabort+0x20/0x30
[   27.319183]  vmalloc_oob+0x50c/0x5b0
[   27.319235]  kunit_try_run_case+0x170/0x3f0
[   27.319309]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.319391]  kthread+0x24c/0x2d0
[   27.319440]  ret_from_fork+0x10/0x20
[   27.319491] 
[   27.325789] The buggy address belongs to the virtual mapping at
[   27.325789]  [ffff800080109000, ffff80008010b000) created by:
[   27.325789]  vmalloc_oob+0x98/0x5b0
[   27.327362] 
[   27.327780] The buggy address belongs to the physical page:
[   27.328394] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10428a
[   27.329389] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   27.330123] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   27.331114] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   27.331892] page dumped because: kasan: bad access detected
[   27.332649] 
[   27.333054] Memory state around the buggy address:
[   27.333664]  ffff800080109680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   27.334442]  ffff800080109700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   27.335460] >ffff800080109780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   27.336191]                                                                 ^
[   27.337033]  ffff800080109800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   27.337782]  ffff800080109880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   27.338440] ==================================================================
[   27.288189] ==================================================================
[   27.289656] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x560/0x5b0
[   27.290488] Read of size 1 at addr ffff8000801097f3 by task kunit_try_catch/257
[   27.291134] 
[   27.292415] CPU: 1 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.292525] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.292561] Hardware name: linux,dummy-virt (DT)
[   27.292603] Call trace:
[   27.292633]  dump_backtrace+0x9c/0x128
[   27.292692]  show_stack+0x20/0x38
[   27.292738]  dump_stack_lvl+0x8c/0xd0
[   27.292806]  print_report+0x310/0x5f0
[   27.292856]  kasan_report+0xdc/0x128
[   27.292902]  __asan_report_load1_noabort+0x20/0x30
[   27.292955]  vmalloc_oob+0x560/0x5b0
[   27.293036]  kunit_try_run_case+0x170/0x3f0
[   27.293093]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.293152]  kthread+0x24c/0x2d0
[   27.293202]  ret_from_fork+0x10/0x20
[   27.293252] 
[   27.300702] The buggy address belongs to the virtual mapping at
[   27.300702]  [ffff800080109000, ffff80008010b000) created by:
[   27.300702]  vmalloc_oob+0x98/0x5b0
[   27.302218] 
[   27.302635] The buggy address belongs to the physical page:
[   27.303275] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10428a
[   27.304574] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   27.305395] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   27.306225] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   27.307026] page dumped because: kasan: bad access detected
[   27.307784] 
[   27.308284] Memory state around the buggy address:
[   27.309415]  ffff800080109680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   27.309999]  ffff800080109700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   27.310327] >ffff800080109780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   27.310639]                                                              ^
[   27.310941]  ffff800080109800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   27.311284]  ffff800080109880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   27.312317] ==================================================================